Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/Zephyr-latest/lib/libc/minimal/include/
Dctype.h21 static inline int isalpha(int c) in isalpha()
26 static inline int isspace(int c) in isspace()
31 static inline int isgraph(int c) in isgraph()
37 static inline int isprint(int c) in isprint()
72 static inline int iscntrl(int c) in iscntrl()
Dstdio.h64 #define putc(c, stream) fputc(c, stream) argument
65 #define putchar(c) putc(c, stdout) argument
/Zephyr-latest/subsys/net/lib/http/
Dhttp_parser_url.c111 #define LOWER(c) (unsigned char)(c | 0x20) argument
112 #define IS_ALPHA(c) (LOWER(c) >= 'a' && LOWER(c) <= 'z') argument
113 #define IS_NUM(c) ((c) >= '0' && (c) <= '9') argument
114 #define IS_ALPHANUM(c) (IS_ALPHA(c) || IS_NUM(c)) argument
115 #define IS_HEX(c) (IS_NUM(c) || (LOWER(c) >= 'a' && LOWER(c) <= 'f')) argument
117 #define IS_MARK(c) ((c) == '-' || (c) == '_' || (c) == '.' || \ argument
121 #define IS_USERINFO_CHAR(c) (IS_ALPHANUM(c) || IS_MARK(c) || (c) == '%' || \ argument
127 #define IS_URL_CHAR(c) (BIT_AT(normal_url_char, (unsigned char)c)) argument
128 #define IS_HOST_CHAR(c) (IS_ALPHANUM(c) || (c) == '.' || (c) == '-') argument
130 #define IS_URL_CHAR(c) \ argument
[all …]
Dhttp_parser.c265 #define LOWER(c) (unsigned char)(c | 0x20) argument
266 #define IS_ALPHA(c) (LOWER(c) >= 'a' && LOWER(c) <= 'z') argument
267 #define IS_NUM(c) ((c) >= '0' && (c) <= '9') argument
268 #define IS_ALPHANUM(c) (IS_ALPHA(c) || IS_NUM(c)) argument
269 #define IS_HEX(c) (IS_NUM(c) || (LOWER(c) >= 'a' && LOWER(c) <= 'f')) argument
271 #define IS_MARK(c) ((c) == '-' || (c) == '_' || (c) == '.' || \ argument
275 #define IS_USERINFO_CHAR(c) (IS_ALPHANUM(c) || IS_MARK(c) || (c) == '%' || \ argument
280 #define STRICT_TOKEN(c) (tokens[(unsigned char)c]) argument
283 #define TOKEN(c) (tokens[(unsigned char)c]) argument
284 #define IS_HOST_CHAR(c) (IS_ALPHANUM(c) || (c) == '.' || (c) == '-') argument
[all …]
/Zephyr-latest/lib/libc/minimal/source/stdout/
Dstdout_console.c14 static int _stdout_hook_default(int c) in _stdout_hook_default()
23 void __stdout_hook_install(int (*hook)(int c)) in __stdout_hook_install()
28 int z_impl_zephyr_fputc(int c, FILE *stream) in z_impl_zephyr_fputc()
34 static inline int z_vrfy_zephyr_fputc(int c, FILE *stream) in z_vrfy_zephyr_fputc()
41 int fputc(int c, FILE *stream) in fputc()
57 int putc(int c, FILE *stream) in putc()
63 int putchar(int c) in putchar()
/Zephyr-latest/lib/heap/
Dheap.h107 static inline chunkid_t chunk_field(struct z_heap *h, chunkid_t c, in chunk_field()
120 static inline void chunk_set(struct z_heap *h, chunkid_t c, in chunk_set()
137 static inline bool chunk_used(struct z_heap *h, chunkid_t c) in chunk_used()
142 static inline chunksz_t chunk_size(struct z_heap *h, chunkid_t c) in chunk_size()
147 static inline void set_chunk_used(struct z_heap *h, chunkid_t c, bool used) in set_chunk_used()
172 static inline void set_chunk_size(struct z_heap *h, chunkid_t c, chunksz_t size) in set_chunk_size()
177 static inline chunkid_t prev_free_chunk(struct z_heap *h, chunkid_t c) in prev_free_chunk()
182 static inline chunkid_t next_free_chunk(struct z_heap *h, chunkid_t c) in next_free_chunk()
187 static inline void set_prev_free_chunk(struct z_heap *h, chunkid_t c, in set_prev_free_chunk()
193 static inline void set_next_free_chunk(struct z_heap *h, chunkid_t c, in set_next_free_chunk()
[all …]
Dheap.c24 static void *chunk_mem(struct z_heap *h, chunkid_t c) in chunk_mem()
34 static void free_list_remove_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_remove_bidx()
60 static void free_list_remove(struct z_heap *h, chunkid_t c) in free_list_remove()
68 static void free_list_add_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_add_bidx()
98 static void free_list_add(struct z_heap *h, chunkid_t c) in free_list_add()
133 static void free_chunk(struct z_heap *h, chunkid_t c) in free_chunk()
169 chunkid_t c = mem_to_chunkid(h, mem); in sys_heap_free() local
203 chunkid_t c = mem_to_chunkid(h, mem); in sys_heap_usable_size() local
236 chunkid_t c = b->next; in alloc_chunk() local
253 chunkid_t c = h->buckets[minbucket].next; in alloc_chunk() local
[all …]
Dheap_validate.c23 static bool in_bounds(struct z_heap *h, chunkid_t c) in in_bounds()
31 static bool valid_chunk(struct z_heap *h, chunkid_t c) in valid_chunk()
74 chunkid_t c; in sys_heap_validate() local
/Zephyr-latest/include/zephyr/toolchain/
Dzephyr_stdint.h74 #define __INT32_C(c) c argument
75 #define __UINT32_C(c) c ## U argument
76 #define __INT64_C(c) c ## LL argument
77 #define __UINT64_C(c) c ## ULL argument
/Zephyr-latest/lib/libc/armstdc/src/
Dlibc-hooks.c10 static int _stdout_hook_default(int c) in _stdout_hook_default()
29 int fputc(int c, FILE *f) in fputc()
/Zephyr-latest/drivers/serial/
Duart_hvc_xen_consoleio.c23 unsigned char *c) in xen_consoleio_poll_in()
39 unsigned char c) in xen_consoleio_poll_out()
Duart_ql_usbserialport_s3b.c52 static void uart_usbserial_poll_out(const struct device *dev, unsigned char c) in uart_usbserial_poll_out()
69 static int uart_usbserial_poll_in(const struct device *dev, unsigned char *c) in uart_usbserial_poll_in()
/Zephyr-latest/include/zephyr/sys/
Dmath_extras_impl.h54 uint16_t c = a + b; in u16_add_overflow() local
63 uint32_t c = a + b; in u32_add_overflow() local
72 uint64_t c = a + b; in u64_add_overflow() local
81 size_t c = a + b; in size_add_overflow() local
112 uint16_t c = a * b; in u16_mul_overflow() local
121 uint32_t c = a * b; in u32_mul_overflow() local
130 uint64_t c = a * b; in u64_mul_overflow() local
139 size_t c = a * b; in size_mul_overflow() local
/Zephyr-latest/lib/os/
Dprintk.c47 __attribute__((weak)) int arch_printk_char_out(int c) in arch_printk_char_out()
82 static int buf_char_out(int c, void *ctx_p) in buf_char_out()
95 static int char_out(int c, void *ctx_p) in char_out()
146 void z_impl_k_str_out(char *c, size_t n) in z_impl_k_str_out()
163 static inline void z_vrfy_k_str_out(char *c, size_t n) in z_vrfy_k_str_out()
213 static int str_out(int c, struct str_context *ctx) in str_out()
/Zephyr-latest/subsys/console/
Dtty.c22 uint8_t c; in tty_uart_isr() local
48 static int tty_irq_input_hook(struct tty_serial *tty, uint8_t c) in tty_irq_input_hook()
69 static int tty_putchar(struct tty_serial *tty, uint8_t c) in tty_putchar()
144 uint8_t c; in tty_getchar() local
170 uint8_t c; in tty_read_unbuf() local
Dgetchar.c32 int console_putchar(char c) in console_putchar()
39 uint8_t c; in console_getchar() local
/Zephyr-latest/arch/arm/core/
Dgdbstub.c134 size_t arch_gdb_reg_readall(struct gdb_ctx *c, uint8_t *buf, size_t buflen) in arch_gdb_reg_readall()
161 size_t arch_gdb_reg_writeall(struct gdb_ctx *c, uint8_t *hex, size_t hexlen) in arch_gdb_reg_writeall()
184 size_t arch_gdb_reg_readone(struct gdb_ctx *c, uint8_t *buf, size_t buflen, uint32_t regno) in arch_gdb_reg_readone()
205 size_t arch_gdb_reg_writeone(struct gdb_ctx *c, uint8_t *hex, size_t hexlen, uint32_t regno) in arch_gdb_reg_writeone()
/Zephyr-latest/lib/utils/
Dhex.c12 int char2hex(char c, uint8_t *x) in char2hex()
27 int hex2char(uint8_t x, char *c) in hex2char()
/Zephyr-latest/subsys/testsuite/ztest/unittest/include/zephyr/arch/
Dcpu.h19 uint8_t c; member
28 uint8_t c; member
/Zephyr-latest/samples/subsys/console/getchar/src/
Dmain.c18 uint8_t c = console_getchar(); in main() local
/Zephyr-latest/drivers/bluetooth/
Dutil.h11 uint8_t c; in bt_uart_drain() local
/Zephyr-latest/samples/subsys/console/echo/src/
Dmain.c20 uint8_t c = console_getchar(); in main() local
/Zephyr-latest/drivers/console/
Djailhouse_debug_console.c19 static int console_out(int c) in console_out()
/Zephyr-latest/soc/nxp/s32/common/
Dmc_me.c53 #define MC_ME_PRTN_COFB_STAT(p, c) (0x110 + 0x200 * (p) + 0x4 * (c)) argument
55 #define MC_ME_PRTN_COFB_CLKEN(p, c) (0x130 + 0x200 * (p) + 0x4 * (c)) argument
57 #define MC_ME_PRTN_CORE_PCONF(p, c) (0x140 + 0x200 * (p) + 0x20 * (c)) argument
61 #define MC_ME_PRTN_CORE_PUPD(p, c) (0x144 + 0x200 * (p) + 0x20 * (c)) argument
65 #define MC_ME_PRTN_CORE_STAT(p, c) (0x148 + 0x200 * (p) + 0x20 * (c)) argument
71 #define MC_ME_PRTN_CORE_ADDR(p, c) (0x14c + 0x200 * (p) + 0x20 * (c)) argument
/Zephyr-latest/drivers/net/
Dslip.c52 static inline void slip_writeb(unsigned char c) in slip_writeb()
64 static void slip_writeb_esc(unsigned char c) in slip_writeb_esc()
95 uint8_t c; in slip_send() local
189 unsigned char c) in slip_input_byte()

12345678910>>...12