/lk-master/lib/libc/ |
A D | ctype.c | 11 return (c == ' ' || c == '\t'); in isblank() 15 return (c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v'); in isspace() 19 return ((c >= 'a') && (c <= 'z')); in islower() 23 return ((c >= 'A') && (c <= 'Z')); in isupper() 27 return ((c >= '0') && (c <= '9')); in isdigit() 31 return isupper(c) || islower(c); in isalpha() 35 return isalpha(c) || isdigit(c); in isalnum() 39 return isdigit(c) || ((c >= 'a') && (c <= 'f')) || ((c >= 'A') && (c <= 'F')); in isxdigit() 43 return ((c > ' ') && (c < 0x7f)); in isgraph() 59 if ((c >= 'A') && (c <= 'Z')) in tolower() [all …]
|
A D | strtol.c | 47 int c; in strtol() local 58 } while (isspace(c)); in strtol() 59 if (c == '-') { in strtol() 61 c = *s++; in strtol() 64 if (c == '+') in strtol() 65 c = *s++; in strtol() 69 c = s[1]; in strtol() 104 if (isdigit(c)) in strtol() 105 c -= '0'; in strtol() 107 c -= isupper(c) ? 'A' - 10 : 'a' - 10; in strtol() [all …]
|
A D | strtoll.c | 48 int c; in strtoll() local 59 } while (isspace(c)); in strtoll() 60 if (c == '-') { in strtoll() 62 c = *s++; in strtoll() 65 if (c == '+') in strtoll() 66 c = *s++; in strtoll() 70 c = s[1]; in strtoll() 106 if (isdigit(c)) in strtoll() 107 c -= '0'; in strtoll() 109 c -= isupper(c) ? 'A' - 10 : 'a' - 10; in strtoll() [all …]
|
A D | atoi.c | 19 static int hexval(char c) { in hexval() argument 20 if (c >= '0' && c <= '9') in hexval() 21 return c - '0'; in hexval() 22 else if (c >= 'a' && c <= 'f') in hexval() 23 return c - 'a' + 10; in hexval() 24 else if (c >= 'A' && c <= 'F') in hexval() 134 char c = *nptr; in strtoul() local 138 if (c >= 'A' && c <= 'Z') { in strtoul() 140 } else if (c >= 'a' && c <= 'z') { in strtoul() 142 } else if (c >= '0' && c <= '9') { in strtoul() [all …]
|
A D | rules.mk | 10 $(LOCAL_DIR)/abort.c \ 11 $(LOCAL_DIR)/atexit.c \ 12 $(LOCAL_DIR)/atoi.c \ 13 $(LOCAL_DIR)/bsearch.c \ 14 $(LOCAL_DIR)/ctype.c \ 15 $(LOCAL_DIR)/errno.c \ 16 $(LOCAL_DIR)/printf.c \ 17 $(LOCAL_DIR)/rand.c \ 20 $(LOCAL_DIR)/stdio.c \ 21 $(LOCAL_DIR)/qsort.c \ [all …]
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
A D | rules.mk | 8 $(LOCAL_DIR)/stm32f0xx_hal_adc.c \ 9 $(LOCAL_DIR)/stm32f0xx_hal_adc_ex.c \ 10 $(LOCAL_DIR)/stm32f0xx_hal_can.c \ 11 $(LOCAL_DIR)/stm32f0xx_hal_cec.c \ 12 $(LOCAL_DIR)/stm32f0xx_hal_comp.c \ 14 $(LOCAL_DIR)/stm32f0xx_hal_crc.c \ 16 $(LOCAL_DIR)/stm32f0xx_hal_dac.c \ 18 $(LOCAL_DIR)/stm32f0xx_hal_dma.c \ 22 $(LOCAL_DIR)/stm32f0xx_hal_i2c.c \ 24 $(LOCAL_DIR)/stm32f0xx_hal_i2s.c \ [all …]
|
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/ |
A D | rules.mk | 8 $(LOCAL_DIR)/lk_hal.c \ 10 $(LOCAL_DIR)/Src/stm32f7xx_hal.c \ 11 $(LOCAL_DIR)/Src/stm32f7xx_hal_adc.c \ 12 $(LOCAL_DIR)/Src/stm32f7xx_hal_adc_ex.c \ 13 $(LOCAL_DIR)/Src/stm32f7xx_hal_can.c \ 14 $(LOCAL_DIR)/Src/stm32f7xx_hal_cec.c \ 16 $(LOCAL_DIR)/Src/stm32f7xx_hal_crc.c \ 18 $(LOCAL_DIR)/Src/stm32f7xx_hal_cryp.c \ 20 $(LOCAL_DIR)/Src/stm32f7xx_hal_dac.c \ 24 $(LOCAL_DIR)/Src/stm32f7xx_hal_dma.c \ [all …]
|
/lk-master/external/lib/libm/ |
A D | rules.mk | 8 $(LOCAL_DIR)/k_sin.c \ 9 $(LOCAL_DIR)/s_sin.c \ 10 $(LOCAL_DIR)/s_sinf.c \ 11 $(LOCAL_DIR)/k_cos.c \ 12 $(LOCAL_DIR)/s_cos.c \ 13 $(LOCAL_DIR)/s_cosf.c \ 14 $(LOCAL_DIR)/k_tan.c \ 15 $(LOCAL_DIR)/s_tan.c \ 16 $(LOCAL_DIR)/s_tanf.c \ 17 $(LOCAL_DIR)/e_sqrt.c \ [all …]
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/ |
A D | rules.mk | 8 $(LOCAL_DIR)/src/misc.c \ 9 $(LOCAL_DIR)/src/stm32f4xx_adc.c \ 10 $(LOCAL_DIR)/src/stm32f4xx_can.c \ 11 $(LOCAL_DIR)/src/stm32f4xx_cec.c \ 12 $(LOCAL_DIR)/src/stm32f4xx_crc.c \ 14 $(LOCAL_DIR)/src/stm32f4xx_cryp.c \ 17 $(LOCAL_DIR)/src/stm32f4xx_dac.c \ 19 $(LOCAL_DIR)/src/stm32f4xx_dcmi.c \ 21 $(LOCAL_DIR)/src/stm32f4xx_dma.c \ 22 $(LOCAL_DIR)/src/stm32f4xx_exti.c \ [all …]
|
/lk-master/external/lib/lwip/ |
A D | rules.mk | 10 $(LOCAL_DIR)/sys_arch.c \ 11 $(LOCAL_DIR)/cmd.c \ 12 $(LOCAL_DIR)/netif.c \ 13 $(LOCAL_DIR)/api/api_lib.c \ 15 $(LOCAL_DIR)/api/err.c \ 16 $(LOCAL_DIR)/api/netbuf.c \ 19 $(LOCAL_DIR)/api/tcpip.c \ 20 $(LOCAL_DIR)/core/def.c \ 22 $(LOCAL_DIR)/core/dns.c \ 24 $(LOCAL_DIR)/core/mem.c \ [all …]
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/ |
A D | rules.mk | 8 $(LOCAL_DIR)/src/system_stm32f2xx.c \ 9 $(LOCAL_DIR)/src/stm32f2xx_dma.c \ 10 $(LOCAL_DIR)/src/stm32f2xx_dbgmcu.c \ 11 $(LOCAL_DIR)/src/stm32f2xx_flash.c \ 12 $(LOCAL_DIR)/src/stm32f2xx_spi.c \ 13 $(LOCAL_DIR)/src/stm32f2xx_dcmi.c \ 14 $(LOCAL_DIR)/src/stm32f2xx_adc.c \ 15 $(LOCAL_DIR)/src/stm32f2xx_iwdg.c \ 16 $(LOCAL_DIR)/src/stm32f2xx_fsmc.c \ 17 $(LOCAL_DIR)/src/stm32f2xx_crc.c \ [all …]
|
/lk-master/external/platform/stellaris/ti-driverlib/ |
A D | rules.mk | 11 $(LOCAL_DIR)/driverlib/adc.c \ 12 $(LOCAL_DIR)/driverlib/can.c \ 13 $(LOCAL_DIR)/driverlib/comp.c \ 14 $(LOCAL_DIR)/driverlib/cpu.c \ 16 $(LOCAL_DIR)/driverlib/epi.c \ 18 $(LOCAL_DIR)/driverlib/fan.c \ 20 $(LOCAL_DIR)/driverlib/fpu.c \ 23 $(LOCAL_DIR)/driverlib/i2c.c \ 24 $(LOCAL_DIR)/driverlib/i2s.c \ 26 $(LOCAL_DIR)/driverlib/lpc.c \ [all …]
|
/lk-master/external/lib/lwip/core/ipv4/ |
A D | ip_addr.c | 114 #define in_range(c, lo, up) ((u8_t)c >= lo && (u8_t)c <= up) argument 115 #define isprint(c) in_range(c, 0x20, 0x7f) argument 116 #define isdigit(c) in_range(c, '0', '9') argument 117 #define isxdigit(c) (isdigit(c) || in_range(c, 'a', 'f') || in_range(c, 'A', 'F')) argument 118 #define islower(c) in_range(c, 'a', 'z') argument 119 #define isspace(c) (c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == … argument 156 char c; in ipaddr_aton() local 160 c = *cp; in ipaddr_aton() 172 c = *++cp; in ipaddr_aton() 173 if (c == 'x' || c == 'X') { in ipaddr_aton() [all …]
|
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/ |
A D | rules.mk | 8 $(LOCAL_DIR)/src/misc.c \ 9 $(LOCAL_DIR)/src/stm32f10x_adc.c \ 10 $(LOCAL_DIR)/src/stm32f10x_bkp.c \ 11 $(LOCAL_DIR)/src/stm32f10x_can.c \ 12 $(LOCAL_DIR)/src/stm32f10x_cec.c \ 13 $(LOCAL_DIR)/src/stm32f10x_crc.c \ 14 $(LOCAL_DIR)/src/stm32f10x_dac.c \ 16 $(LOCAL_DIR)/src/stm32f10x_dma.c \ 17 $(LOCAL_DIR)/src/stm32f10x_exti.c \ 21 $(LOCAL_DIR)/src/stm32f10x_i2c.c \ [all …]
|
/lk-master/external/platform/lpc15xx/lpcopen/ |
A D | rules.mk | 10 $(LOCAL_DIR)/lpc_chip_15xx/src/acmp_15xx.c \ 11 $(LOCAL_DIR)/lpc_chip_15xx/src/adc_15xx.c \ 12 $(LOCAL_DIR)/lpc_chip_15xx/src/chip_15xx.c \ 13 $(LOCAL_DIR)/lpc_chip_15xx/src/clock_15xx.c \ 14 $(LOCAL_DIR)/lpc_chip_15xx/src/crc_15xx.c \ 15 $(LOCAL_DIR)/lpc_chip_15xx/src/dac_15xx.c \ 16 $(LOCAL_DIR)/lpc_chip_15xx/src/dma_15xx.c \ 17 $(LOCAL_DIR)/lpc_chip_15xx/src/eeprom.c \ 18 $(LOCAL_DIR)/lpc_chip_15xx/src/gpio_15xx.c \ 22 $(LOCAL_DIR)/lpc_chip_15xx/src/iap.c \ [all …]
|
/lk-master/external/lib/cksum/ |
A D | crc32.c | 115 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table() 126 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table() 243 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \ 257 c = ~c; 259 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8); 275 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8); 277 c = ~c; 297 c = ~c; 299 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8); 317 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8); [all …]
|
/lk-master/external/platform/pico/rp2_common/hardware_dma/include/hardware/ |
A D | dma.h | 129 …c->ctrl = incr ? (c->ctrl | DMA_CH0_CTRL_TRIG_INCR_READ_BITS) : (c->ctrl & ~DMA_CH0_CTRL_TRIG_INCR… in channel_config_set_read_increment() 141 …c->ctrl = incr ? (c->ctrl | DMA_CH0_CTRL_TRIG_INCR_WRITE_BITS) : (c->ctrl & ~DMA_CH0_CTRL_TRIG_INC… in channel_config_set_write_increment() 209 c->ctrl = (c->ctrl & ~(DMA_CH0_CTRL_TRIG_RING_SIZE_BITS | DMA_CH0_CTRL_TRIG_RING_SEL_BITS)) | in channel_config_set_ring() 224 …c->ctrl = bswap ? (c->ctrl | DMA_CH0_CTRL_TRIG_BSWAP_BITS) : (c->ctrl & ~DMA_CH0_CTRL_TRIG_BSWAP_B… in channel_config_set_bswap() 238 …c->ctrl = irq_quiet ? (c->ctrl | DMA_CH0_CTRL_TRIG_IRQ_QUIET_BITS) : (c->ctrl & ~DMA_CH0_CTRL_TRIG… in channel_config_set_irq_quiet() 253 … c->ctrl = enable ? (c->ctrl | DMA_CH0_CTRL_TRIG_EN_BITS) : (c->ctrl & ~DMA_CH0_CTRL_TRIG_EN_BITS); in channel_config_set_enable() 265 c->ctrl = sniff_enable ? (c->ctrl | DMA_CH0_CTRL_TRIG_SNIFF_EN_BITS) : (c->ctrl & in channel_config_set_sniff_enable() 289 dma_channel_config c = {0}; in dma_channel_get_default_config() local 300 return c; in dma_channel_get_default_config() 310 dma_channel_config c; in dma_get_channel_config() local [all …]
|
/lk-master/lib/libc/include/ |
A D | ctype.h | 14 int isalnum(int c); 15 int isalpha(int c); 16 int isblank(int c); 17 int iscntrl(int c); 18 int isdigit(int c); 19 int isgraph(int c); 20 int islower(int c); 21 int isprint(int c); 22 int ispunct(int c); 23 int isspace(int c); [all …]
|
A D | stdint.h | 113 #define INT8_C(c) (c) argument 114 #define INT16_C(c) (c) argument 115 #define INT32_C(c) (c) argument 116 #define INT64_C(c) (c ## LL) argument 118 #define UINT8_C(c) (c) argument 119 #define UINT16_C(c) (c) argument 120 #define UINT32_C(c) (c ## U) argument 121 #define UINT64_C(c) (c ## ULL) argument 123 #define INTMAX_C(c) INT64_C(c) argument 124 #define UINTMAX_C(c) UINT64_C(c) argument
|
/lk-master/external/lib/lwip/netif/ppp/ |
A D | md5.c | 83 #define FF(a, b, c, d, x, s, ac) \ argument 84 {(a) += F ((b), (c), (d)) + (x) + (u32_t)(ac); \ 88 #define GG(a, b, c, d, x, s, ac) \ argument 89 {(a) += G ((b), (c), (d)) + (x) + (u32_t)(ac); \ 93 #define HH(a, b, c, d, x, s, ac) \ argument 94 {(a) += H ((b), (c), (d)) + (x) + (u32_t)(ac); \ 98 #define II(a, b, c, d, x, s, ac) \ argument 99 {(a) += I ((b), (c), (d)) + (x) + (u32_t)(ac); \ 222 u32_t a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in Transform() local 229 FF ( a, b, c, d, in[ 0], S11, UL(3614090360)); /* 1 */ in Transform() [all …]
|
/lk-master/external/platform/pico/rp2_common/hardware_interp/include/hardware/ |
A D | interp.h | 100 c->ctrl = (c->ctrl & ~SIO_INTERP0_CTRL_LANE0_SHIFT_BITS) | in interp_config_set_shift() 116 …c->ctrl = (c->ctrl & ~(SIO_INTERP0_CTRL_LANE0_MASK_LSB_BITS | SIO_INTERP0_CTRL_LANE0_MASK_MSB_BITS… in interp_config_set_mask() 132 c->ctrl = (c->ctrl & ~SIO_INTERP0_CTRL_LANE0_CROSS_INPUT_BITS) | in interp_config_set_cross_input() 145 c->ctrl = (c->ctrl & ~SIO_INTERP0_CTRL_LANE0_CROSS_RESULT_BITS) | in interp_config_set_cross_result() 159 c->ctrl = (c->ctrl & ~SIO_INTERP0_CTRL_LANE0_SIGNED_BITS) | in interp_config_set_signed() 172 c->ctrl = (c->ctrl & ~SIO_INTERP0_CTRL_LANE0_ADD_RAW_BITS) | in interp_config_set_add_raw() 192 c->ctrl = (c->ctrl & ~SIO_INTERP0_CTRL_LANE0_BLEND_BITS) | in interp_config_set_blend() 207 c->ctrl = (c->ctrl & ~SIO_INTERP1_CTRL_LANE0_CLAMP_BITS) | in interp_config_set_clamp() 225 c->ctrl = (c->ctrl & ~SIO_INTERP0_CTRL_LANE0_FORCE_MSB_BITS) | in interp_config_set_force_bits() 235 interp_config c = {0}; in interp_default_config() local [all …]
|
/lk-master/platform/qemu-mips/ |
A D | debug.c | 26 unsigned char c; in uart_irq_handler() local 60 int uart_putc(int port, char c) { in uart_putc() argument 63 isa_write_8(uart_io_port + 0, c); in uart_putc() 68 char c; in uart_getc() local 70 return c; in uart_getc() 76 void platform_dputc(char c) { in platform_dputc() argument 77 if (c == '\n') in platform_dputc() 80 cputc(c); in platform_dputc() 82 uart_putc(0, c); in platform_dputc() 88 int ret = platform_read_key(c); in platform_dgetc() [all …]
|
/lk-master/platform/qemu-virt-m68k/ |
A D | goldfish_tty.c | 64 char c = transfer_buf[0]; in uart_irq_handler() local 93 void uart_putc(char c) { in uart_putc() argument 94 write_reg(REG_PUT_CHAR, c); in uart_putc() 97 int uart_getc(char *c, bool wait) { in uart_getc() argument 105 void platform_dputc(char c) { in platform_dputc() argument 106 if (c == '\n') in platform_dputc() 108 uart_putc(c); in platform_dputc() 112 int ret = uart_getc(c, wait); in platform_dgetc() 118 void platform_pputc(char c) { in platform_pputc() argument 119 return uart_putc(c); in platform_pputc() [all …]
|
/lk-master/platform/qemu-virt-riscv/ |
A D | uart.c | 37 unsigned char c; in uart_irq_handler() local 41 c = uart_read_8(0); in uart_irq_handler() 60 static void uart_putc(char c) { in uart_putc() argument 63 uart_write_8(0, c); in uart_putc() 70 void platform_dputc(char c) { in platform_dputc() argument 71 if (c == '\n') in platform_dputc() 73 uart_putc(c); in platform_dputc() 76 int platform_dgetc(char *c, bool wait) { in platform_dgetc() argument 77 int ret = uart_getc(c, wait); in platform_dgetc() 83 int platform_pgetc(char *c, bool wait) { in platform_pgetc() argument [all …]
|
/lk-master/app/tests/ |
A D | rules.mk | 6 $(LOCAL_DIR)/benchmarks.c \ 7 $(LOCAL_DIR)/cache_tests.c \ 8 $(LOCAL_DIR)/cbuf_tests.c \ 9 $(LOCAL_DIR)/clock_tests.c \ 10 $(LOCAL_DIR)/fibo.c \ 11 $(LOCAL_DIR)/float.c \ 14 $(LOCAL_DIR)/mem_tests.c \ 15 $(LOCAL_DIR)/printf_tests.c \ 16 $(LOCAL_DIR)/tests.c \ 17 $(LOCAL_DIR)/thread_tests.c \ [all …]
|