Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 57) sorted by relevance

123

/Zephyr-Core-2.7.6/scripts/tests/twister/
Dtest_twister.py21 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)
Dtest_reporting_testsuite.py29 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/
Dgen_gcov_files.py47 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:
Dgen_app_partitions.py109 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)
Dgen_relocate_app.py148 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)
Dget_maintainer.py144 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))
Dzephyr_module.py102 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/
Dtest_stm32flash.py63 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)
Dtest_canopen_program.py37 def os_path_isfile_patch(filename): argument
38 if filename == RC_KERNEL_BIN:
40 return os_path_isfile(filename)
Dtest_dfu_util.py60 def os_path_isfile_patch(filename): argument
61 if filename == RC_KERNEL_BIN:
63 return os_path_isfile(filename)
Dtest_bossac.py149 def os_path_isfile_patch(filename): argument
150 if filename == RC_KERNEL_BIN:
152 return os_path_isfile(filename)
Dtest_nrfjprog.py372 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/
Dscl.py26 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)
Dtwisterlib.py415 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/
Dkconfiglib.py867 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 …]
Dguiconfig.py1360 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 …]
Dmenuconfig.py897 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/
Ddtlib.py322 .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/
Dgen_idt.py86 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/
Dcoverage.c201 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()
Dcoverage.h92 const char *filename; /* Name of the associated gcda data file */ member
/Zephyr-Core-2.7.6/cmake/emu/
Darmfvp.cmake36 string(TOLOWER ${filetype} filename)
38 "or with -DARMFVP_${filetype}_FILE=</path/to/${filename}.bin>")
/Zephyr-Core-2.7.6/samples/net/civetweb/common/include/
Dlibc_extensions.h45 FILE *fopen(const char *filename, const char *mode);
48 int remove(const char *filename);
/Zephyr-Core-2.7.6/doc/_scripts/
Dgen_kconfig_rest.py370 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/
Dhawkbit_priv.h118 const char *filename; member

123