Searched refs:json_file (Results 1 – 14 of 14) sorted by relevance
/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/autotest/client/site_tests/graphics_dEQP/scripts/ |
D | failure_matrix.py | 44 def load_expectation_dict(json_file): argument 46 if os.path.isfile(json_file): 47 with open(json_file, 'r') as f: 53 def load_expectations(json_file): argument 54 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/autotest/site_utils/presubmit_hooks/ |
D | check_json_files.py | 31 with open(f) as json_file: 32 json.load(json_file)
|
/external/skia/infra/bots/recipe_modules/upload_dm_results/ |
D | api.py | 46 json_file = results_dir.join(DM_JSON) 50 self.m.shutil.copy('copy dm.json', json_file, tmp_dir) 52 self.m.shutil.remove('rm old dm.json', json_file)
|
/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 | 245 json_file = open(os.path.join(results_dir, _JSON_REPORT_FILE), 'w') 246 json.dump(filtered_results, json_file) 247 json_file.close()
|
/external/autotest/client/site_tests/desktopui_SonicExtension/ |
D | test_utils.py | 248 json_file = os.path.join(path, file_name) 249 if os.path.isfile(json_file) and dictionary: 250 with open(json_file, 'r') as existing_json_data: 254 with open(json_file, 'w') as file_handler:
|
/external/libmojo/mojo/public/tools/manifest/ |
D | manifest_collator.py | 24 with open(filename) as json_file: 26 return json.loads(json_comment_eater.Nom(json_file.read()))
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | output_generator.py | 107 with open(output_file_name, 'w') as json_file: 108 json.dump(results, json_file)
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | perf_tracing_agent.py | 195 open(json_file_name, 'w') as json_file: 198 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
|
/external/noto-fonts/emoji-compat/ |
D | createfont.py | 503 with open(output_json_file_path, 'w') as json_file: 505 file=json_file)
|
/external/skia/gn/ |
D | gn_to_cmake.py | 677 with open(json_path, 'r') as json_file: 678 project = json.loads(json_file.read())
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 599 FileDescriptorProto json_file; in SetUp() local 600 json_file.set_name("json.proto"); in SetUp() 601 json_file.set_syntax("proto3"); in SetUp() 602 DescriptorProto* message4 = AddMessage(&json_file, "TestMessage4"); in SetUp() 633 json_file_ = pool_.BuildFile(json_file); in SetUp()
|