/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).encode('utf-8')) 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/jsoncpp/example/stringWrite/ |
D | stringWrite.cpp | 25 const std::string json_file = writer.write(root); in main() local 26 std::cout << json_file << std::endl; in main() 29 const std::string json_file = Json::writeString(builder, root); in main() local 30 std::cout << json_file << std::endl; in main()
|
/external/oss-fuzz/projects/pigweed/ |
D | filter_cipd.py | 38 with open(args.json, 'r') as json_file: 39 prebuilts = json.load(json_file) 57 with open(args.json, 'w') as json_file: 58 json.dump(prebuilts, json_file, indent=2)
|
D | extract_pw_fuzzers.py | 40 with open(testinfo) as json_file: 41 tests = json.load(json_file)
|
/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 | 28 std::string json_file; in main() local 33 &json_file) && in main() 53 ok = parser1.Parse(json_file.c_str(), include_directories); in main() 55 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/protobuf/benchmarks/js/ |
D | js_benchmark.js | 21 var json_file = ""; variable 30 json_file = filename.replace(/^--json_output=/, ''); 77 if (json_file != "") { 78 fs.writeFile(json_file, JSON.stringify(results), (err) => {
|
/external/angle/src/tests/restricted_traces/ |
D | gen_restricted_traces.py | 277 def read_json(json_file): argument 278 with open(json_file) as map_file: 315 json_file = 'restricted_traces.json' 320 json_data = read_json(json_file) 329 inputs = [json_file] 346 "data_source_name": json_file,
|
/external/toolchain-utils/llvm_tools/ |
D | patch_manager_unittest.py | 343 with open(json_test_file, 'w') as json_file: 344 WritePrettyJsonFile(test_patch_metadata, json_file) 387 with open(json_test_file, 'w') as json_file: 388 WritePrettyJsonFile(test_patch_metadata, json_file) 498 with open(json_test_file, 'w') as json_file: 499 WritePrettyJsonFile(test_patch_metadata, json_file) 611 with open(json_test_file, 'w') as json_file: 612 WritePrettyJsonFile(test_patch_metadata, json_file) 744 with open(json_test_file, 'w') as json_file: 745 WritePrettyJsonFile(test_patch_metadata, json_file) [all …]
|
/external/vulkan-validation-layers/scripts/ |
D | external_revision_generator.py | 94 def get_commit_id_from_json(json_file, json_keys): argument 95 with open(json_file) as json_stream: 132 elif args.json_file is not None: 133 commit_id = get_commit_id_from_json(args.json_file, args.json_keys)
|
/external/tensorflow/tensorflow/lite/schema/ |
D | upgrade_schema.py | 142 json_file = os.path.join(tempdir, basename_no_extension + ".json") 143 if not os.path.exists(json_file): 144 raise RuntimeError("Could not find %r" % json_file) 146 json_file = input_file 149 return json.load(open(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/angle/src/common/ |
D | gen_packed_gl_enums.py | 267 json_file = generator['json'] 272 enums = load_enums(path_prefix + json_file) 273 write_header(enums, path_prefix, output_file + '_autogen.h', json_file, includes, 275 write_cpp(enums, path_prefix, output_file + '_autogen.cpp', json_file, namespace,
|
/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/llvm-project/lldb/source/Commands/ |
D | CommandObjectTrace.cpp | 100 FileSpec json_file(command[0].ref()); in DoExecute() local 102 auto buffer_or_error = llvm::MemoryBuffer::getFile(json_file.GetPath()); in DoExecute() 106 json_file.GetPath().c_str(), in DoExecute() 117 json_file.GetDirectory().AsCString())) { in DoExecute()
|
/external/llvm-project/libc/benchmarks/ |
D | CMakeLists.txt | 148 COMMAND python3 render.py3 ${json_file} --headless --output=${png_file} 156 COMMAND python3 render.py3 ${json_file} 165 set(json_file "/tmp/last-${conf_target}.json") variable 168 COMMAND ${libc_target} --conf=configuration_${configuration}.json -o ${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/skia/infra/bots/recipe_modules/gold_upload/ |
D | api.py | 55 json_file = results_dir.join(DM_JSON) 57 self.m.gsutil.cp('dm.json', json_file,
|
/external/arm-trusted-firmware/tools/sptool/ |
D | sp_mk_generator.py | 57 json_file = os.path.abspath(sys.argv[2]) variable 58 json_dir = os.path.dirname(json_file)
|
/external/skia/build/fuchsia/ |
D | fidl_gen_cpp | 20 with open(path) as json_file: 21 parsed = json.load(json_file)
|
/external/autotest/client/bin/result_tools/ |
D | result_info.py | 732 def save_summary(summary, json_file): argument 738 with open(json_file, 'w') as f: 742 def load_summary_json_file(json_file): argument 748 with open(json_file, 'r') as f: 752 result_dir = os.path.dirname(json_file)
|
/external/swiftshader/third_party/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 810 with open(args.spirv_core_grammar) as json_file: 811 core_grammar = json.loads(json_file.read()) 846 with open(args.extinst_glsl_grammar) as json_file: 847 grammar = json.loads(json_file.read()) 854 with open(args.extinst_opencl_grammar) as json_file: 855 grammar = json.loads(json_file.read()) 862 with open(args.extinst_vendor_grammar) as json_file: 863 grammar = json.loads(json_file.read())
|