Home
last modified time | relevance | path

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

1234567891011

/Zephyr-Core-3.6.0/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.h63 #define putc(c, stream) fputc(c, stream) argument
64 #define putchar(c) putc(c, stdout) argument
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/lib/os/
Dprintk.c46 __attribute__((weak)) int arch_printk_char_out(int c) in arch_printk_char_out()
64 void __printk_hook_install(int (*fn)(int c)) in __printk_hook_install()
96 static int buf_char_out(int c, void *ctx_p) in buf_char_out()
108 static int char_out(int c, void *ctx_p) in char_out()
159 void z_impl_k_str_out(char *c, size_t n) in z_impl_k_str_out()
176 static inline void z_vrfy_k_str_out(char *c, size_t n) in z_vrfy_k_str_out()
226 static int str_out(int c, struct str_context *ctx) in str_out()
/Zephyr-Core-3.6.0/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-Core-3.6.0/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()
68 static int uart_usbserial_poll_in(const struct device *dev, unsigned char *c) in uart_usbserial_poll_in()
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/drivers/bluetooth/
Dutil.h11 uint8_t c; in bt_uart_drain() local
/Zephyr-Core-3.6.0/samples/subsys/console/getchar/src/
Dmain.c18 uint8_t c = console_getchar(); in main() local
/Zephyr-Core-3.6.0/lib/utils/
Dhex.c12 int char2hex(char c, uint8_t *x) in char2hex()
27 int hex2char(uint8_t x, char *c) in hex2char()
/Zephyr-Core-3.6.0/subsys/testsuite/ztest/include/zephyr/arch/
Dcpu.h19 uint8_t c; member
28 uint8_t c; member
/Zephyr-Core-3.6.0/samples/subsys/console/echo/src/
Dmain.c20 uint8_t c = console_getchar(); in main() local
/Zephyr-Core-3.6.0/arch/x86/core/
Defi.c113 int efi_console_putchar(int c) in efi_console_putchar()
167 int arch_printk_char_out(int c) in arch_printk_char_out()
/Zephyr-Core-3.6.0/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()
/Zephyr-Core-3.6.0/drivers/crypto/
Dcrypto_mchp_xec_symcr.c183 static int init_rom_hash_context(enum mchp_rom_hash_alg_id rom_algo, struct mchphash *c) in init_rom_hash_context()
216 int mchp_xec_rom_hash_init_state_wrapper(struct mchphash *c, struct mchphashstate *h, in mchp_xec_rom_hash_init_state_wrapper()
228 int mchp_xec_rom_hash_resume_state_wrapper(struct mchphash *c, struct mchphashstate *h) in mchp_xec_rom_hash_resume_state_wrapper()
238 int mchp_xec_rom_hash_save_state_wrapper(struct mchphash *c) in mchp_xec_rom_hash_save_state_wrapper()
251 int mchp_xec_rom_hash_feed_wrapper(struct mchphash *c, const uint8_t *msg, size_t sz) in mchp_xec_rom_hash_feed_wrapper()
264 int mchp_xec_rom_hash_digest_wrapper(struct mchphash *c, uint8_t *digest) in mchp_xec_rom_hash_digest_wrapper()
282 int mchp_xec_rom_hash_wait_wrapper(struct mchphash *c) in mchp_xec_rom_hash_wait_wrapper()
301 struct mchphash *c = NULL; in xec_symcr_do_hash() local
400 struct mchphash *c = NULL; in xec_symcr_hash_session_begin() local

1234567891011