Home
last modified time | relevance | path

Searched full:format (Results 1 – 25 of 1089) sorted by relevance

12345678910>>...44

/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/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/include/zephyr/tracing/
Dtracing_format.h17 * @brief Tracing format APIs
18 * @defgroup subsys_tracing_format_apis Tracing format APIs
23 /** @brief A structure to represent tracing data format. */
30 * @brief Macro to trace a message in string format.
32 * @param fmt The format string.
33 * @param ... The format arguments.
41 * @brief Macro to format data to tracing data format.
49 * @brief Macro to trace a message in tracing data format.
62 * @brief Tracing a message in string format.
64 * @param str String to format.
[all …]
/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/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/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/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/subsys/logging/
DKconfig.formatting25 bool "MIPI SyS-T format output"
29 Enable MIPI SyS-T format output for the logger system.
60 the call stack for processing the logging format strings MIPI Sys-T library.
108 the log output when there are long format strings to be logged.
119 bool "Custom format support"
123 Allows custom format callbacks registering for logging backend.
180 prompt "Timestamp format mode"
185 bool "Format timestamp in time format"
190 bool "Format timestamp in date format"
196 bool "Format timestamp in ISO 8601 format"
[all …]
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()
31 __ASSERT(log_timestamp_format_func != NULL, "custom timestamp format function not set"); in log_custom_timestamp_print()
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/subsys/bindesc/
DKconfig.build_time77 string "Date-Time format"
80 Format of the build time string. This value is passed to cmake's string(TIMESTAMP ...)
83 example, setting the format to "2023-02-05T00:07:04+0000" will set it as the build time,
87 Example of the default format: 2023-09-29T17:43:14+0000.
88 Note: the default format complies with ISO-8601.
91 string "Date format"
94 Format of the build date string. This value is passed to cmake's string(TIMESTAMP ...)
97 example, setting the format to "2023-02-05" will set it as the build time,
99 Example of the default format: 2023-02-05
100 Note: the default format complies with ISO-8601.
[all …]
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/include/zephyr/net/prometheus/
Dformatter.h22 * @brief Format exposition data for Prometheus
25 * Function will format metric data according to Prometheus text-based format
27 * @param collector Pointer to the collector containing the data to format.
37 * @brief Format exposition data for one metric for Prometheus
40 * Function will format metric data according to Prometheus text-based format.
42 * @param metric Pointer to the metric containing the data to format.
/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/tests/net/lib/lwm2m/interop/pytest/
Dtest_blockwise.py26 """Blockwise test 1: Block-Wise PUT using OPAQUE content format"""
29 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
[all …]
/Zephyr-latest/scripts/west_commands/
Dshields.py39 FORMAT STRINGS
42 Shields are listed using a Python 3 format string. Arguments
43 to the format string are accessed by name.
45 The default format string is:
57 parser.add_argument('-f', '--format', default=default_fmt,
58 help='''Format string to use to list each shield;
59 see FORMAT STRINGS below.''')
85 self.inf(args.format.format(name=shield.name, dir=shield.dir))
Dboards.py38 FORMAT STRINGS
41 Boards are listed using a Python 3 format string. Arguments
42 to the format string are accessed by name.
44 The default format string is:
61 parser.add_argument('-f', '--format', default=default_fmt,
62 help='''Format string to use to list each board;
63 see FORMAT STRINGS below.''')
96 self.inf(args.format.format(name=board.name, arch=board.arch,
103 args.format.format(
Dblobs.py38 FORMAT STRINGS
41 Blobs are listed using a Python 3 format string. Arguments
42 to the format string are accessed by name.
44 The default format string is:
74 group.add_argument('-f', '--format',
75 help='''format string to use to list each blob;
76 see FORMAT STRINGS below''')
103 fmt = args.format or self.DEFAULT_LIST_FMT
105 self.inf(fmt.format(**blob))
124 self.dbg('Verifying blob {module}: {abspath}'.format(**blob))
[all …]
/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/samples/subsys/fs/format/
DREADME.rst1 .. zephyr:code-sample:: fs-format
2 :name: Format filesystem
5 Format different storage devices for different file systems.
10 This sample shows how to format different storage
30 :zephyr-app: samples/subsys/fs/format
38 :zephyr-app: samples/subsys/fs/format
53 I: Format successful
/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/subsys/tracing/include/
Dtracing_format_common.h19 * @brief A structure to represent tracing format context.
27 * @brief Put string format tracing message to tracing buffer.
29 * @param str String to format.
37 * @brief Put raw data format tracing message to tracing buffer.
47 * @brief Put tracing_data format message to tracing buffer.
49 * @param tracing_data_array Tracing_data format data array to be traced.
/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,

12345678910>>...44