/Zephyr-Core-3.5.0/boards/posix/nrf_bsim/common/ |
D | trace_hook.c | 24 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-Core-3.5.0/boards/posix/native_sim/ |
D | posix_arch_if.c | 23 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-Core-3.5.0/lib/os/ |
D | cbprintf.c | 11 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-Core-3.5.0/scripts/native_simulator/common/src/ |
D | nsi_trace_varg.c | 10 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-Core-3.5.0/include/zephyr/tracing/ |
D | tracing_format.h | 17 * @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-Core-3.5.0/arch/posix/core/nsi_compat/ |
D | nsi_compat.c | 17 void nsi_print_error_and_exit(const char *format, ...) in nsi_print_error_and_exit() argument 21 va_start(variable_args, format); in nsi_print_error_and_exit() 22 posix_vprint_error_and_exit(format, variable_args); in nsi_print_error_and_exit() 26 void nsi_print_warning(const char *format, ...) in nsi_print_warning() argument 30 va_start(variable_args, format); in nsi_print_warning() 31 posix_vprint_warning(format, variable_args); in nsi_print_warning() 35 void nsi_print_trace(const char *format, ...) in nsi_print_trace() argument 39 va_start(variable_args, format); in nsi_print_trace() 40 posix_vprint_trace(format, variable_args); in nsi_print_trace()
|
/Zephyr-Core-3.5.0/lib/libc/minimal/source/stdout/ |
D | fprintf.c | 15 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()
|
D | sprintf.c | 29 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-Core-3.5.0/boards/posix/native_posix/ |
D | tracing.c | 19 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-Core-3.5.0/subsys/bindesc/ |
D | Kconfig.build_time | 78 string "Date-Time format" 81 Format of the build time string. This value is passed to cmake's string(TIMESTAMP ...) 84 example, setting the format to "2023-02-05T00:07:04+0000" will set it as the build time, 88 Example of the default format: 2023-09-29T17:43:14+0000. 89 Note: the default format complies with ISO-8601. 93 string "Date format" 96 Format of the build date string. This value is passed to cmake's string(TIMESTAMP ...) 99 example, setting the format to "2023-02-05" will set it as the build time, 101 Example of the default format: 2023-02-05 102 Note: the default format complies with ISO-8601. [all …]
|
D | CMakeLists.txt | 14 macro(get_time out_var format) 16 string(TIMESTAMP ${out_var} ${format}) 18 string(TIMESTAMP ${out_var} ${format} UTC) 22 macro(gen_build_time_int_definition def_name format) 24 get_time(${def_name} ${format}) 31 macro(gen_build_time_str_definition def_name format) 33 get_time(${def_name} ${${format}})
|
/Zephyr-Core-3.5.0/scripts/tests/twister/ |
D | test_harness.py | 64 SAMPLE_GTEST_FMT.format( 83 SAMPLE_GTEST_FMT.format( 86 SAMPLE_GTEST_FMT.format( 103 SAMPLE_GTEST_FMT.format( 106 SAMPLE_GTEST_FMT.format( 123 SAMPLE_GTEST_FMT.format( 126 SAMPLE_GTEST_FMT.format( 144 SAMPLE_GTEST_FMT.format( 147 SAMPLE_GTEST_FMT.format( 150 SAMPLE_GTEST_FMT.format( [all …]
|
/Zephyr-Core-3.5.0/scripts/ci/ |
D | pylintrc | 51 # 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 81 unexpected-line-ending-format, 102 misplaced-format-function, 153 logging-unsupported-format, 154 logging-format-truncated, 157 bad-format-character, 158 truncated-format-string, 159 mixed-format-string, [all …]
|
/Zephyr-Core-3.5.0/doc/_extensions/zephyr/ |
D | application.py | 148 raise self.error('Unknown tool {}; choose from: {}'.format( 155 raise self.error('Unknown generator {}; choose from: {}'.format( 159 raise self.error('Unknown host-os {}; choose from: {}'.format( 204 paragraph += nodes.Text(tool_comment.format('west')) 214 paragraph += nodes.Text(tool_comment.format( 215 'CMake and {}'.format(generator))) 251 cmake_args = ' --{}'.format(cmake_args) if cmake_args != '' else '' 252 west_args = ' {}'.format(west_args) if west_args else '' 255 src = ' {}'.format(app) if app and not cd_into else '' 256 dst = ' -d {}'.format(build_dir) if build_dir != 'build' else '' [all …]
|
/Zephyr-Core-3.5.0/scripts/west_commands/ |
D | blobs.py | 39 FORMAT STRINGS 42 Blobs are listed using a Python 3 format string. Arguments 43 to the format string are accessed by name. 45 The default format string is: 75 group.add_argument('-f', '--format', 76 help='''format string to use to list each blob; 77 see FORMAT STRINGS below''') 96 fmt = args.format or self.DEFAULT_LIST_FMT 98 log.inf(fmt.format(**blob)) 118 log.dbg('Blob {module}: {abspath} is up to date'.format(**blob)) [all …]
|
D | boards.py | 39 FORMAT STRINGS 42 Boards are listed using a Python 3 format string. Arguments 43 to the format string are accessed by name. 45 The default format string is: 58 parser.add_argument('-f', '--format', default=default_fmt, 59 help='''Format string to use to list each board; 60 see FORMAT STRINGS below.''') 87 log.inf(args.format.format(name=board.name, arch=board.arch,
|
/Zephyr-Core-3.5.0/include/zephyr/arch/posix/ |
D | posix_trace.h | 15 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-Core-3.5.0/samples/subsys/fs/format/ |
D | README.rst | 1 .. 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 28 :zephyr-app: samples/subsys/fs/format 36 :zephyr-app: samples/subsys/fs/format 51 I: Format successful
|
/Zephyr-Core-3.5.0/subsys/logging/ |
D | log_output_custom.c | 21 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()
|
D | Kconfig.formatting | 25 bool "MIPI SyS-T format output" 29 Enable MIPI SyS-T format output for the logger system. 55 the call stack for processing the logging format strings MIPI Sys-T library. 103 the log output when there are long format strings to be logged. 114 bool "Custom format support" 118 Allows custom format callbacks registering for logging backend. 170 bool "Format timestamp in Linux format" 172 This formatting is something in the middle between the pure raw format 173 and the hh:mm:ss:ms,us one. It resembles the Linux's kernel format in 178 bool "Custom timestamp format support"
|
/Zephyr-Core-3.5.0/lib/libc/minimal/include/ |
D | stdio.h | 37 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-Core-3.5.0/scripts/native_simulator/common/src/include/ |
D | nsi_tracing.h | 24 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-Core-3.5.0/subsys/tracing/include/ |
D | tracing_format_common.h | 19 * @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-Core-3.5.0/include/zephyr/sys/ |
D | cbprintf.h | 76 * cbprintf package header, without the format string pointer. 92 /** @brief cbprintf package header with format string pointer. 94 * cbprintf package header with format string pointer. 100 /** Pointer to format string */ 171 /** @brief Indicate that @p n first string format arguments are char pointers to 181 /** @brief Get number of first format string arguments which are known to be read-only 245 /** @brief Check format string if %p argument was treated as %s in the package. 247 * Static packaging is done based only on types of arguments used for a format 248 * string. Without looking into format specifiers present in the string. Because 255 * When this flag is set, format string will be checked to detect cases when [all …]
|
/Zephyr-Core-3.5.0/doc/connectivity/networking/api/ |
D | ptp_time.rst | 4 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
|