Home
last modified time | relevance | path

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

12

/external/autotest/client/common_lib/cros/fake_device_server/
Dcommon_util_unittest.py26 json_file = tempfile.TemporaryFile()
27 json_file.write(json.dumps(json_data))
28 content_length = json_file.tell()
29 json_file.seek(0)
32 cherrypy.request.rfile = json_file
35 json_file.close()
38 json_file = tempfile.TemporaryFile()
39 cherrypy.request.rfile = json_file
42 json_file.close()
/external/grpc-grpc/test/cpp/qps/
Dqps_json_driver.cc188 FILE* json_file = fopen(FLAGS_scenarios_file.c_str(), "r"); in QpsDriver() local
189 GPR_ASSERT(json_file != nullptr); in QpsDriver()
190 fseek(json_file, 0, SEEK_END); in QpsDriver()
191 long len = ftell(json_file); in QpsDriver()
193 fseek(json_file, 0, SEEK_SET); in QpsDriver()
194 GPR_ASSERT(len == (long)fread(data, 1, len, json_file)); in QpsDriver()
195 fclose(json_file); in QpsDriver()
/external/flatbuffers/samples/
Dsample_bfbs.cpp30 std::string json_file; in main() local
34 flatbuffers::LoadFile("tests/monsterdata_test.golden", false, &json_file) && in main()
54 ok = parser1.Parse(json_file.c_str(), include_directories); in main()
56 ok = parser2.Parse(json_file.c_str(), include_directories); in main()
/external/autotest/client/site_tests/graphics_dEQP/scripts/
Dfailure_matrix.py46 def load_expectation_dict(json_file): argument
48 if os.path.isfile(json_file):
49 with open(json_file, 'r') as f:
55 def load_expectations(json_file): argument
56 data = load_expectation_dict(json_file)
Dprocess_logs.py103 def load_expectation_dict(json_file): argument
105 if os.path.isfile(json_file):
106 print 'Loading file ' + json_file
107 with open(json_file, 'r') as f:
113 def load_expectations(json_file): argument
114 data = load_expectation_dict(json_file)
/external/tensorflow/tensorflow/lite/schema/
Dupgrade_schema.py141 json_file = os.path.join(tempdir, basename_no_extension + ".json")
142 if not os.path.exists(json_file):
143 raise RuntimeError("Could not find %r" % json_file)
145 json_file = input_file
148 return json.load(open(json_file))
/external/skia/infra/bots/android_compile/
Dtrigger_wait_ac_task.py68 json_file = os.path.join(os.getcwd(), _get_task_file_name(task))
69 with open(json_file, 'w') as f:
71 subprocess.check_call(['gsutil', 'cp', json_file, '%s/' % _get_gs_bucket()])
72 print 'Created %s/%s' % (_get_gs_bucket(), os.path.basename(json_file))
/external/skqp/infra/bots/android_compile/
Dtrigger_wait_ac_task.py68 json_file = os.path.join(os.getcwd(), _get_task_file_name(task))
69 with open(json_file, 'w') as f:
71 subprocess.check_call(['gsutil', 'cp', json_file, '%s/' % _get_gs_bucket()])
72 print 'Created %s/%s' % (_get_gs_bucket(), os.path.basename(json_file))
/external/autotest/site_utils/presubmit_hooks/
Dcheck_json_files.py31 with open(f) as json_file:
32 json.load(json_file)
/external/minijail/tools/
Darch.py47 with open(json_path, 'r') as json_file:
48 constants = json.load(json_file)
/external/deqp-deps/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py693 with open(args.spirv_core_grammar) as json_file:
694 core_grammar = json.loads(json_file.read())
721 with open(args.extinst_glsl_grammar) as json_file:
722 grammar = json.loads(json_file.read())
729 with open(args.extinst_opencl_grammar) as json_file:
730 grammar = json.loads(json_file.read())
737 with open(args.extinst_vendor_grammar) as json_file:
738 grammar = json.loads(json_file.read())
Dgenerate_language_headers.py175 with open(args.extinst_grammar) as json_file:
176 grammar_json = json.loads(json_file.read())
/external/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py693 with open(args.spirv_core_grammar) as json_file:
694 core_grammar = json.loads(json_file.read())
721 with open(args.extinst_glsl_grammar) as json_file:
722 grammar = json.loads(json_file.read())
729 with open(args.extinst_opencl_grammar) as json_file:
730 grammar = json.loads(json_file.read())
737 with open(args.extinst_vendor_grammar) as json_file:
738 grammar = json.loads(json_file.read())
Dgenerate_language_headers.py175 with open(args.extinst_grammar) as json_file:
176 grammar_json = json.loads(json_file.read())
/external/v8/tools/
Dturbolizer-perf.py53 with open(args.file_name, 'r') as json_file:
54 json_obj = json.load(json_file)
/external/autotest/tko/
Dsite_parse.py250 json_file = open(os.path.join(results_dir, _JSON_REPORT_FILE), 'w')
251 json.dump(filtered_results, json_file)
252 json_file.close()
/external/autotest/client/bin/result_tools/
Dresult_info.py727 def save_summary(summary, json_file): argument
733 with open(json_file, 'w') as f:
737 def load_summary_json_file(json_file): argument
743 with open(json_file, 'r') as f:
747 result_dir = os.path.dirname(json_file)
/external/skqp/infra/bots/recipes/
Dupload_dm_results.py71 json_file = results_dir.join(DM_JSON)
74 api.gsutil.cp('dm.json', json_file,
/external/skia/infra/bots/recipes/
Dupload_dm_results.py71 json_file = results_dir.join(DM_JSON)
74 api.gsutil.cp('dm.json', json_file,
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils.py80 with open(json_path, 'w') as json_file:
81 json.dump(zip_spec, json_file)
/external/chromium-trace/catapult/systrace/systrace/
Doutput_generator.py133 with open(output_file_name, 'w') as json_file:
134 json.dump(results, json_file)
/external/chromium-trace/catapult/systrace/profile_chrome/
Dperf_tracing_agent.py197 open(json_file_name, 'w') as json_file:
200 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
/external/vulkan-validation-layers/scripts/
Dvk_validation_stats.py199 json_file = open(self.filename, 'r', encoding='utf-8')
200 self.json_dict = json.load(json_file)
201 json_file.close()
Dobject_tracker_generator.py355 json_file = open(vu_json_filename, 'r')
356 self.vuid_dict = json.load(json_file)
357 json_file.close()
/external/noto-fonts/emoji-compat/
Dcreatefont.py582 with open(output_json_file_path, 'w') as json_file:
584 file=json_file)

12