Home
last modified time | relevance | path

Searched refs:json_file (Results 1 – 9 of 9) 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/bmcweb/scripts/
H A Dparse_registries.py51 json_file = json.loads(dmtf.text, object_pairs_hook=OrderedDict)
53 return (path, json_file, type_name, url)
68 ) as json_file:
69 json_file = json.load(json_file)
72 return (path, json_file, "openbmc", url)
648 path, json_file, type_name, url = make_getter(
657 for mapping in json_file["Mappings"]:
674 for mapping in json_file["Mappings"]:
/openbmc/libcper/cli-app/
H A Dcper-convert.c114 FILE *json_file = fopen(out_file, "w"); in cper_to_json() local
115 if (json_file == NULL) { in cper_to_json()
122 fwrite(json_output, strlen(json_output), 1, json_file); in cper_to_json()
123 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/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/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/meta/classes-recipe/
H A Dtestexport.bbclass116 json_file = _get_json_file(f)
117 if json_file:
118 shutil.copy2(json_file, cases_path)
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dide_sdk.py618 json_file = 'CMakeUserPresets.json'
619 json_path = os.path.join(self.real_srctree, json_file)
620 logger.info("Updating CMake preset: %s (%s)" % (json_file, json_path))