/Zephyr-Core-3.6.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.6.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.6.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.6.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.6.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.6.0/arch/posix/core/nsi_compat/ |
D | nsi_compat.c | 19 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()
|
D | nsi_tracing.h | 14 void nsi_print_error_and_exit(const char *format, ...); 15 void nsi_print_warning(const char *format, ...); 16 void nsi_print_trace(const char *format, ...);
|
/Zephyr-Core-3.6.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.6.0/doc/_extensions/zephyr/ |
D | application.py | 159 raise self.error('Unknown tool {}; choose from: {}'.format( 172 raise self.error('Unknown generator {}; choose from: {}'.format( 176 raise self.error('Unknown host-os {}; choose from: {}'.format( 223 paragraph += nodes.Text(tool_comment.format('west')) 233 paragraph += nodes.Text(tool_comment.format( 234 'CMake and {}'.format(generator))) 272 cmake_args = ' --{}'.format(cmake_args) if cmake_args != '' else '' 273 west_args = ' {}'.format(west_args) if west_args else '' 274 flash_args = ' {}'.format(flash_args) if flash_args else '' 277 src = ' {}'.format(app) if app and not cd_into else '' [all …]
|
/Zephyr-Core-3.6.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.6.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.6.0/include/zephyr/sys/ |
D | cbprintf.h | 434 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-Core-3.6.0/scripts/build/ |
D | gen_isr_tables_parser_local.py | 113 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-Core-3.6.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.6.0/soc/arm/microchip_mec/common/spigen/ |
D | mec_spi_gen.py | 86 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-Core-3.6.0/scripts/ |
D | get_maintainer.py | 248 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-Core-3.6.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() 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-Core-3.6.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
|
/Zephyr-Core-3.6.0/scripts/native_simulator/native/src/ |
D | nsi_trace.c | 51 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-Core-3.6.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.6.0/drivers/rtc/ |
D | rtc_shell.c | 115 static char *strptime(const char *s, const char *format, struct tm *tm_time) in strptime() argument 120 if (!strcmp(format, format_iso8601)) { in strptime() 138 } else if (!strcmp(format, format_time)) { in strptime() 141 } else if (!strcmp(format, format_date)) { in strptime() 166 const char *format; in cmd_set() local 169 format = format_iso8601; in cmd_set() 171 format = format_date; in cmd_set() 173 format = format_time; in cmd_set() 176 char *parseRes = strptime(argv[1], format, tm_time); in cmd_set()
|
/Zephyr-Core-3.6.0/scripts/west_commands/ |
D | build.py | 164 log.dbg('args: {} remainder: {}'.format(args, remainder), 186 log.die("source directory specified twice:({} and {})".format( 189 log.dbg('source_dir: {} cmake_opts: {}'.format(self.args.source_dir, 203 format(pristine)) 207 log.dbg('pristine: {} auto_pristine: {}'.format(pristine, 318 args = ["-D{}".format(arg.replace('"', '\"')) for arg in arg_list] 323 args = ["-D{}".format(a.replace('"', '\"')) for a in config_options] 324 … args.extend(["-D{}".format(arg.replace('"', '')) for arg in non_config_options]) 360 args_expanded = ["-D{}".format(a.replace('"', '')) for a in args] 374 'source directory {} does not exist'.format(app)) [all …]
|
D | blobs.py | 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)) 120 log.inf('Fetching blob {module}: {abspath}'.format(**blob)) 127 log.dbg('Blob {module}: {abspath} not in filesystem'.format(**blob)) 129 log.inf('Deleting blob {module}: {status} {abspath}'.format(**blob)) 137 if args.subcmd[0] != 'list' and args.format is not None:
|
/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/interop/pytest/ |
D | test_lwm2m.py | 92 fmt = leshan.format 93 leshan.format = 'TEXT' 97 leshan.format = fmt 120 fmt = leshan.format 121 leshan.format = 'TLV' 124 leshan.format = fmt 128 fmt = leshan.format 129 leshan.format = 'JSON' 132 leshan.format = fmt 136 fmt = leshan.format [all …]
|