| /subsys/bluetooth/common/ |
| A D | bt_shell_private.c | 46 const char *fmt, ...) in bt_shell_fprintf() argument 50 va_start(args, fmt); in bt_shell_fprintf() 51 wall_vfprintf(color, fmt, args); in bt_shell_fprintf() 59 va_start(args, fmt); in bt_shell_fprintf_info() 60 wall_vfprintf(SHELL_INFO, fmt, args); in bt_shell_fprintf_info() 68 va_start(args, fmt); in bt_shell_fprintf_print() 69 wall_vfprintf(SHELL_NORMAL, fmt, args); in bt_shell_fprintf_print() 77 va_start(args, fmt); in bt_shell_fprintf_warn() 78 wall_vfprintf(SHELL_WARNING, fmt, args); in bt_shell_fprintf_warn() 86 va_start(args, fmt); in bt_shell_fprintf_error() [all …]
|
| A D | bt_shell_private.h | 24 const char *fmt, ...); 36 __printf_like(1, 2) void bt_shell_fprintf_info(const char *fmt, ...); 37 __printf_like(1, 2) void bt_shell_fprintf_print(const char *fmt, ...); 38 __printf_like(1, 2) void bt_shell_fprintf_warn(const char *fmt, ...); 39 __printf_like(1, 2) void bt_shell_fprintf_error(const char *fmt, ...);
|
| A D | assert.h | 9 #define BT_ASSERT_PRINT_MSG(fmt, ...) __ASSERT_MSG_INFO(fmt, ##__VA_ARGS__) argument 12 #define BT_ASSERT_PRINT_MSG(fmt, ...) argument 30 #define BT_ASSERT_MSG(cond, fmt, ...) \ argument 34 BT_ASSERT_PRINT_MSG(fmt, ##__VA_ARGS__); \
|
| /subsys/net/lib/shell/ |
| A D | net_shell_private.h | 11 #define PR(fmt, ...) \ argument 14 shell_fprintf_normal(sh, fmt, ##__VA_ARGS__); \ 16 printk(fmt, ##__VA_ARGS__); \ 23 shell_fprintf_normal(sh, fmt, ##__VA_ARGS__); \ 25 printk(fmt, ##__VA_ARGS__); \ 32 shell_fprintf_error(sh, fmt, ##__VA_ARGS__); \ 34 printk(fmt, ##__VA_ARGS__); \ 41 shell_fprintf_info(sh, fmt, ##__VA_ARGS__); \ 43 printk(fmt, ##__VA_ARGS__); \ 50 shell_fprintf_warn(sh, fmt, ##__VA_ARGS__); \ [all …]
|
| /subsys/testsuite/include/zephyr/ |
| A D | tc_util.h | 25 #define PRINT_DATA(fmt, ...) printk(fmt, ##__VA_ARGS__) argument 120 PRINT_DATA(fmt, ##__VA_ARGS__); \ 124 static inline void print_nothing(const char *fmt, ...) in print_nothing() argument 126 ARG_UNUSED(fmt); in print_nothing() 131 #define TC_PRINT(fmt, ...) PRINT_DATA(fmt, ##__VA_ARGS__) argument 133 #define TC_PRINT(fmt, ...) print_nothing(fmt, ##__VA_ARGS__) argument 138 #define TC_SUMMARY_PRINT(fmt, ...) PRINT_DATA(fmt, ##__VA_ARGS__) argument 157 #define TC_END(result, fmt, ...) PRINT_DATA(fmt, ##__VA_ARGS__) argument 162 #define TC_END_PRINT(result, fmt, ...) PRINT_DATA(fmt, ##__VA_ARGS__); PRINT_LINE argument 164 #define TC_END_PRINT(result, fmt, ...) print_nothing(fmt) argument [all …]
|
| /subsys/net/lib/http/headers/ |
| A D | mlog.h | 14 #define LOG_INF(fmt, args...) printf("I: " fmt "\n", ##args) argument 15 #define LOG_ERR(fmt, args...) printf("E: " fmt "\n", ##args) argument 16 #define LOG_DBG(fmt, args...) printf("D: " fmt "\n", ##args) argument
|
| /subsys/logging/ |
| A D | log_msg.c | 135 log_frontend_simple_0(source, level, fmt); in z_impl_z_log_msg_simple_create_0() 154 *p32++ = (uint32_t)(uintptr_t)fmt; in z_impl_z_log_msg_simple_create_0() 174 uint32_t data[] = {(uint32_t)(uintptr_t)fmt}; in z_impl_z_log_msg_simple_create_0() 180 const char *fmt, uint32_t arg) in z_impl_z_log_msg_simple_create_1() argument 184 log_frontend_simple_1(source, level, fmt, arg); in z_impl_z_log_msg_simple_create_1() 203 *p32++ = (uint32_t)(uintptr_t)fmt; in z_impl_z_log_msg_simple_create_1() 253 *p32++ = (uint32_t)(uintptr_t)fmt; in z_impl_z_log_msg_simple_create_2() 314 pkg->fmt, (uint32_t)Z_LOG_MSG_MAX_PACKAGE); in z_impl_z_log_msg_static_create() 351 if (fmt) { in z_log_msg_runtime_vcreate() 356 package_flags, fmt, ap2); in z_log_msg_runtime_vcreate() [all …]
|
| A D | log_minimal.c | 15 void z_log_minimal_printk(const char *fmt, ...) in z_log_minimal_printk() argument 19 va_start(ap, fmt); in z_log_minimal_printk() 20 vprintk(fmt, ap); in z_log_minimal_printk() 25 void z_log_minimal_vprintk(const char *fmt, va_list ap) in z_log_minimal_vprintk() argument 27 vprintk(fmt, ap); in z_log_minimal_vprintk()
|
| A D | log_output_syst.c | 612 const char *fmt, va_list ap) argument 617 MIPI_SYST_VPRINTF(&log_syst_handle, severity, fmt, ap); 648 const char *fmt, va_list ap) argument 767 (uintptr_t)fmt, 812 if (is_in_log_strings_section(pkg_hdr->fmt)) {
|
| A D | log_output.c | 130 const char *fmt, ...) in print_formatted() argument 135 va_start(args, fmt); in print_formatted() 136 length = cbvprintf(out_func, (void *)output, fmt, args); in print_formatted()
|
| A D | log_core.c | 219 void z_log_vprintk(const char *fmt, va_list ap) in z_log_vprintk() argument 228 fmt, ap); in z_log_vprintk()
|
| /subsys/net/ip/ |
| A D | tp_priv.h | 19 #define tp_dbg(fmt, args...) printk("%s: " fmt "\n", __func__, ## args) argument 20 #define tp_err(fmt, args...) do { \ argument 21 printk("%s: Error: " fmt "\n", __func__, ## args); \ 25 #define tp_assert(cond, fmt, args...) do { \ argument 27 printk("%s: Assertion failed: %s, " fmt "\n", \
|
| /subsys/bluetooth/controller/hal/ |
| A D | debug.h | 17 #define LL_ASSERT_MSG(cond, fmt, ...) \ argument 20 BT_ASSERT_PRINT_MSG(fmt, ##__VA_ARGS__); \ 26 #define LL_ASSERT_MSG(cond, fmt, ...) \ argument 27 BT_ASSERT_MSG(cond, fmt, ##__VA_ARGS__)
|
| /subsys/testsuite/ztest/src/ |
| A D | ztest_mock.c | 47 void printk(const char *fmt, ...) in printk() argument 51 va_start(ap, fmt); in printk() 52 vprintf(fmt, ap); in printk() 56 void vprintk(const char *fmt, va_list ap) in vprintk() argument 58 vprintf(fmt, ap); in vprintk() 61 int snprintk(char *str, size_t size, const char *fmt, ...) in snprintk() argument 66 va_start(ap, fmt); in snprintk() 67 ret = snprintf(str, size, fmt, ap); in snprintk()
|
| /subsys/usb/device_next/class/ |
| A D | usbd_uvc.c | 72 struct uvc_format_descriptor fmt; member 580 uint32_t max_frame_size = MAX(fmt->pitch, fmt->width) * fmt->height; in uvc_get_vs_probe_max_size() 634 fmt->width = frame_desc->wWidth; in uvc_get_vs_format_from_desc() 636 fmt->pitch = fmt->width * video_bits_per_pixel(fmt->pixelformat) / BITS_PER_BYTE; in uvc_get_vs_format_from_desc() 808 VIDEO_FOURCC_TO_STR(fmt.pixelformat), fmt.width, fmt.height); in uvc_set_vs_commit() 810 fmt.type = VIDEO_BUF_TYPE_OUTPUT; in uvc_set_vs_commit() 1484 bitrate = MAX(fmt->pitch, fmt->width) * frmival_nsec / (NSEC_PER_SEC / 100) * fmt->height; in uvc_set_vs_bitrate_range() 1773 if (fmt->pitch > 0) { in uvc_initiate_transfer() 1799 if (fmt->pitch == 0 || *next_line_offset >= fmt->height) { in uvc_initiate_transfer() 1842 if (fmt->pitch > 0) { in uvc_continue_transfer() [all …]
|
| /subsys/logging/frontends/ |
| A D | log_frontend_stmesp.c | 455 const char *fmt) in early_msg_start() argument 458 uint32_t fmt32 = (uint32_t)fmt; in early_msg_start() 470 uint32_t package_hdr, const char *fmt) in msg_start() argument 481 STM_D32(stm_esp, (uint32_t)fmt, false, false); in msg_start() 484 void log_frontend_simple_0(const void *source, uint32_t level, const char *fmt) in log_frontend_simple_0() argument 497 msg_start(stm_esp, level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_0() 506 len_loc = early_msg_start(level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_0() 524 msg_start(stm_esp, level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_1() 534 len_loc = early_msg_start(level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_1() 554 msg_start(stm_esp, level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_2() [all …]
|
| /subsys/shell/ |
| A D | shell_fprintf.c | 34 const char *fmt, va_list args) in z_shell_fprintf_fmt() argument 36 (void)cbvprintf(out_func, (void *)sh_fprintf, fmt, args); in z_shell_fprintf_fmt()
|
| A D | shell_ops.h | 19 const char *fmt, ...) in z_shell_raw_fprintf() argument 23 va_start(args, fmt); in z_shell_raw_fprintf() 24 z_shell_fprintf_fmt(ctx, fmt, args); in z_shell_raw_fprintf() 370 const char *fmt, ...); 373 const char *fmt, va_list args);
|
| A D | shell.c | 1512 const char *fmt, va_list args) in shell_vfprintf() argument 1520 __ASSERT_NO_MSG(fmt); in shell_vfprintf() 1535 z_shell_vfprintf(sh, color, fmt, args); in shell_vfprintf() 1553 const char *fmt, ...) in shell_fprintf_impl() argument 1557 va_start(args, fmt); in shell_fprintf_impl() 1558 shell_vfprintf(sh, color, fmt, args); in shell_fprintf_impl() 1566 va_start(args, fmt); in shell_fprintf_info() 1567 shell_vfprintf(sh, SHELL_INFO, fmt, args); in shell_fprintf_info() 1575 va_start(args, fmt); in shell_fprintf_normal() 1584 va_start(args, fmt); in shell_fprintf_warn() [all …]
|
| A D | shell_ops.c | 531 const char *fmt, va_list args) in z_shell_vfprintf() argument 541 z_shell_fprintf_fmt(sh->fprintf_ctx, fmt, args); in z_shell_vfprintf() 545 z_shell_fprintf_fmt(sh->fprintf_ctx, fmt, args); in z_shell_vfprintf() 551 const char *fmt, ...) in z_shell_fprintf() argument 556 __ASSERT_NO_MSG(fmt); in z_shell_fprintf() 562 va_start(args, fmt); in z_shell_fprintf() 563 z_shell_vfprintf(sh, color, fmt, args); in z_shell_fprintf()
|
| /subsys/logging/backends/ |
| A D | log_backend_net.c | 23 #define DBG(fmt, ...) IF_ENABLED(DEBUG_PRINTING, (printk(fmt, ##__VA_ARGS__))) argument
|
| /subsys/fs/ |
| A D | fat_fs.c | 463 .fmt = FM_ANY | FM_SFD, /* Any suitable FAT */ in fatfs_mount() 511 .fmt = FM_ANY | FM_SFD, /* Any suitable FAT */
|
| /subsys/bluetooth/mesh/ |
| A D | cfg_cli.c | 2333 bool fmt, cor_present; in bt_mesh_comp_p1_elem_pull() local 2346 fmt = FMT(header); in bt_mesh_comp_p1_elem_pull() 2350 header, cor_present, fmt, ext_item_cnt); in bt_mesh_comp_p1_elem_pull() 2355 elem_size += (1 + cor_present) + (fmt + 1) * ext_item_cnt; in bt_mesh_comp_p1_elem_pull()
|
| /subsys/net/lib/coap/ |
| A D | coap_client.c | 236 COAP_OPTION_CONTENT_FORMAT, req->fmt); in coap_client_init_request()
|
| /subsys/bluetooth/host/ |
| A D | iso.c | 47 #define BT_ISO_DATA_DBG(fmt, ...) LOG_DBG(fmt, ##__VA_ARGS__) argument 49 #define BT_ISO_DATA_DBG(fmt, ...) argument
|