/Zephyr-Core-2.7.6/scripts/tests/twister/ |
D | test_twister.py | 21 filename = 'testcase_nc.yaml' 23 scl.yaml_load(filename) 29 def test_correct_schema(filename, schema, test_data): argument 31 filename = test_data + filename 33 data = TwisterConfigParser(filename, schema) 41 def test_incorrect_schema(filename, schema, test_data): argument 43 filename = test_data + filename 46 scl.yaml_load_verify(filename, schema)
|
D | test_reporting_testsuite.py | 29 filename = tmpdir.mkdir("test_discard").join("discard_report.csv") 31 class_testsuite.discard_report(filename) 37 class_testsuite.discard_report(filename) 38 assert os.stat(filename).st_size != 0 39 with open(filename, "r") as file: 48 filename = tmpdir.mkdir("test_csv").join("twister_csv_report.csv") 49 class_testsuite.csv_report(filename) 50 assert os.path.exists(filename) 51 assert os.stat(filename).st_size != 0 57 with open(filename, "r") as file: [all …]
|
/Zephyr-Core-2.7.6/scripts/ |
D | gen_gcov_files.py | 47 for filename, hexdump_val in extracted_coverage_info.items(): 49 print(filename) 52 if "kobject_hash" in filename: 53 filename = filename[:-4] + "gcno" 55 os.remove(filename) 60 with open(filename, 'wb') as fp:
|
D | gen_app_partitions.py | 109 def find_obj_file_partitions(filename, partitions): argument 110 with open(filename, 'rb') as f: 117 sys.exit("Error parsing file: " + filename) 130 partitions[partition_name][SRC] = filename 142 for filename in files: 143 if re.match(r".*\.obj$", filename): 144 fullname = os.path.join(dirpath, filename)
|
D | gen_relocate_app.py | 148 def find_sections(filename, full_list_of_sections): argument 149 with open(filename, 'rb') as obj_file_desc: 152 sys.exit("Error parsing file: " + filename) 383 def get_obj_filename(searchpath, filename): argument 385 obj_filename = filename.split("/")[-1] + ".obj" 390 if filename.split("/")[-2] in dirpath.split("/")[-1]: 438 for filename in files: 439 obj_filename = get_obj_filename(searchpath, filename)
|
D | get_maintainer.py | 144 def __init__(self, filename=None): argument 155 if filename is None: 156 self.filename = self._toplevel / "MAINTAINERS.yml" 158 self.filename = pathlib.Path(filename) 161 for area_name, area_dict in _load_maintainers(self.filename).items(): 221 return "<Maintainers for '{}'>".format(self.filename) 279 .format(args.area, self.filename))
|
D | zephyr_module.py | 102 def validate_setting(setting, module_path, filename=None): argument 104 if filename is not None: 105 checkfile = os.path.join(module_path, setting, filename)
|
/Zephyr-Core-2.7.6/scripts/west_commands/tests/ |
D | test_stm32flash.py | 63 def os_path_getsize_patch(filename): argument 64 if filename == RC_KERNEL_BIN: 66 return os.path.isfile(filename) 70 def os_path_isfile_patch(filename): argument 71 if filename == RC_KERNEL_BIN: 73 return os_path_isfile(filename)
|
D | test_canopen_program.py | 37 def os_path_isfile_patch(filename): argument 38 if filename == RC_KERNEL_BIN: 40 return os_path_isfile(filename)
|
D | test_dfu_util.py | 60 def os_path_isfile_patch(filename): argument 61 if filename == RC_KERNEL_BIN: 63 return os_path_isfile(filename)
|
D | test_bossac.py | 149 def os_path_isfile_patch(filename): argument 150 if filename == RC_KERNEL_BIN: 152 return os_path_isfile(filename)
|
D | test_nrfjprog.py | 372 def os_path_isfile_patch(filename): argument 373 if filename == RC_KERNEL_HEX: 375 return os_path_isfile(filename)
|
/Zephyr-Core-2.7.6/scripts/pylib/twister/ |
D | scl.py | 26 def yaml_load(filename): argument 39 with open(filename, 'r') as f: 67 def yaml_load_verify(filename, schema): argument 80 y = yaml_load(filename)
|
D | twisterlib.py | 415 filename = os.path.join(self.build_dir, "recording.csv") 416 with open(filename, "at") as csvfile: 1255 def __init__(self, filename, extra_sections): argument 1262 with open(filename, "rb") as f: 1267 raise TwisterRuntimeError("%s is not an ELF binary" % filename) 1275 is_xip_command = "nm " + filename + \ 1282 raise TwisterRuntimeError("%s has no symbol information" % filename) 1289 self.filename = filename 1324 objdump_command = "objdump -h " + self.filename 1382 def __init__(self, filename, schema): argument [all …]
|
/Zephyr-Core-2.7.6/scripts/kconfig/ |
D | kconfiglib.py | 867 def __init__(self, filename="Kconfig", warn=True, warn_to_stderr=True, argument 947 self._init(filename, warn, warn_to_stderr, encoding) 959 def _init(self, filename, warn, warn_to_stderr, encoding): argument 1054 self.top_node.filename = filename 1061 self.kconfig_filenames = [filename] 1070 self.filename = filename 1080 self._readline = self._open(join(self.srctree, filename), "r").readline 1089 _decoding_error(e, self.filename) 1139 for filename, cond in self.defconfig_list.defaults: 1142 with self._open_config(filename.str_value) as f: [all …]
|
D | guiconfig.py | 1360 filename = _conf_filename 1362 filename = filedialog.asksaveasfilename( 1364 initialdir=os.path.dirname(filename), 1365 initialfile=os.path.basename(filename), 1368 if not filename: 1371 if _try_save(_kconf.write_config, filename, "configuration"): 1372 _conf_filename = filename 1384 filename = _minconf_filename 1386 filename = filedialog.asksaveasfilename( 1388 initialdir=os.path.dirname(filename), [all …]
|
D | menuconfig.py | 897 filename = _save_dialog(_kconf.write_config, _conf_filename, 899 if filename: 900 _conf_filename = filename 904 filename = _save_dialog(_kconf.write_min_config, _minconf_filename, 906 if filename: 907 _minconf_filename = filename 1827 filename = _conf_filename 1829 filename = _input_dialog("File to load", filename, _load_save_info()) 1830 if filename is None: 1833 filename = os.path.expanduser(filename) [all …]
|
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/ |
D | dtlib.py | 322 .format(self.name, self.node.path, self.node.dt.filename, 343 .format(self.name, self.node.path, self.node.dt.filename, 362 .format(self.name, self.node.path, self.node.dt.filename, 382 .format(self.name, self.node.path, self.node.dt.filename, 408 .format(self.name, self.node.path, self.node.dt.filename, 432 .format(self.name, self.node.path, self.node.dt.filename, 459 self.node.dt.filename, self)) 480 .format(self.name, self.node.path, self.node.dt.filename, 656 filename: str 715 def __init__(self, filename: str, include_path: Iterable[str] = (), [all …]
|
/Zephyr-Core-2.7.6/arch/x86/ |
D | gen_idt.py | 86 def create_idt_binary(idt_config, filename): argument 87 with open(filename, "wb") as fp: 106 def create_irq_vec_map_binary(irq_vec_map, filename): argument 107 with open(filename, "wb") as fp: 271 def create_irq_vectors_allocated(vectors, spur_code, spur_nocode, filename): argument 286 with open(filename, "wb") as fp:
|
/Zephyr-Core-2.7.6/subsys/testsuite/coverage/ |
D | coverage.c | 201 void dump_on_console(const char *filename, char *ptr, size_t len) in dump_on_console() argument 206 while (*filename != '\0') { in dump_on_console() 207 printk("%c", *filename++); in dump_on_console() 247 dump_on_console(gcov_list->filename, buffer, size); in gcov_coverage_dump()
|
D | coverage.h | 92 const char *filename; /* Name of the associated gcda data file */ member
|
/Zephyr-Core-2.7.6/cmake/emu/ |
D | armfvp.cmake | 36 string(TOLOWER ${filetype} filename) 38 "or with -DARMFVP_${filetype}_FILE=</path/to/${filename}.bin>")
|
/Zephyr-Core-2.7.6/samples/net/civetweb/common/include/ |
D | libc_extensions.h | 45 FILE *fopen(const char *filename, const char *mode); 48 int remove(const char *filename);
|
/Zephyr-Core-2.7.6/doc/_scripts/ |
D | gen_kconfig_rest.py | 370 mod_title = path2module(node.filename) 722 for filename, linenr in node.include_path)) 844 def write_if_updated(filename, s): argument 847 gen_helpers.write_if_updated(os.path.join(out_dir, filename), s)
|
/Zephyr-Core-2.7.6/subsys/mgmt/hawkbit/ |
D | hawkbit_priv.h | 118 const char *filename; member
|