Home
last modified time | relevance | path

Searched refs:json_path (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/
Djson_to_fb.cc33 std::string json_path, fbs_path, fb_path; in main() local
35 tflite::Flag::CreateFlag("json_input", &json_path, in main()
44 if (!parse_result || json_path.empty() || fbs_path.empty() || in main()
50 if (!flatbuffers::LoadFile(json_path.c_str(), false, &json_contents)) { in main()
51 std::cerr << "Unable to load file " << json_path << std::endl; in main()
74 json_path.c_str())) { in main()
/external/googletest/googletest/test/
Dgoogletest-json-output-unittest.py726 json_path = os.path.join(
729 if os.path.isfile(json_path):
730 os.remove(json_path)
734 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
753 self.assertTrue(not os.path.isfile(json_path))
779 json_path = os.path.join(
786 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
802 with open(json_path) as f:
/external/cronet/tot/third_party/boringssl/src/third_party/googletest/googletest/test/
Dgoogletest-json-output-unittest.py711 json_path = os.path.join(
714 if os.path.isfile(json_path):
715 os.remove(json_path)
719 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
738 self.assertTrue(not os.path.isfile(json_path))
764 json_path = os.path.join(
771 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
787 with open(json_path) as f:
/external/cronet/stable/third_party/googletest/src/googletest/test/
Dgoogletest-json-output-unittest.py726 json_path = os.path.join(
729 if os.path.isfile(json_path):
730 os.remove(json_path)
734 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
753 self.assertTrue(not os.path.isfile(json_path))
779 json_path = os.path.join(
786 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
802 with open(json_path) as f:
/external/cronet/stable/third_party/boringssl/src/third_party/googletest/googletest/test/
Dgoogletest-json-output-unittest.py711 json_path = os.path.join(
714 if os.path.isfile(json_path):
715 os.remove(json_path)
719 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
738 self.assertTrue(not os.path.isfile(json_path))
764 json_path = os.path.join(
771 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
787 with open(json_path) as f:
/external/cronet/tot/third_party/googletest/src/googletest/test/
Dgoogletest-json-output-unittest.py726 json_path = os.path.join(
729 if os.path.isfile(json_path):
730 os.remove(json_path)
734 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
753 self.assertTrue(not os.path.isfile(json_path))
779 json_path = os.path.join(
786 '%s=json:%s' % (GTEST_OUTPUT_FLAG, json_path),
802 with open(json_path) as f:
/external/executorch/backends/qualcomm/serialization/
Dqc_schema_serialize.py23 json_path = os.path.join(d, f"{schema}.json")
24 with open(json_path, "wb") as json_file:
27 _flatc_compile(d, schema_path, json_path)
35 json_path = os.path.join(d, f"{schema}.json")
44 with open(json_path, "rb") as output_file:
/external/cronet/tot/testing/
Dtest_env.py145 def get_sanitizer_symbolize_command(json_path=None, executable_path=None): argument
150 if json_path is not None:
151 cmd.append('--test-summary-json-file=%s' % json_path)
168 json_path = get_json_path(cmd)
169 if json_path is None:
173 symbolize_command = get_sanitizer_symbolize_command(json_path=json_path,
187 def get_escalate_sanitizer_warnings_command(json_path): argument
192 cmd.append('--test-summary-json-file=%s' % json_path)
198 json_path = get_json_path(cmd)
199 if json_path is None:
[all …]
/external/cronet/stable/testing/
Dtest_env.py145 def get_sanitizer_symbolize_command(json_path=None, executable_path=None): argument
150 if json_path is not None:
151 cmd.append('--test-summary-json-file=%s' % json_path)
168 json_path = get_json_path(cmd)
169 if json_path is None:
173 symbolize_command = get_sanitizer_symbolize_command(json_path=json_path,
187 def get_escalate_sanitizer_warnings_command(json_path): argument
192 cmd.append('--test-summary-json-file=%s' % json_path)
198 json_path = get_json_path(cmd)
199 if json_path is None:
[all …]
/external/executorch/test/utils/
Dgenerate_gtest_cmakelists.py54 def read_config_json(json_path): argument
58 with open(json_path) as f:
64 json_path = os.path.dirname(os.path.abspath(__file__)) + "/OSSTestConfig.json" variable
65 for d in read_config_json(json_path):
/external/executorch/exir/_serialize/
D_flatbuffer.py202 def _flatc_compile(output_dir: str, schema_path: str, json_path: str) -> None:
219 json_path,
283 json_path = os.path.join(temp_dir, file_stem + ".json")
286 with open(json_path, "wb") as json_file:
290 _flatc_compile(temp_dir, schema_info.root_path, json_path)
346 json_path = os.path.join(temp_dir, file_stem + ".json")
352 with open(json_path, "rb") as output_file:
/external/executorch/backends/apple/mps/serialization/
Dmps_graph_serialize.py23 json_path = os.path.join(d, "schema.json")
24 with open(json_path, "wb") as json_file:
27 _flatc_compile(d, schema_path, json_path)
/external/python/cpython3/Lib/test/test_tomllib/
Dtest_data.py24 json_path = p.with_suffix(".json") variable
26 text = json.loads(json_path.read_bytes().decode())
28 text = MissingFile(json_path)
/external/cronet/tot/testing/merge_scripts/
Dstandard_gtest_merge_test.py372 json_path = os.path.join(json_dir, 'output.json')
375 with open(json_path, 'w') as f:
377 jsons_to_merge.append(json_path)
392 json_path = os.path.join(json_dir, 'output.json')
395 with open(json_path, 'w') as f:
397 jsons_to_merge.append(json_path)
/external/cronet/stable/testing/merge_scripts/
Dstandard_gtest_merge_test.py372 json_path = os.path.join(json_dir, 'output.json')
375 with open(json_path, 'w') as f:
377 jsons_to_merge.append(json_path)
392 json_path = os.path.join(json_dir, 'output.json')
395 with open(json_path, 'w') as f:
397 jsons_to_merge.append(json_path)
/external/executorch/devtools/etdump/
Dserialize.py55 json_path = os.path.join(d, "{}.json".format(ETDUMP_FLATCC_SCHEMA_NAME))
56 with open(json_path, "wb") as json_file:
59 _flatc_compile(d, schema_path, json_path)
/external/executorch/devtools/bundled_program/serialize/
D__init__.py57 json_path = os.path.join(d, "{}.json".format(BUNDLED_PROGRAM_SCHEMA_NAME))
58 with open(json_path, "wb") as json_file:
60 _flatc_compile(d, schema_path, json_path)
/external/minijail/tools/
Darch.py41 def load_from_json(json_path): argument
43 with open(json_path, "rb") as json_file:
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils.py79 json_path = os.path.join(tmpdir, 'zip_spec.json')
80 with open(json_path, 'w') as json_file:
84 os.path.abspath(__file__), '--zip-spec', json_path])
/external/angle/build/fuchsia/
Dbinary_sizes.py187 def ReadPackageBlobsJson(json_path): argument
193 with open(json_path, 'rt') as json_file:
210 def WritePackageBlobsJson(json_path, package_blobs): argument
236 with (open(json_path, 'w')) as json_file:
240 def WritePackageSizesJson(json_path, package_sizes): argument
254 with (open(json_path, 'w')) as json_file:
258 def ReadPackageSizesJson(json_path): argument
264 with open(json_path, 'rt') as json_file:
/external/cronet/stable/build/fuchsia/
Dbinary_sizes.py187 def ReadPackageBlobsJson(json_path): argument
193 with open(json_path, 'rt') as json_file:
210 def WritePackageBlobsJson(json_path, package_blobs): argument
236 with (open(json_path, 'w')) as json_file:
240 def WritePackageSizesJson(json_path, package_sizes): argument
254 with (open(json_path, 'w')) as json_file:
258 def ReadPackageSizesJson(json_path): argument
264 with open(json_path, 'rt') as json_file:
/external/cronet/tot/build/fuchsia/
Dbinary_sizes.py187 def ReadPackageBlobsJson(json_path): argument
193 with open(json_path, 'rt') as json_file:
210 def WritePackageBlobsJson(json_path, package_blobs): argument
236 with (open(json_path, 'w')) as json_file:
240 def WritePackageSizesJson(json_path, package_sizes): argument
254 with (open(json_path, 'w')) as json_file:
258 def ReadPackageSizesJson(json_path): argument
264 with open(json_path, 'rt') as json_file:
/external/tensorflow/tensorflow/compiler/mlir/lite/
Djson_to_flatbuffer.cc35 const char* json_path = argv[2]; in main() local
41 flatbuffers::LoadFile(json_path, /*binary=*/false, &json); in main()
/external/cronet/tot/build/android/pylib/results/presentation/
Dtest_results_presentation.py335 def result_details(json_path, test_name, cs_base_url, bucket=None, argument
344 with open(json_path) as json_file:
370 def ui_screenshot_set(json_path): argument
371 with open(json_path) as json_file:
403 def upload_screenshot_set(json_path, test_name, bucket, builder_name, argument
405 screenshot_set = ui_screenshot_set(json_path)
/external/angle/build/android/pylib/results/presentation/
Dtest_results_presentation.py335 def result_details(json_path, test_name, cs_base_url, bucket=None, argument
344 with open(json_path) as json_file:
370 def ui_screenshot_set(json_path): argument
371 with open(json_path) as json_file:
403 def upload_screenshot_set(json_path, test_name, bucket, builder_name, argument
405 screenshot_set = ui_screenshot_set(json_path)

123