/Zephyr-Core-3.7.0/tests/subsys/dsp/print_format/src/ |
D | main.c | 24 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 0)); in ZTEST() 27 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 1)); in ZTEST() 30 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, -2)); in ZTEST() 33 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 0)); in ZTEST() 36 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 1)); in ZTEST() 39 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, -2)); in ZTEST() 48 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 0)); in ZTEST() 51 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 1)); in ZTEST() 54 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, -2)); in ZTEST() 57 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 0)); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/benchmarks/latency_measure/src/ |
D | events.c | 199 snprintf(tag, sizeof(tag), "events.post.immediate.%s", in event_ops() 201 snprintf(description, sizeof(description), in event_ops() 212 snprintf(tag, sizeof(tag), "events.set.immediate.%s", in event_ops() 214 snprintf(description, sizeof(description), in event_ops() 224 snprintf(tag, sizeof(tag), "events.wait.immediate.%s", in event_ops() 226 snprintf(description, sizeof(description), in event_ops() 236 snprintf(tag, sizeof(tag), "events.wait_all.immediate.%s", in event_ops() 238 snprintf(description, sizeof(description), in event_ops() 282 snprintf(tag, sizeof(tag), in event_blocking_ops() 286 snprintf(description, sizeof(description), in event_blocking_ops() [all …]
|
D | fifo.c | 115 snprintf(tag, sizeof(tag), in fifo_ops() 118 snprintf(description, sizeof(description), in fifo_ops() 127 snprintf(tag, sizeof(tag), in fifo_ops() 130 snprintf(description, sizeof(description), in fifo_ops() 139 snprintf(tag, sizeof(tag), in fifo_ops() 142 snprintf(description, sizeof(description), in fifo_ops() 150 snprintf(tag, sizeof(tag), in fifo_ops() 153 snprintf(description, sizeof(description), in fifo_ops() 297 snprintf(tag, sizeof(tag), in fifo_blocking_ops() 301 snprintf(description, sizeof(description), in fifo_blocking_ops() [all …]
|
D | lifo.c | 115 snprintf(tag, sizeof(tag), in lifo_ops() 118 snprintf(description, sizeof(description), in lifo_ops() 127 snprintf(tag, sizeof(tag), in lifo_ops() 130 snprintf(description, sizeof(description), in lifo_ops() 139 snprintf(tag, sizeof(tag), in lifo_ops() 142 snprintf(description, sizeof(description), in lifo_ops() 150 snprintf(tag, sizeof(tag), in lifo_ops() 153 snprintf(description, sizeof(description), in lifo_ops() 297 snprintf(tag, sizeof(tag), in lifo_blocking_ops() 301 snprintf(description, sizeof(description), in lifo_blocking_ops() [all …]
|
D | thread.c | 251 snprintf(tag, sizeof(tag), in thread_ops() 255 snprintf(description, sizeof(description), in thread_ops() 266 snprintf(tag, sizeof(tag), in thread_ops() 270 snprintf(description, sizeof(description), in thread_ops() 280 snprintf(tag, sizeof(tag), in thread_ops() 284 snprintf(description, sizeof(description), in thread_ops() 294 snprintf(tag, sizeof(tag), in thread_ops() 298 snprintf(description, sizeof(description), in thread_ops() 308 snprintf(tag, sizeof(tag), in thread_ops() 312 snprintf(description, sizeof(description), in thread_ops()
|
D | sema_test_signal_release.c | 142 snprintf(tag, sizeof(tag), in sema_context_switch() 146 snprintf(description, sizeof(description), in sema_context_switch() 160 snprintf(tag, sizeof(tag), in sema_context_switch() 164 snprintf(description, sizeof(description), in sema_context_switch() 263 snprintf(tag, sizeof(tag), in sema_test_signal() 266 snprintf(description, sizeof(description), in sema_test_signal() 284 snprintf(tag, sizeof(tag), in sema_test_signal() 287 snprintf(description, sizeof(description), in sema_test_signal()
|
D | stack.c | 84 snprintf(tag, sizeof(tag), in stack_ops() 87 snprintf(description, sizeof(description), in stack_ops() 96 snprintf(tag, sizeof(tag), in stack_ops() 99 snprintf(description, sizeof(description), in stack_ops() 196 snprintf(tag, sizeof(tag), in stack_blocking_ops() 200 snprintf(description, sizeof(description), in stack_blocking_ops() 208 snprintf(tag, sizeof(tag), in stack_blocking_ops() 212 snprintf(description, sizeof(description), in stack_blocking_ops()
|
D | mutex_lock_unlock.c | 97 snprintf(tag, sizeof(tag), in mutex_lock_unlock() 100 snprintf(description, sizeof(description), in mutex_lock_unlock() 107 snprintf(tag, sizeof(tag), in mutex_lock_unlock() 110 snprintf(description, sizeof(description), in mutex_lock_unlock()
|
D | condvar.c | 107 snprintf(tag, sizeof(tag), "condvar.wait.blocking.%c_to_%c", in condvar_blocking_ops() 110 snprintf(description, sizeof(description), in condvar_blocking_ops() 119 snprintf(tag, sizeof(tag), "condvar.signal.wake+ctx.%c_to_%c", in condvar_blocking_ops() 122 snprintf(description, sizeof(description), in condvar_blocking_ops()
|
D | heap_malloc_free.c | 67 snprintf(description, sizeof(description), in heap_malloc_free() 72 snprintf(description, sizeof(description), in heap_malloc_free()
|
D | thread_switch_yield.c | 134 snprintf(tag, sizeof(tag), in thread_switch_yield_common() 138 snprintf(summary, sizeof(summary), in thread_switch_yield_common() 152 snprintf(description, sizeof(description), in thread_switch_yield()
|
D | int_to_thread.c | 178 snprintf(description, sizeof(description), in int_to_thread() 189 snprintf(description, sizeof(description), in int_to_thread() 201 snprintf(description, sizeof(description), in int_to_thread()
|
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | img_mgmt_util.c | 18 rc = snprintf(dst, IMG_MGMT_VER_MAX_STR_LEN, "%hu.%hu.%hu", in img_mgmt_ver_str() 23 rc1 = snprintf(&dst[rc], IMG_MGMT_VER_MAX_STR_LEN - rc, ".%u", in img_mgmt_ver_str()
|
/Zephyr-Core-3.7.0/boards/native/native_posix/ |
D | cmdline_common.c | 250 ret = snprintf(buf, size, "-%s", args_s_el->option); in cmd_gen_switch_syntax() 253 ret = snprintf(buf, size, "-%s=<%s>", in cmd_gen_switch_syntax() 256 ret = snprintf(buf, size, "-%s <%s>...", in cmd_gen_switch_syntax() 276 snprintf(buf, size, "] "); in cmd_gen_switch_syntax() 278 snprintf(buf, size, " "); in cmd_gen_switch_syntax()
|
/Zephyr-Core-3.7.0/scripts/native_simulator/native/src/ |
D | nsi_cmdline_common.c | 252 ret = snprintf(buf, size, "-%s", args_s_el->option); in nsi_cmd_gen_switch_syntax() 255 ret = snprintf(buf, size, "-%s=<%s>", in nsi_cmd_gen_switch_syntax() 258 ret = snprintf(buf, size, "-%s <%s>...", in nsi_cmd_gen_switch_syntax() 278 snprintf(buf, size, "] "); in nsi_cmd_gen_switch_syntax() 280 snprintf(buf, size, " "); in nsi_cmd_gen_switch_syntax()
|
/Zephyr-Core-3.7.0/samples/drivers/uart/native_tty/src/ |
D | main.c | 59 snprintf(send_buf, 64, "Hello from device %s, num %d", uart0->name, i); in main() 82 snprintf(send_buf, 64, "Hello from device %s, num %d", uart0->name, i); in main()
|
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 205 snprintf(thread_name, sizeof(thread_name) - 1, "%d", idx); in os_mgmt_taskstat_encode_thread_name() 620 rc = snprintf(output, (sizeof(output) - output_length), "Zephyr"); in os_mgmt_info() 635 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 639 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 643 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 659 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 662 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 677 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 692 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 708 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() [all …]
|
/Zephyr-Core-3.7.0/lib/posix/options/ |
D | signal.c | 89 snprintf(buf, sizeof(buf), "RT signal %d", signum - SIGRTMIN); in strsignal() 99 snprintf(buf, sizeof(buf), "Signal %d", signum); in strsignal()
|
/Zephyr-Core-3.7.0/samples/boards/reel_board/mesh_badge/src/ |
D | reel_board.c | 354 len = snprintf(str_buf, sizeof(str_buf), "Temperature:%d.%d C\n", in show_sensors_data() 358 len = snprintf(str_buf, sizeof(str_buf), "Humidity:%d%%\n", in show_sensors_data() 367 len = snprintf(str_buf, sizeof(str_buf), "AX :%10.3f\n", in show_sensors_data() 371 len = snprintf(str_buf, sizeof(str_buf), "AY :%10.3f\n", in show_sensors_data() 375 len = snprintf(str_buf, sizeof(str_buf), "AZ :%10.3f\n", in show_sensors_data() 384 len = snprintf(str_buf, sizeof(str_buf), "Light :%d\n", val[0].val1); in show_sensors_data() 386 len = snprintf(str_buf, sizeof(str_buf), "Proximity:%d\n", val[1].val1); in show_sensors_data()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | settings.c | 215 snprintf(setting_file, sizeof(setting_file), "%s_%s.log", get_simid(), get_settings_file()); in settings_backend_init() 216 snprintf(setting_file_tmp, sizeof(setting_file_tmp), "~%s", setting_file); in settings_backend_init() 228 snprintf(setting_file, sizeof(setting_file), "%s_%s.log", get_simid(), get_settings_file()); in settings_test_backend_clear()
|
/Zephyr-Core-3.7.0/tests/subsys/input/shell/src/ |
D | main.c | 28 snprintf(buf, 128, "input report 1 2 %d", val); in main()
|
/Zephyr-Core-3.7.0/modules/lvgl/include/ |
D | lv_conf.h | 42 #define lv_snprintf snprintf
|
/Zephyr-Core-3.7.0/include/zephyr/sys/ |
D | printk.h | 67 #define snprintk(...) snprintf(__VA_ARGS__)
|
/Zephyr-Core-3.7.0/samples/boards/nrf/battery/src/ |
D | main.c | 50 snprintf(buf, sizeof(buf), "%u:%02u:%02u.%03u", in now_str()
|
/Zephyr-Core-3.7.0/samples/net/cloud/tagoio_http_post/src/ |
D | main.c | 46 (void)snprintf(ctx.payload, sizeof(ctx.payload), in collect_data()
|