/external/autotest/client/common_lib/cros/fake_device_server/ |
D | common_util_unittest.py | 26 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/ |
D | qps_json_driver.cc | 188 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/ |
D | sample_bfbs.cpp | 30 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/ |
D | failure_matrix.py | 46 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)
|
D | process_logs.py | 103 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/ |
D | upgrade_schema.py | 141 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/ |
D | trigger_wait_ac_task.py | 68 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/ |
D | trigger_wait_ac_task.py | 68 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/ |
D | check_json_files.py | 31 with open(f) as json_file: 32 json.load(json_file)
|
/external/minijail/tools/ |
D | arch.py | 47 with open(json_path, 'r') as json_file: 48 constants = json.load(json_file)
|
/external/deqp-deps/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 693 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())
|
D | generate_language_headers.py | 175 with open(args.extinst_grammar) as json_file: 176 grammar_json = json.loads(json_file.read())
|
/external/swiftshader/third_party/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 693 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())
|
D | generate_language_headers.py | 175 with open(args.extinst_grammar) as json_file: 176 grammar_json = json.loads(json_file.read())
|
/external/v8/tools/ |
D | turbolizer-perf.py | 53 with open(args.file_name, 'r') as json_file: 54 json_obj = json.load(json_file)
|
/external/autotest/tko/ |
D | site_parse.py | 250 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/ |
D | result_info.py | 727 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/ |
D | upload_dm_results.py | 71 json_file = results_dir.join(DM_JSON) 74 api.gsutil.cp('dm.json', json_file,
|
/external/skia/infra/bots/recipes/ |
D | upload_dm_results.py | 71 json_file = results_dir.join(DM_JSON) 74 api.gsutil.cp('dm.json', json_file,
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | zip_utils.py | 80 with open(json_path, 'w') as json_file: 81 json.dump(zip_spec, json_file)
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | output_generator.py | 133 with open(output_file_name, 'w') as json_file: 134 json.dump(results, json_file)
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | perf_tracing_agent.py | 197 open(json_file_name, 'w') as json_file: 200 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
|
/external/vulkan-validation-layers/scripts/ |
D | vk_validation_stats.py | 199 json_file = open(self.filename, 'r', encoding='utf-8') 200 self.json_dict = json.load(json_file) 201 json_file.close()
|
D | object_tracker_generator.py | 355 json_file = open(vu_json_filename, 'r') 356 self.vuid_dict = json.load(json_file) 357 json_file.close()
|
/external/noto-fonts/emoji-compat/ |
D | createfont.py | 582 with open(output_json_file_path, 'w') as json_file: 584 file=json_file)
|