Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 25 of 41) sorted by relevance

12

/Zephyr-Core-3.5.0/lib/os/
Dcbprintf.c13 va_list ap; in cbprintf() local
16 va_start(ap, format); in cbprintf()
17 rc = cbvprintf(out, ctx, format, ap); in cbprintf()
18 va_end(ap); in cbprintf()
53 va_list ap; in fprintfcb() local
56 va_start(ap, format); in fprintfcb()
57 rc = vfprintfcb(stream, format, ap); in fprintfcb()
58 va_end(ap); in fprintfcb()
63 int vfprintfcb(FILE *stream, const char *format, va_list ap) in vfprintfcb() argument
65 return cbvprintf(fputc, stream, format, ap); in vfprintfcb()
[all …]
Dcbprintf_nano.c59 #define SKIP_TAG_IF_NEEDED(ap, tagged_ap) \ argument
63 (void)va_arg(ap, int); \
77 va_list ap, uint32_t flags) in z_cbvprintf_impl() argument
151 SKIP_TAG_IF_NEEDED(ap, tagged_ap); in z_cbvprintf_impl()
154 precision = va_arg(ap, int); in z_cbvprintf_impl()
156 min_width = va_arg(ap, int); in z_cbvprintf_impl()
191 SKIP_TAG_IF_NEEDED(ap, tagged_ap); in z_cbvprintf_impl()
195 d = va_arg(ap, size_t); in z_cbvprintf_impl()
197 d = va_arg(ap, ssize_t); in z_cbvprintf_impl()
201 d = va_arg(ap, unsigned long); in z_cbvprintf_impl()
[all …]
Dprintk.c114 void vprintk(const char *fmt, va_list ap) in vprintk() argument
117 z_log_vprintk(fmt, ap); in vprintk()
132 (void) vfprintf(&ctx.file, fmt, ap); in vprintk()
134 cbvprintf(buf_char_out, &ctx, fmt, ap); in vprintk()
147 (void) vfprintf(&console, fmt, ap); in vprintk()
149 cbvprintf(char_out, NULL, fmt, ap); in vprintk()
206 va_list ap; in printk() local
208 va_start(ap, fmt); in printk()
210 vprintk(fmt, ap); in printk()
212 va_end(ap); in printk()
[all …]
Dassert.c48 va_list ap; in assert_print() local
50 va_start(ap, fmt); in assert_print()
52 vprintk(fmt, ap); in assert_print()
54 va_end(ap); in assert_print()
Dcbprintf_packaged.c81 va_list ap; in cbprintf_via_va_list() member
92 return formatter(out, ctx, fmt, u.ap); in cbprintf_via_va_list()
119 va_list ap; in cbprintf_via_va_list() member
129 return formatter(out, ctx, fmt, u.ap); in cbprintf_via_va_list()
156 va_list ap; in cbprintf_via_va_list() member
165 return formatter(out, ctx, fmt, u.ap); in cbprintf_via_va_list()
185 va_list ap; in cbprintf_via_va_list() member
191 return formatter(out, ctx, fmt, u.ap); in cbprintf_via_va_list()
234 const char *fmt, va_list ap) in cbvprintf_package() argument
348 int arg_tag = va_arg(ap, int); in cbvprintf_package()
[all …]
Dcbprintf_complete.c1339 va_list ap, uint32_t flags) in z_cbvprintf_impl() argument
1386 (void)va_arg(ap, int); in z_cbvprintf_impl()
1415 width = va_arg(ap, int); in z_cbvprintf_impl()
1432 int arg = va_arg(ap, int); in z_cbvprintf_impl()
1484 value->sint = va_arg(ap, int); in z_cbvprintf_impl()
1489 value->sint = (wchar_t)va_arg(ap, in z_cbvprintf_impl()
1492 value->sint = va_arg(ap, long); in z_cbvprintf_impl()
1497 (sint_value_type)va_arg(ap, long long); in z_cbvprintf_impl()
1501 (sint_value_type)va_arg(ap, intmax_t); in z_cbvprintf_impl()
1513 (sint_value_type)va_arg(ap, ptrdiff_t); in z_cbvprintf_impl()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/sys/
Dprintk.h48 extern __printf_like(1, 0) void vprintk(const char *fmt, va_list ap);
56 static inline __printf_like(1, 0) void vprintk(const char *fmt, va_list ap)
59 ARG_UNUSED(ap);
68 #define vsnprintk(str, size, fmt, ap) vsnprintf(str, size, fmt, ap) argument
75 const char *fmt, va_list ap);
Dcbprintf.h334 const char *fmt, va_list ap);
475 va_list ap);
713 va_list ap, uint32_t flags);
741 int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap);
744 int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap) in cbvprintf() argument
746 return z_cbvprintf_impl(out, ctx, format, ap, 0); in cbvprintf()
779 const char *format, va_list ap) in cbvprintf_tagged_args() argument
781 return z_cbvprintf_impl(out, ctx, format, ap, in cbvprintf_tagged_args()
824 #define vfprintfcb(stream, format, ap) vfprintf(stream, format, ap) argument
826 #define vprintfcb(format, ap) vprintf(format, ap) argument
[all …]
/Zephyr-Core-3.5.0/modules/trusted-firmware-m/src/
Dzephyr_tfm_log.c11 va_list ap; in tfm_log_printf() local
13 va_start(ap, fmt); in tfm_log_printf()
14 vprintk(fmt, ap); in tfm_log_printf()
15 va_end(ap); in tfm_log_printf()
/Zephyr-Core-3.5.0/tests/bluetooth/controller/mock_ctrl/src/
Dassert.c13 va_list ap; in assert_print() local
15 va_start(ap, fmt); in assert_print()
16 vprintk(fmt, ap); in assert_print()
17 va_end(ap); in assert_print()
/Zephyr-Core-3.5.0/subsys/logging/
Dlog_minimal.c16 va_list ap; in z_log_minimal_printk() local
18 va_start(ap, fmt); in z_log_minimal_printk()
19 vprintk(fmt, ap); in z_log_minimal_printk()
20 va_end(ap); in z_log_minimal_printk()
23 void z_log_minimal_vprintk(const char *fmt, va_list ap) in z_log_minimal_vprintk() argument
25 vprintk(fmt, ap); in z_log_minimal_vprintk()
Dlog_msg.c110 uint32_t package_flags, const char *fmt, va_list ap) in z_impl_z_log_msg_runtime_vcreate() argument
117 va_copy(ap2, ap); in z_impl_z_log_msg_runtime_vcreate()
145 plen = cbvprintf_package(pkg, (size_t)plen, package_flags, fmt, ap); in z_impl_z_log_msg_runtime_vcreate()
162 uint32_t package_flags, const char *fmt, va_list ap) in z_vrfy_z_log_msg_runtime_vcreate() argument
165 dlen, package_flags, fmt, ap); in z_vrfy_z_log_msg_runtime_vcreate()
/Zephyr-Core-3.5.0/arch/x86/zefi/
Dprintf.h66 static int vpf(struct _pfr *r, const char *f, va_list ap) in vpf() argument
99 pc(r, va_arg(ap, int)); in vpf()
102 char *s = va_arg(ap, char *); in vpf()
114 unsigned long v = islong ? va_arg(ap, unsigned long) in vpf()
115 : va_arg(ap, unsigned int); in vpf()
126 prdec(r, va_arg(ap, int)); in vpf()
138 va_list ap; \
139 va_start(ap, f); \
140 ret = vpf(&r, f, ap); \
141 va_end(ap);
/Zephyr-Core-3.5.0/tests/net/mocks/
Dassert.c14 va_list ap; in assert_print() local
16 va_start(ap, fmt); in assert_print()
17 vprintk(fmt, ap); in assert_print()
18 va_end(ap); in assert_print()
/Zephyr-Core-3.5.0/tests/bluetooth/host/host_mocks/
Dassert.c14 va_list ap; in assert_print() local
16 va_start(ap, fmt); in assert_print()
17 vprintk(fmt, ap); in assert_print()
18 va_end(ap); in assert_print()
/Zephyr-Core-3.5.0/samples/subsys/logging/logger/src/
Dext_log_system_adapter.c27 va_list ap; in log_handler() local
29 va_start(ap, fmt); in log_handler()
30 log2_generic(log_level_lut[level], fmt, ap); in log_handler()
31 va_end(ap); in log_handler()
/Zephyr-Core-3.5.0/tests/subsys/logging/log_core_additional/src/
Dlog_test_user.c52 va_list ap; in call_log_generic() local
54 va_start(ap, fmt); in call_log_generic()
55 log2_generic(LOG_LEVEL_INF, fmt, ap); in call_log_generic()
56 va_end(ap); in call_log_generic()
/Zephyr-Core-3.5.0/subsys/testsuite/include/zephyr/
Dfff.h4402 CUSTOM_FFF_FUNCTION_TEMPLATE(void, custom_fake, ARG0_TYPE, va_list ap); \
4403 CUSTOM_FFF_FUNCTION_TEMPLATE(void, *custom_fake_seq, ARG0_TYPE, va_list ap); \
4424 va_list ap; \
4425 va_start(ap, arg0); \
4428 arg0, ap); \
4429 va_end(ap); \
4431 va_list ap; \
4432 va_start(ap, arg0); \
4435 arg0, ap); \
4436 va_end(ap); \
[all …]
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/tools/
Dcavstool_client.py126 ap = argparse.ArgumentParser(description="DSP loader/logger client tool", allow_abbrev=False) variable
127 ap.add_argument("-q", "--quiet", action="store_true",
129 ap.add_argument("-l", "--log-only", action="store_true",
131 ap.add_argument("-s", "--server-addr", default="localhost",
133 ap.add_argument("-p", "--log-port", type=int,
135 ap.add_argument("-r", "--req-port", type=int,
137 ap.add_argument("fw_file", nargs="?", help="Firmware file")
138 args = ap.parse_args()
Dremote-fw-service.py293 ap = argparse.ArgumentParser(description="RemoteHW service tool", allow_abbrev=False) variable
294 ap.add_argument("-q", "--quiet", action="store_true",
296 ap.add_argument("-v", "--verbose", action="store_true",
298 ap.add_argument("-s", "--server-addr",
300 ap.add_argument("-p", "--log-port",
302 ap.add_argument("-r", "--req-port",
304 ap.add_argument("-c", "--load-cmd",
307 args = ap.parse_args()
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/
Dztest_mock.c49 va_list ap; in printk() local
51 va_start(ap, fmt); in printk()
52 vprintf(fmt, ap); in printk()
53 va_end(ap); in printk()
56 void vprintk(const char *fmt, va_list ap) in vprintk() argument
58 vprintf(fmt, ap); in vprintk()
63 va_list ap; in snprintk() local
66 va_start(ap, fmt); in snprintk()
67 ret = snprintf(str, size, fmt, ap); in snprintk()
68 va_end(ap); in snprintk()
/Zephyr-Core-3.5.0/tests/subsys/fs/common/
Dtest_fs_util.c14 va_list ap) in path_vextend() argument
16 const char *ep = va_arg(ap, const char *); in path_vextend()
43 ep = va_arg(ap, const char *); in path_vextend()
52 va_list ap; in testfs_path_init() local
69 va_start(ap, mp); in testfs_path_init()
70 path_vextend(pp, ap); in testfs_path_init()
71 va_end(ap); in testfs_path_init()
78 va_list ap; in testfs_path_extend() local
80 va_start(ap, pp); in testfs_path_extend()
81 path_vextend(pp, ap); in testfs_path_extend()
[all …]
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_native_posix_adapt.c94 va_list ap; in ssystem() local
97 va_start(ap, fmt); in ssystem()
98 vsnprintf(cmd, sizeof(cmd), fmt, ap); in ssystem()
99 va_end(ap); in ssystem()
/Zephyr-Core-3.5.0/boards/arm/rcar_h3_salvatorx/support/
Dopenocd.cfg20 cti create $_CHIPNAME.r7.cti -dap $_CHIPNAME.dap -ap-num 1 -baseaddr $CR7_CTIBASE
21 target create $_CHIPNAME.r7 cortex_r4 -dap $_CHIPNAME.dap -ap-num 1 -dbgbase $CR7_DBGBASE -defer-ex…
25 cti create $_CHIPNAME.a57.0.cti -dap $_CHIPNAME.dap -ap-num 1 -baseaddr $CA57_0_CTIBASE
26 target create $_CHIPNAME.a57.0 aarch64 -dap $_CHIPNAME.dap -ap-num 1 -dbgbase $CA57_0_DBGBASE -cti …
/Zephyr-Core-3.5.0/boards/arm/rcar_h3ulcb/support/
Dopenocd.cfg20 cti create $_CHIPNAME.r7.cti -dap $_CHIPNAME.dap -ap-num 1 -baseaddr $CR7_CTIBASE
21 target create $_CHIPNAME.r7 cortex_r4 -dap $_CHIPNAME.dap -ap-num 1 -dbgbase $CR7_DBGBASE -defer-ex…
25 cti create $_CHIPNAME.a57.0.cti -dap $_CHIPNAME.dap -ap-num 1 -baseaddr $CA57_0_CTIBASE
26 target create $_CHIPNAME.a57.0 aarch64 -dap $_CHIPNAME.dap -ap-num 1 -dbgbase $CA57_0_DBGBASE -cti …

12