Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 109) sorted by relevance

12345

/Zephyr-latest/tests/subsys/dsp/print_format/src/
Dmain.c24 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-latest/tests/benchmarks/latency_measure/src/
Devents.c199 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 …]
Dfifo.c115 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 …]
Dlifo.c115 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 …]
Dthread.c251 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()
Dsema_test_signal_release.c142 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()
Dstack.c84 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()
Dmutex_lock_unlock.c97 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()
Dcondvar.c107 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()
Dheap_malloc_free.c67 snprintf(description, sizeof(description), in heap_malloc_free()
72 snprintf(description, sizeof(description), in heap_malloc_free()
Dthread_switch_yield.c134 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()
Dint_to_thread.c178 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-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt_util.c18 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-latest/tests/benchmarks/wait_queues/src/
Dmain.c252 snprintf(tag, sizeof(tag), in main()
254 snprintf(description, sizeof(description), "%-40s - Add thread of priority %u", tag, in main()
267 snprintf(tag, sizeof(tag), in main()
270 snprintf(description, sizeof(description), in main()
290 snprintf(tag, sizeof(tag), in main()
294 snprintf(description, sizeof(description), in main()
308 snprintf(tag, sizeof(tag), in main()
313 snprintf(description, sizeof(description), in main()
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c262 snprintf(tag, sizeof(tag), in main()
264 snprintf(description, sizeof(description), "%-40s - Add thread of priority (%u)", in main()
277 snprintf(tag, sizeof(tag), in main()
279 snprintf(description, sizeof(description), in main()
299 snprintf(tag, sizeof(tag), in main()
302 snprintf(description, sizeof(description), in main()
316 snprintf(tag, sizeof(tag), in main()
320 snprintf(description, sizeof(description), in main()
/Zephyr-latest/scripts/native_simulator/native/src/
Dnsi_cmdline_common.c252 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-latest/boards/native/native_posix/
Dcmdline_common.c250 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-latest/samples/drivers/uart/native_tty/src/
Dmain.c59 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-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c205 snprintf(thread_name, sizeof(thread_name) - 1, "%d", idx); in os_mgmt_taskstat_encode_thread_name()
658 rc = snprintf(output, (sizeof(output) - output_length), "Zephyr"); in os_mgmt_info()
673 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()
681 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
697 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
700 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
715 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
730 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
746 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
[all …]
/Zephyr-latest/tests/subsys/input/shell/src/
Dmain.c28 snprintf(buf, 128, "input report 1 2 %d", val); in main()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dreel_board.c354 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-latest/tests/bsim/bluetooth/host/gatt/settings/src/
Dsettings.c215 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-latest/modules/lvgl/include/
Dlv_conf.h30 #define lv_snprintf snprintf
/Zephyr-latest/samples/drivers/ipm/ipm_esp32/remote/src/
Dmain.c37 snprintf(resp, sizeof(resp), "APP_CPU uptime ticks %lli\n", k_uptime_ticks()); in main()
/Zephyr-latest/lib/posix/options/
Dsignal.c89 snprintf(buf, sizeof(buf), "RT signal %d", signum - SIGRTMIN); in strsignal()
99 snprintf(buf, sizeof(buf), "Signal %d", signum); in strsignal()

12345