Home
last modified time | relevance | path

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

123

/Zephyr-latest/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
152 SKIP_TAG_IF_NEEDED(ap, tagged_ap); in z_cbvprintf_impl()
155 precision = va_arg(ap, int); in z_cbvprintf_impl()
157 min_width = va_arg(ap, int); in z_cbvprintf_impl()
192 SKIP_TAG_IF_NEEDED(ap, tagged_ap); in z_cbvprintf_impl()
196 d = va_arg(ap, size_t); in z_cbvprintf_impl()
198 d = va_arg(ap, ssize_t); in z_cbvprintf_impl()
202 d = va_arg(ap, unsigned long); in z_cbvprintf_impl()
[all …]
Dprintk.c101 void vprintk(const char *fmt, va_list ap) in vprintk() argument
104 z_log_vprintk(fmt, ap); in vprintk()
119 (void) vfprintf(&ctx.file, fmt, ap); in vprintk()
121 cbvprintf(buf_char_out, &ctx, fmt, ap); in vprintk()
134 (void) vfprintf(&console, fmt, ap); in vprintk()
136 cbvprintf(char_out, NULL, fmt, ap); in vprintk()
194 va_list ap; in printk() local
196 va_start(ap, fmt); in printk()
198 vprintk(fmt, ap); in printk()
200 va_end(ap); in printk()
[all …]
Dassert.c49 va_list ap; in assert_print() local
51 va_start(ap, fmt); in assert_print()
53 vprintk(fmt, ap); in assert_print()
55 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
349 int arg_tag = va_arg(ap, int); in cbvprintf_package()
[all …]
/Zephyr-latest/include/zephyr/sys/
Dprintk.h48 __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-latest/lib/posix/options/
Dsyslog.c50 va_list ap; in syslog() local
52 va_start(ap, format); in syslog()
53 vsyslog(priority, format, ap); in syslog()
54 va_end(ap); in syslog()
69 void vsyslog(int priority, const char *format, va_list ap) in vsyslog() argument
89 vprintk(format, ap); in vsyslog()
91 log_generic(level, format, ap); in vsyslog()
/Zephyr-latest/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-latest/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-latest/tests/lib/acpi/unit/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-latest/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-latest/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-latest/subsys/logging/
Dlog_minimal.c17 va_list ap; in z_log_minimal_printk() local
19 va_start(ap, fmt); in z_log_minimal_printk()
20 vprintk(fmt, ap); in z_log_minimal_printk()
21 va_end(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()
/Zephyr-latest/arch/x86/zefi/
Dprintf.h70 static int vpf(struct _pfr *r, const char *f, va_list ap) in vpf() argument
103 pc(r, va_arg(ap, int)); in vpf()
106 char *s = va_arg(ap, char *); in vpf()
120 unsigned long v = islong ? va_arg(ap, unsigned long) in vpf()
121 : va_arg(ap, unsigned int); in vpf()
133 prdec(r, va_arg(ap, int)); in vpf()
145 va_list ap; \
146 va_start(ap, f); \
147 ret = vpf(&r, f, ap); \
148 va_end(ap);
/Zephyr-latest/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 log_generic(log_level_lut[level], fmt, ap); in log_handler()
31 va_end(ap); in log_handler()
/Zephyr-latest/modules/hostap/
DCMakeLists.txt29 ${HOSTAP_SRC_BASE}/ap/
169 ${HOSTAP_SRC_BASE}/ap/wpa_auth_ft.c
174 ${WIFI_NM_WPA_SUPPLICANT_BASE}/ap.c
175 ${HOSTAP_SRC_BASE}/ap/ap_config.c
176 ${HOSTAP_SRC_BASE}/ap/ap_drv_ops.c
177 ${HOSTAP_SRC_BASE}/ap/ap_list.c
178 ${HOSTAP_SRC_BASE}/ap/ap_mlme.c
179 ${HOSTAP_SRC_BASE}/ap/authsrv.c
180 ${HOSTAP_SRC_BASE}/ap/beacon.c
181 ${HOSTAP_SRC_BASE}/ap/bss_load.c
[all …]
/Zephyr-latest/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 log_generic(LOG_LEVEL_INF, fmt, ap); in call_log_generic()
56 va_end(ap); in call_log_generic()
/Zephyr-latest/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-latest/soc/intel/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.py295 ap = argparse.ArgumentParser(description="RemoteHW service tool", allow_abbrev=False) variable
296 ap.add_argument("-q", "--quiet", action="store_true",
298 ap.add_argument("-v", "--verbose", action="store_true",
300 ap.add_argument("-s", "--server-addr",
302 ap.add_argument("-p", "--log-port",
304 ap.add_argument("-r", "--req-port",
306 ap.add_argument("-c", "--load-cmd",
309 args = ap.parse_args()
/Zephyr-latest/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-latest/drivers/ethernet/
Deth_native_posix_adapt.c80 va_list ap; in ssystem() local
83 va_start(ap, fmt); in ssystem()
84 vsnprintf(cmd, sizeof(cmd), fmt, ap); in ssystem()
85 va_end(ap); in ssystem()
/Zephyr-latest/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-latest/lib/libc/picolibc/
Dcbprintf.c23 int cbvprintf(cbprintf_cb out, void *ctx, const char *fp, va_list ap) in cbvprintf() argument
30 return vfprintf(&s.f, fp, ap); in cbvprintf()

123