Home
last modified time | relevance | path

Searched refs:json_file (Results 1 – 11 of 11) sorted by relevance

/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dpackage_manager.py58 json_file = _get_json_file(f)
59 if json_file:
60 needed_packages.update(_get_needed_packages(json_file))
69 json_file = '%s.json' % module_path.rsplit('.', 1)[0]
70 if os.path.isfile(module_path) and os.path.isfile(json_file):
71 return json_file
75 def _get_needed_packages(json_file, test=None): argument
83 with open(json_file) as f:
189 json_file = _get_json_file(test_file)
191 if json_file:
[all …]
H A Ddump.py71 with open(fullname, 'w') as json_file:
72 json.dump(output, json_file, indent=4)
/openbmc/libcper/cli-app/
H A Dcper-convert.c157 FILE *json_file = fopen(out_file, "w"); in cper_to_json() local
158 if (json_file == NULL) { in cper_to_json()
165 fwrite(json_output, strlen(json_output), 1, json_file); in cper_to_json()
166 fclose(json_file); in cper_to_json()
/openbmc/openbmc/poky/meta/lib/oe/
H A Ddata.py26 def export2json(d, json_file, expand=True, searchString="",replaceString=""): argument
52 with open(json_file, "w") as f:
/openbmc/bmcweb/scripts/
H A Dparse_registries.py66 json_file = json.loads(dmtf.text, object_pairs_hook=OrderedDict)
68 return (path, json_file, type_name, url)
84 json_file = json.load(json_file_fd)
87 return (path, json_file, "openbmc", url)
595 path, json_file, type_name, url = make_getter(
604 for mapping in json_file["Mappings"]:
635 for mapping in json_file["Mappings"]:
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Doetest.py397 json_file = self._getJsonFile(module)
398 if json_file:
399 needed_packages = self._getNeededPackages(json_file)
452 json_file = "%s.json" % module_file.rsplit(".", 1)[0]
453 if os.path.isfile(module_file) and os.path.isfile(json_file):
454 return json_file
458 def _getNeededPackages(self, json_file, test=None): argument
470 with open(json_file) as f:
/openbmc/openbmc/poky/meta/recipes-kernel/linux/
H A Dgenerate-cve-exclusions.py127 with open(cve_file, 'r', encoding='utf-8') as json_file:
128 cve_info = json.load(json_file)
/openbmc/openbmc/poky/scripts/lib/devtool/ide_plugins/
H A D__init__.py224 def update_json_file(json_dir, json_file, update_dict): argument
230 json_path = os.path.join(json_dir, json_file)
232 (json_file, json_path))
/openbmc/openbmc/poky/scripts/lib/resulttool/
H A Djunit.py14 testresults = resultutils.load_resultsdata(args.json_file, configmap=resultutils.store_map)
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dtestexport.bbclass122 json_file = _get_json_file(f)
123 if json_file:
124 shutil.copy2(json_file, cases_path)
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dide_sdk.py581 json_file = 'CMakeUserPresets.json'
582 json_path = os.path.join(self.real_srctree, json_file)
583 logger.info("Updating CMake preset: %s (%s)" % (json_file, json_path))