Home
last modified time | relevance | path

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

/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/autotest/client/site_tests/graphics_dEQP/scripts/
Dfailure_matrix.py44 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)
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/autotest/site_utils/presubmit_hooks/
Dcheck_json_files.py31 with open(f) as json_file:
32 json.load(json_file)
/external/skia/infra/bots/recipes/
Dupload_dm_results.py53 json_file = results_dir.join(DM_JSON)
57 api.file.copy('copy dm.json', json_file, tmp_dir)
59 api.file.remove('rm old dm.json', json_file)
/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/site_tests/desktopui_SonicExtension/
Dtest_utils.py248 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/
Dmanifest_collator.py24 with open(filename) as json_file:
26 return json.loads(json_comment_eater.Nom(json_file.read()))
/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.py195 open(json_file_name, 'w') as json_file:
198 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
/external/noto-fonts/emoji-compat/
Dcreatefont.py565 with open(output_json_file_path, 'w') as json_file:
567 file=json_file)
/external/skia/gn/
Dgn_to_cmake.py677 with open(json_path, 'r') as json_file:
678 project = json.loads(json_file.read())
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc599 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()