/Zephyr-Core-2.7.6/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-2.7.6/doc/_extensions/zephyr/ |
D | application.py | 143 raise self.error('Unknown tool {}; choose from: {}'.format( 150 raise self.error('Unknown generator {}; choose from: {}'.format( 154 raise self.error('Unknown host-os {}; choose from: {}'.format( 198 paragraph += nodes.Text(tool_comment.format('west')) 208 paragraph += nodes.Text(tool_comment.format( 209 'CMake and {}'.format(generator))) 244 cmake_args = ' --{}'.format(cmake_args) if cmake_args != '' else '' 247 src = ' {}'.format(app) if app and not cd_into else '' 248 dst = ' -d {}'.format(build_dir) if build_dir != 'build' else '' 254 content.append('cd {}'.format(app)) [all …]
|
/Zephyr-Core-2.7.6/lib/libc/minimal/source/stdout/ |
D | fprintf.c | 15 int fprintf(FILE *_MLIBC_RESTRICT stream, const char *_MLIBC_RESTRICT 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 *_MLIBC_RESTRICT stream, const char *_MLIBC_RESTRICT format, in vfprintf() argument 32 r = cbvprintf(fputc, DESC(stream), format, vargs); in vfprintf() 37 int printf(const char *_MLIBC_RESTRICT 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 *_MLIBC_RESTRICT format, va_list vargs) in vprintf() argument 53 r = cbvprintf(fputc, DESC(stdout), format, vargs); in vprintf()
|
D | sprintf.c | 29 const char *_MLIBC_RESTRICT 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 *_MLIBC_RESTRICT str, const char *_MLIBC_RESTRICT 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 *_MLIBC_RESTRICT format, va_list vargs) in vsnprintf() argument 84 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in vsnprintf() 90 int vsprintf(char *_MLIBC_RESTRICT str, const char *_MLIBC_RESTRICT format, in vsprintf() argument 99 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in vsprintf()
|
/Zephyr-Core-2.7.6/ |
D | .clang-format | 3 # clang-format configuration file. Intended for clang-format >= 4. 7 # Documentation/process/clang-format.rst 16 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 40 #AfterExternBlock: false # Unknown to clang-format-5.0 44 #SplitEmptyFunction: true # Unknown to clang-format-4.0 45 #SplitEmptyRecord: true # Unknown to clang-format-4.0 46 #SplitEmptyNamespace: true # Unknown to clang-format-4.0 49 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 52 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0 57 #CompactNamespaces: false # Unknown to clang-format-4.0 [all …]
|
/Zephyr-Core-2.7.6/boards/posix/native_posix/ |
D | tracing.c | 19 void posix_print_error_and_exit(const char *format, ...) in posix_print_error_and_exit() argument 23 va_start(variable_args, format); in posix_print_error_and_exit() 24 vfprintf(stderr, format, variable_args); in posix_print_error_and_exit() 29 void posix_print_warning(const char *format, ...) in posix_print_warning() argument 33 va_start(variable_args, format); in posix_print_warning() 34 vfprintf(stderr, format, variable_args); in posix_print_warning() 38 void posix_print_trace(const char *format, ...) in posix_print_trace() argument 42 va_start(variable_args, format); in posix_print_trace() 43 vfprintf(stdout, format, variable_args); in posix_print_trace()
|
/Zephyr-Core-2.7.6/boards/posix/nrf52_bsim/ |
D | trace_hook.c | 74 void posix_print_error_and_exit(const char *format, ...) in posix_print_error_and_exit() argument 78 va_start(variable_argsp, format); in posix_print_error_and_exit() 80 format, variable_argsp); in posix_print_error_and_exit() 85 void posix_print_warning(const char *format, ...) in posix_print_warning() argument 89 va_start(variable_argsp, format); in posix_print_warning() 91 format, variable_argsp); in posix_print_warning() 95 void posix_print_trace(const char *format, ...) in posix_print_trace() argument 99 va_start(variable_argsp, format); in posix_print_trace() 101 format, variable_argsp); in posix_print_trace()
|
/Zephyr-Core-2.7.6/include/sys/ |
D | cbprintf.h | 196 const char *format, 236 const char *format, 318 int cbprintf(cbprintf_cb out, void *ctx, const char *format, ...); 345 int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap); 368 int fprintfcb(FILE * stream, const char *format, ...); 387 int vfprintfcb(FILE *stream, const char *format, va_list ap); 406 int printfcb(const char *format, ...); 423 int vprintfcb(const char *format, va_list ap); 449 int snprintfcb(char *str, size_t size, const char *format, ...); 473 int vsnprintfcb(char *str, size_t size, const char *format, va_list ap);
|
/Zephyr-Core-2.7.6/lib/libc/minimal/include/ |
D | stdio.h | 34 int __printf_like(1, 2) printf(const char *_MLIBC_RESTRICT format, ...); 36 const char *_MLIBC_RESTRICT format, ...); 38 const char *_MLIBC_RESTRICT format, ...); 40 const char *_MLIBC_RESTRICT format, ...); 43 int __printf_like(1, 0) vprintf(const char *_MLIBC_RESTRICT format, va_list list); 45 const char *_MLIBC_RESTRICT format, 48 const char *_MLIBC_RESTRICT format, va_list list); 50 const char *_MLIBC_RESTRICT format,
|
/Zephyr-Core-2.7.6/scripts/west_commands/tests/ |
D | test_blackmagicprobe.py | 23 '-ex', "target extended-remote {}".format(TEST_GDB_SERIAL), 26 '-ex', "file {}".format(RC_KERNEL_ELF)],), 30 '-ex', "target extended-remote {}".format(TEST_GDB_SERIAL), 33 '-ex', "file {}".format(RC_KERNEL_ELF), 34 '-ex', "load {}".format(RC_KERNEL_ELF)],), 38 '-ex', "target extended-remote {}".format(TEST_GDB_SERIAL), 41 '-ex', "load {}".format(RC_KERNEL_ELF),
|
/Zephyr-Core-2.7.6/scripts/ |
D | get_maintainer.py | 221 return "<Maintainers for '{}'>".format(self.filename) 232 _serr("'{}': no such file or directory".format(path)) 260 print("{:25}\t{}".format(area.name, ",".join(area.maintainers))) 262 print("{:25}\t{}".format(area.name, ",".join(area.maintainers))) 279 .format(args.area, self.filename)) 289 _serr("'{}': no such file or directory".format(args.path)) 334 return "<Area {}>".format(self.name) 351 \tdescription: {}""".format(area.name, 388 regex += "^(?:{})".format("|".join(glob_regexes)) 407 raise MaintainersError("{}: YAML error: {}".format(path, e)) [all …]
|
D | gen_relocate_app.py | 234 print_string += PRINT_TEMPLATE.format(section) 242 load_address_string = LOAD_ADDRESS_LOCATION_FLASH.format(memory_type) 244 load_address_string = LOAD_ADDRESS_LOCATION_BSS.format(memory_type) 257 … linker_string += LINKER_SECTION_SEQ_MPU.format(memory_type.lower(), region, memory_type.upper(), 262 … linker_string += LINKER_SECTION_SEQ_MPU.format(memory_type.lower(), region, memory_type.upper(), 265 … linker_string += LINKER_SECTION_SEQ.format(memory_type.lower(), region, memory_type.upper(), 268 … linker_string += SECTION_LOAD_MEMORY_SEQ.format(memory_type.lower(), region, memory_type.upper(), 282 gen_string += MPU_RO_REGION_START.format(memory_type.lower(), memory_type.upper()) 286 gen_string += MPU_RO_REGION_END.format(memory_type.lower()) 327 code_generation["copy_code"] += MEMCPY_TEMPLATE.format(memory_type.lower(), mtype) [all …]
|
D | gen_app_partitions.py | 205 string = linker_start_seq.format(lnkr_sect, lnkr_sect.upper()) 208 string += data_template.format(partition) 211 string += library_data_template.format(lib) 212 string += bss_template.format(partition, lnkr_sect) 215 string += library_bss_template.format(lib) 216 string += footer_template.format(partition) 217 size_string += size_cal_string.format(partition) 219 string += linker_end_seq.format(lnkr_sect) 222 string = empty_app_smem.format(lnkr_sect, lnkr_sect.upper()) 298 print(" {0}: size {1}: {2}".format(key, [all …]
|
/Zephyr-Core-2.7.6/scripts/west_commands/runners/ |
D | blackmagicprobe.py | 43 '-ex', "target extended-remote {}".format(self.gdb_serial), 46 '-ex', "load {}".format(self.elf_file), 63 '-ex', "target extended-remote {}".format( 70 '-ex', "target extended-remote {}".format( 74 '-ex', "file {}".format(self.elf_file)]) 82 '-ex', "target extended-remote {}".format(self.gdb_serial), 85 '-ex', "file {}".format(self.elf_file), 86 '-ex', "load {}".format(self.elf_file)])
|
D | stm32flash.py | 102 msg_text = "get device info from {}".format(self.device) 108 msg_text = "erase {} bit starting at {}".format(size_aligned, self.start_addr) 114 msg_text = "start code execution at {}".format(self.exec_addr) 125 msg_text = "write {} bytes starting at {}".format(bin_size, self.start_addr) 143 msg_text = "invalid action \'{}\' passed!".format(action) 144 self.logger.error('Invalid action \'{}\' passed!'.format(action)) 150 self.logger.info('Board: finished \'{}\' .'.format(action))
|
/Zephyr-Core-2.7.6/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-2.7.6/doc/reference/networking/ |
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-2.7.6/include/arch/posix/ |
D | posix_trace.h | 13 void posix_print_error_and_exit(const char *format, ...); 14 void posix_print_warning(const char *format, ...); 15 void posix_print_trace(const char *format, ...);
|
/Zephyr-Core-2.7.6/scripts/west_commands/ |
D | build.py | 137 log.dbg('args: {} remainder: {}'.format(args, remainder), 147 log.die("source directory specified twice:({} and {})".format( 150 log.dbg('source_dir: {} cmake_opts: {}'.format(self.args.source_dir, 164 format(pristine)) 168 log.dbg('pristine: {} auto_pristine: {}'.format(pristine, 257 args = ["-D{}".format(arg.replace('"', '')) for arg in arg_list] 268 'source directory {} does not exist'.format(app)) 271 "{} doesn't contain a CMakeLists.txt".format(app)) 296 format(build_dir)) 328 format(self.source_dir, self.build_dir)) [all …]
|
D | build_helpers.py | 30 '''.format(DEFAULT_BUILD_DIR) 45 return fmt.format(**kwargs) 63 b = Path(str(b).format(**kwargs)) 96 log.dbg('config dir-fmt: {}'.format(default), level=log.VERBOSE_EXTREME) 103 log.dbg('build dir: {}'.format(build_dir), level=log.VERBOSE_EXTREME)
|
D | zcmake.py | 58 in_cwd = ' (in {})'.format(cwd) if cwd else '' 59 log.inf('Dry run{}:'.format(in_cwd), quote_sh_list(cmd)) 167 raise ValueError('invalid bool {}'.format(val)) from exc 189 args = exc.args + ('on line {}: {}'.format(line_no, line),) 205 return fmt.format(self.name, self.value) 247 raise RuntimeError(msg.format(value, type(value))) 260 raise TypeError(msg.format(type(entry), entry)) 284 format(decoded) + 295 format(_MIN_CMAKE_VERSION_STR),
|
D | sign.py | 149 'no such build directory {}'.format(build_dir)) 152 'directory'.format(build_dir)) 162 format(build_dir)) 172 format(build_dir)) 246 log.inf('partition offset: {0} (0x{0:x})'.format(addr)) 247 log.inf('partition size: {0} (0x{0:x})'.format(size)) 248 log.inf('rom start offset: {0} (0x{0:x})'.format(vtoff)) 310 False, "build .config is missing a {} value".format(item)) 373 'DT flash device write-block-size {}'.format(align)) 387 log.die('expected nonzero slot size for {}'.format(image_key)) [all …]
|
/Zephyr-Core-2.7.6/arch/common/ |
D | gen_isr_tables.py | 98 debug("{0:<10} {1:<3} {2:<3} {3}".format( 153 fp.write("\t{},\n".format(vt[i])) 168 func_as_string = "{0:#x}".format(func) 174 format(level2_offset)) 177 format(level3_offset)) 179 fp.write("\t{{(const void *){0:#x}, (ISR){1}}},\n".format(param, func_as_string)) 195 format(irq, irq_aggregator_pos) + 212 format(str(i).zfill(2))] for i in 215 debug('2nd level offsets: {}'.format(list_2nd_lvl_offsets)) 221 format(str(i).zfill(2))] for i in [all …]
|
/Zephyr-Core-2.7.6/scripts/kconfig/ |
D | kconfiglib.py | 982 self._unset_match = _re_match(r"# {}([^ ]+) is not set".format( 1223 .format(filename) 1226 .format(defconfig, filename) 1230 msg = " configuration '{}'".format(filename) 1290 .format(val, TYPE_TO_STR[sym.orig_type], 1318 .format(sym.name_and_loc), 1333 .format(line), 1375 .format(val, name), filename, linenr) 1386 msg = '{} set more than once. Old value "{}", new value "{}".'.format( 1457 return "Kconfig header saved to '{}'".format(filename) [all …]
|
D | hardenconfig.py | 61 print('{:^50}|{:^13}|{:^20}'.format('name', 'current', 'recommended'), end='') 62 print('||{:^28}\n'.format('check result'), end='') 69 print('CONFIG_{:<43}|{:^13}|{:^20}'.format( 71 print('||{:^28}\n'.format(opt.result), end='')
|