Home
last modified time | relevance | path

Searched refs:json_file (Results 1 - 23 of 23) sorted by relevance

/third_party/protobuf/benchmarks/js/
H A Djs_benchmark.js21 var json_file = ""; variable
30 json_file = filename.replace(/^--json_output=/, '');
77 if (json_file != "") {
78 fs.writeFile(json_file, JSON.stringify(results), (err) => {
/third_party/gn/tools/
H A Dfind_unreachable.py64 with open(cmd_args.json_file) as json_file:
65 targets_graph = json.load(json_file)['targets']
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Djson_validate.py23 parser.add_argument('json_file', help='The json file to validate')
33 if not os.path.exists(args.json_file):
34 print('Error: json file \"%s\" does not exist.' % args.json_file)
48 with open(args.json_file) as jsonFile:
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
H A Dgen_restricted_traces.py340 def read_json(json_file):
341 with open(json_file) as map_file:
383 json_file = 'restricted_traces.json'
388 json_data = read_json(json_file)
397 inputs = [json_file]
414 'data_source_name': json_file,
/third_party/skia/third_party/externals/angle2/src/common/
H A Dgen_packed_gl_enums.py267 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,
/third_party/node/deps/v8/tools/
H A Dturbolizer-perf.py56 with open(args.file_name, 'r') as json_file:
57 json_obj = json.load(json_file)
/third_party/skia/infra/bots/recipe_modules/gold_upload/
H A Dapi.py55 json_file = results_dir.join(DM_JSON)
57 self.m.gsutil.cp('dm.json', json_file,
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dgenerate_grammar_tables.py810 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())
H A Dgenerate_language_headers.py170 with open(args.extinst_grammar) as json_file:
171 grammar_json = json.loads(json_file.read())
/third_party/skia/third_party/externals/spirv-cross/
H A Dtest_shaders.py605 def regression_check_reflect(shader, json_file, args):
610 actual = md5_for_file(json_file)
619 shutil.move(json_file, reference)
621 print('Generated reflection json in {} does not match reference {}!'.format(json_file, reference))
622 with open(json_file, 'r') as f:
632 remove_file(json_file)
636 remove_file(json_file)
640 shutil.move(json_file, reference)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
H A Dgenerate_grammar_tables.py810 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())
H A Dgenerate_language_headers.py170 with open(args.extinst_grammar) as json_file:
171 grammar_json = json.loads(json_file.read())
/third_party/spirv-tools/utils/
H A Dgenerate_grammar_tables.py839 with open(args.spirv_core_grammar) as json_file:
840 core_grammar = json.loads(json_file.read())
875 with open(args.extinst_glsl_grammar) as json_file:
876 grammar = json.loads(json_file.read())
883 with open(args.extinst_opencl_grammar) as json_file:
884 grammar = json.loads(json_file.read())
891 with open(args.extinst_vendor_grammar) as json_file:
892 grammar = json.loads(json_file.read())
H A Dgenerate_language_headers.py170 with open(args.extinst_grammar) as json_file:
171 grammar_json = json.loads(json_file.read())
/third_party/skia/infra/bots/recipes/
H A Dupload_dm_results.py71 json_file = results_dir.join(DM_JSON)
74 api.gsutil.cp('dm.json', json_file,
/third_party/skia/build/fuchsia/
H A Dfidl_gen_cpp20 with open(path) as json_file:
21 parsed = json.load(json_file)
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/bin/
H A Dgenerate_language_headers.py215 with open(args.extinst_grammar) as json_file:
216 grammar_json = json.loads(json_file.read())
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/bin/
H A Dgenerate_language_headers.py215 with open(args.extinst_grammar) as json_file:
216 grammar_json = json.loads(json_file.read())
/third_party/spirv-headers/tools/buildHeaders/bin/
H A Dgenerate_language_headers.py215 with open(args.extinst_grammar) as json_file:
216 grammar_json = json.loads(json_file.read())
/third_party/node/deps/v8/third_party/inspector_protocol/
H A Dconvert_protocol_to_json.py28 parser.add_argument("json_file", help="The .json output file write.")
35 output_file = open_to_write(os.path.normpath(args.json_file))
/third_party/node/tools/inspector_protocol/
H A Dconvert_protocol_to_json.py21 parser.add_argument("json_file", help="The .json output file write.")
28 with open(os.path.normpath(args.json_file), 'w') as output_file:
/third_party/skia/gn/
H A Dgn_to_cmake.py731 with open(json_path, 'r') as json_file:
732 project = json.loads(json_file.read())
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_unittest.cc709 FileDescriptorProto json_file; in SetUp() local
710 json_file.set_name("json.proto"); in SetUp()
711 json_file.set_syntax("proto3"); in SetUp()
712 DescriptorProto* message4 = AddMessage(&json_file, "TestMessage4"); in SetUp()
737 json_file_ = pool_.BuildFile(json_file); in SetUp()

Completed in 21 milliseconds