Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 516) sorted by relevance

12345678910>>...21

/Zephyr-latest/boards/native/nrf_bsim/common/
Dtrace_hook.c24 void posix_vprint_error_and_exit(const char *format, va_list vargs) in posix_vprint_error_and_exit() argument
27 format, vargs); in posix_vprint_error_and_exit()
30 void posix_vprint_warning(const char *format, va_list vargs) in posix_vprint_warning() argument
33 format, vargs); in posix_vprint_warning()
36 void posix_vprint_trace(const char *format, va_list vargs) in posix_vprint_trace() argument
39 format, vargs); in posix_vprint_trace()
42 void posix_print_error_and_exit(const char *format, ...) in posix_print_error_and_exit() argument
46 va_start(variable_argsp, format); in posix_print_error_and_exit()
47 posix_vprint_error_and_exit(format, variable_argsp); in posix_print_error_and_exit()
51 void posix_print_warning(const char *format, ...) in posix_print_warning() argument
[all …]
/Zephyr-latest/boards/native/native_sim/
Dposix_arch_if.c23 void posix_vprint_error_and_exit(const char *format, va_list vargs) in posix_vprint_error_and_exit() argument
25 nsi_vprint_error_and_exit(format, vargs); in posix_vprint_error_and_exit()
28 void posix_vprint_warning(const char *format, va_list vargs) in posix_vprint_warning() argument
30 nsi_vprint_warning(format, vargs); in posix_vprint_warning()
33 void posix_vprint_trace(const char *format, va_list vargs) in posix_vprint_trace() argument
35 nsi_vprint_trace(format, vargs); in posix_vprint_trace()
38 void posix_print_error_and_exit(const char *format, ...) in posix_print_error_and_exit() argument
42 va_start(variable_args, format); in posix_print_error_and_exit()
43 nsi_vprint_error_and_exit(format, variable_args); in posix_print_error_and_exit()
47 void posix_print_warning(const char *format, ...) in posix_print_warning() argument
[all …]
/Zephyr-latest/lib/os/
Dcbprintf.c11 int cbprintf(cbprintf_cb out, void *ctx, const char *format, ...) in cbprintf() argument
16 va_start(ap, format); in cbprintf()
17 rc = cbvprintf(out, ctx, format, ap); in cbprintf()
51 int fprintfcb(FILE *stream, const char *format, ...) in fprintfcb() argument
56 va_start(ap, format); in fprintfcb()
57 rc = vfprintfcb(stream, format, 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()
68 int printfcb(const char *format, ...) in printfcb() argument
73 va_start(ap, format); in printfcb()
[all …]
/Zephyr-latest/boards/native/native_posix/
Dtracing.c19 void posix_vprint_error_and_exit(const char *format, va_list vargs) in posix_vprint_error_and_exit() argument
21 vfprintf(stderr, format, vargs); in posix_vprint_error_and_exit()
25 void posix_vprint_warning(const char *format, va_list vargs) in posix_vprint_warning() argument
27 vfprintf(stderr, format, vargs); in posix_vprint_warning()
30 void posix_vprint_trace(const char *format, va_list vargs) in posix_vprint_trace() argument
32 vfprintf(stdout, format, vargs); in posix_vprint_trace()
35 void posix_print_error_and_exit(const char *format, ...) in posix_print_error_and_exit() argument
39 va_start(variable_args, format); in posix_print_error_and_exit()
40 posix_vprint_error_and_exit(format, variable_args); in posix_print_error_and_exit()
44 void posix_print_warning(const char *format, ...) in posix_print_warning() argument
[all …]
/Zephyr-latest/scripts/native_simulator/common/src/
Dnsi_trace_varg.c10 void nsi_print_error_and_exit(const char *format, ...) in nsi_print_error_and_exit() argument
14 va_start(variable_args, format); in nsi_print_error_and_exit()
15 nsi_vprint_error_and_exit(format, variable_args); in nsi_print_error_and_exit()
19 void nsi_print_warning(const char *format, ...) in nsi_print_warning() argument
23 va_start(variable_args, format); in nsi_print_warning()
24 nsi_vprint_warning(format, variable_args); in nsi_print_warning()
28 void nsi_print_trace(const char *format, ...) in nsi_print_trace() argument
32 va_start(variable_args, format); in nsi_print_trace()
33 nsi_vprint_trace(format, variable_args); in nsi_print_trace()
/Zephyr-latest/arch/posix/core/nsi_compat/
Dnsi_compat.c19 void nsi_print_error_and_exit(const char *format, ...) in nsi_print_error_and_exit() argument
23 va_start(variable_args, format); in nsi_print_error_and_exit()
24 posix_vprint_error_and_exit(format, variable_args); in nsi_print_error_and_exit()
28 void nsi_print_warning(const char *format, ...) in nsi_print_warning() argument
32 va_start(variable_args, format); in nsi_print_warning()
33 posix_vprint_warning(format, variable_args); in nsi_print_warning()
37 void nsi_print_trace(const char *format, ...) in nsi_print_trace() argument
41 va_start(variable_args, format); in nsi_print_trace()
42 posix_vprint_trace(format, variable_args); in nsi_print_trace()
/Zephyr-latest/lib/libc/minimal/source/stdout/
Dfprintf.c15 int fprintf(FILE *ZRESTRICT stream, const char *ZRESTRICT format, ...) in fprintf() argument
20 va_start(vargs, format); in fprintf()
21 r = cbvprintf(fputc, DESC(stream), format, vargs); in fprintf()
27 int vfprintf(FILE *ZRESTRICT stream, const char *ZRESTRICT format, in vfprintf() argument
32 r = cbvprintf(fputc, DESC(stream), format, vargs); in vfprintf()
37 int printf(const char *ZRESTRICT format, ...) in printf() argument
42 va_start(vargs, format); in printf()
43 r = cbvprintf(fputc, DESC(stdout), format, vargs); in printf()
49 int vprintf(const char *ZRESTRICT format, va_list vargs) in vprintf() argument
53 r = cbvprintf(fputc, DESC(stdout), format, vargs); in vprintf()
Dsprintf.c29 const char *ZRESTRICT format, ...) in snprintf() argument
44 va_start(vargs, format); in snprintf()
45 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in snprintf()
52 int sprintf(char *ZRESTRICT str, const char *ZRESTRICT format, ...) in sprintf() argument
62 va_start(vargs, format); in sprintf()
63 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in sprintf()
71 const char *ZRESTRICT format, va_list vargs) in vsnprintf() argument
84 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in vsnprintf()
90 int vsprintf(char *ZRESTRICT str, const char *ZRESTRICT format, in vsprintf() argument
99 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in vsprintf()
/Zephyr-latest/scripts/native_simulator/common/src/include/
Dnsi_tracing.h24 void nsi_print_error_and_exit(const char *format, ...);
25 void nsi_print_warning(const char *format, ...);
26 void nsi_print_trace(const char *format, ...);
27 void nsi_vprint_error_and_exit(const char *format, va_list vargs);
28 void nsi_vprint_warning(const char *format, va_list vargs);
29 void nsi_vprint_trace(const char *format, va_list vargs);
/Zephyr-latest/include/zephyr/arch/posix/
Dposix_trace.h15 void posix_vprint_error_and_exit(const char *format, va_list vargs);
16 void posix_vprint_warning(const char *format, va_list vargs);
17 void posix_vprint_trace(const char *format, va_list vargs);
18 void posix_print_error_and_exit(const char *format, ...);
19 void posix_print_warning(const char *format, ...);
20 void posix_print_trace(const char *format, ...);
/Zephyr-latest/include/zephyr/sys/
Dcbprintf.h434 const char *format,
474 const char *format,
682 int cbprintf(cbprintf_cb out, void *ctx, const char *format, ...);
712 int z_cbvprintf_impl(cbprintf_cb out, void *ctx, const char *format,
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
[all …]
/Zephyr-latest/tests/net/socket/tls_configurations/pytest/
Dtest_app_vs_openssl.py18 args.extend(["-cert", "{}/rsa.crt".format(certs_path),
19 "-key", "{}/rsa-priv.key".format(certs_path),
24 args.extend(["-cert", "{}/ec.crt".format(certs_path),
25 "-key", "{}/ec-priv.key".format(certs_path),
30 args.extend(["-cert", "{}/ec.crt".format(certs_path),
31 "-key", "{}/ec-priv.key".format(certs_path),
37 args.extend(["-cert", "{}/ec.crt".format(certs_path),
38 "-key", "{}/ec-priv.key".format(certs_path),
51 "-accept", "{}".format(port)])
/Zephyr-latest/scripts/build/
Dgen_isr_tables_parser_local.py113 self.__log.error("Cannot find sname null termination at IRQ{}".format(entry_raw[0]))
121 self.__log.debug("Unpacked IRQ{}, flags: {}, sname: \"{}\"\n".format(
133 self.__log.debug("{0:<3} {1:<5} {2}".format(
207 "different interrupts: {} and {}").format(sname, i, irq))
225 return '.irq_spurious.0x{:x}'.format(irq)
229 return '.isr_generated.0x{:x}'.format(irq)
233 return '.isr_shared.0x{:x}_0x{:x}'.format(irq, ent)
237 return '.isr_shared.0x{:x}_client_num'.format(irq)
240 return '_Z_ISR_TABLE_ENTRY({irq}, {func}, NULL, "{sect}");'.format(
247 return '_Z_ISR_TABLE_ENTRY({irq}, {func}, {arg}, "{sect}");'.format(
[all …]
/Zephyr-latest/lib/libc/minimal/include/
Dstdio.h37 int __printf_like(1, 2) printf(const char *ZRESTRICT format, ...);
39 const char *ZRESTRICT format, ...);
41 const char *ZRESTRICT format, ...);
43 const char *ZRESTRICT format, ...);
46 int __printf_like(1, 0) vprintf(const char *ZRESTRICT format, va_list list);
48 const char *ZRESTRICT format,
51 const char *ZRESTRICT format, va_list list);
53 const char *ZRESTRICT format,
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_blockwise.py29 fmt = leshan.format
31 leshan.format = 'OPAQUE'
43 leshan.format = fmt
50 fmt = leshan.format
52 leshan.format = 'OPAQUE'
73 leshan.format = fmt
87 fmt = leshan.format
89 leshan.format = 'OPAQUE'
100 leshan.format = fmt
105 leshan.format = fmt
[all …]
/Zephyr-latest/lib/posix/options/
Dsyslog.c48 void syslog(int priority, const char *format, ...) in syslog() argument
52 va_start(ap, format); in syslog()
53 vsyslog(priority, format, 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/subsys/bindesc/
Dgen_bindesc_build_time_h.cmake7 macro(get_time out_var format)
9 string(TIMESTAMP ${out_var} ${format})
11 string(TIMESTAMP ${out_var} ${format} UTC)
15 macro(gen_build_time_int_definition def_name format)
16 get_time(${def_name} ${format})
21 macro(gen_build_time_str_definition def_name format)
22 get_time(${def_name} ${${format}})
/Zephyr-latest/soc/microchip/mec/common/spigen/
Dmec_spi_gen.py86 print("{0} = {{ ".format(title), end='')
89 print("0x{0:02x}, ".format(v), end='')
319 print(" chip = {0}".format(args.chip))
320 print(" infilename = {0}".format(args.infilename))
321 print(" outfilename = {0}".format(args.outfilename))
322 print(" SPI size (kilobytes) = {0}".format(args.spi_size_kb))
323 print(" Entry point address = {0}".format(args.entry_point))
324 print(" SPI frequency MHz = {0}".format(args.spi_freq_mhz))
325 print(" SPI Read Mode = {0}".format(args.spi_read_mode))
326 print(" SPI Signalling Mode = {0}".format(args.spi_mode))
[all …]
/Zephyr-latest/scripts/
Dget_maintainer.py248 return "<Maintainers for '{}'>".format(self.filename)
259 _serr("'{}': no such file or directory".format(path))
287 print("{:25}\t{}".format(area.name, ",".join(area.maintainers)))
289 print("{:25}\t{}".format(area.name, ",".join(area.maintainers)))
313 print('{:14}\t{}'.format('areas:', len(self.areas)))
315 print('{:14}\t{}'.format('maintainers:', len(maintainers)))
317 print('{:14}\t{}'.format('collaborators:', len(collaborators)))
319 print('{:14}\t{}'.format('unmaintained:', unmaintained))
336 .format(args.area, self.filename))
346 _serr("'{}': no such file or directory".format(args.path))
[all …]
/Zephyr-latest/subsys/logging/
Dlog_output_custom.c21 void log_custom_output_msg_set(log_format_func_t format) in log_custom_output_msg_set() argument
23 log_custom_format_func = format; in log_custom_output_msg_set()
40 void log_custom_timestamp_set(log_timestamp_format_func_t format) in log_custom_timestamp_set() argument
42 log_timestamp_format_func = format; in log_custom_timestamp_set()
/Zephyr-latest/cmake/sca/eclair/
Dsca_options.cmake16 option(ECLAIR_METRICS_TAB "Metrics in a spreadsheet format" OFF)
17 option(ECLAIR_REPORTS_TAB "Findings in a spreadsheet format" OFF)
18 option(ECLAIR_REPORTS_SARIF "Findings in sarif JSON format" ON)
19 option(ECLAIR_SUMMARY_TXT "Plain textual summary format" OFF)
20 option(ECLAIR_SUMMARY_DOC "DOC summary format" OFF)
21 option(ECLAIR_SUMMARY_ODT "ODT summary format" OFF)
22 option(ECLAIR_FULL_TXT "Detailed plain textual format" ON)
23 option(ECLAIR_FULL_DOC "Detailed DOC format" OFF)
24 option(ECLAIR_FULL_ODT "Detailed ODT format" OFF)
/Zephyr-latest/doc/connectivity/networking/api/
Dptp_time.rst4 Precision Time Protocol (PTP) time format
15 format (nanoseconds). The extended timestamp format can store the
16 time in fractional nanoseconds accuracy. The PTP time format is used
/Zephyr-latest/scripts/ci/
Dpylintrc51 # logger.warning("foo {} bar".format(3)), but it's not a clear win in all
52 # cases. f-strings would be nicer too, and it's easier to convert from format()
56 # logging-format-interpolation
80 unexpected-line-ending-format,
101 misplaced-format-function,
152 logging-unsupported-format,
153 logging-format-truncated,
156 bad-format-character,
157 truncated-format-string,
158 mixed-format-string,
[all …]
/Zephyr-latest/scripts/native_simulator/native/src/
Dnsi_trace.c51 void nsi_vprint_warning(const char *format, va_list vargs) in nsi_vprint_warning() argument
60 vfprintf(stderr, format, vargs); in nsi_vprint_warning()
67 void nsi_vprint_error_and_exit(const char *format, va_list vargs) in nsi_vprint_error_and_exit() argument
76 vfprintf(stderr, format, vargs); in nsi_vprint_error_and_exit()
85 void nsi_vprint_trace(const char *format, va_list vargs) in nsi_vprint_trace() argument
94 vfprintf(stdout, format, vargs); in nsi_vprint_trace()
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_errors.c19 .format = I2S_FMT_DATA_FORMAT_I2S, in ZTEST_USER()
28 invalid_config.format = in ZTEST_USER()
36 invalid_config.format = I2S_FMT_DATA_FORMAT_I2S | I2S_FMT_DATA_ORDER_LSB; in ZTEST_USER()
43 invalid_config.format = I2S_FMT_DATA_FORMAT_I2S; in ZTEST_USER()
57 .format = I2S_FMT_DATA_FORMAT_I2S, in ZTEST_USER()
90 .format = I2S_FMT_DATA_FORMAT_I2S, in ZTEST_USER()
114 .format = I2S_FMT_DATA_FORMAT_I2S, in ZTEST_USER()
138 .format = I2S_FMT_DATA_FORMAT_I2S, in ZTEST_USER()

12345678910>>...21