| /external/flatbuffers/samples/ |
| D | sample_text.cpp | 28 std::string jsonfile; in main() local 30 flatbuffers::LoadFile("samples/monsterdata.json", false, &jsonfile); in main() 40 parser.Parse(jsonfile.c_str(), include_directories); in main() 53 if (jsongen != jsonfile) { in main() 54 printf("%s----------------\n%s", jsongen.c_str(), jsonfile.c_str()); in main()
|
| /external/bazelbuild-rules_go/go/tools/gopackagesdriver/ |
| D | bazel.go | 94 jsonFile, err := ioutil.TempFile("", "gopackagesdriver_bep_") 99 jsonFile.Close() 100 os.Remove(jsonFile.Name()) 105 "--build_event_json_file=" + jsonFile.Name(), 119 decoder := json.NewDecoder(jsonFile) 123 return nil, fmt.Errorf("unable to decode %s: %w", jsonFile.Name(), err)
|
| D | flatpackage.go | 79 func WalkFlatPackagesFromJSON(jsonFile string, onPkg PackageFunc) error { 80 f, err := os.Open(jsonFile)
|
| /external/kotlinx.serialization/gradle/ |
| D | benchmark-parsing.gradle | 14 File jsonFile = project.file(fileName) 15 …if (!jsonFile.exists()) throw new TaskExecutionException(this, new FileNotFoundException("File $fi… 16 def parsedJson = new JsonSlurper().parseText(jsonFile.text)
|
| /external/perfetto/infra/perfetto.dev/src/ |
| D | gen_sql_tables_reference.js | 73 const jsonFile = argv['j']; 74 if (!jsonFile) { 80 const jsonFiles = (jsonFile instanceof Array) ? jsonFile : [jsonFile];
|
| /external/python/google-auth-library-python/tests_async/ |
| D | test__default_async.py | 49 jsonfile = tmpdir.join("invalid.json") 50 jsonfile.write("{") 53 _default.load_credentials_from_file(str(jsonfile)) 59 jsonfile = tmpdir.join("invalid.json") 60 jsonfile.write(json.dumps({"type": "not-a-real-type"})) 63 _default.load_credentials_from_file(str(jsonfile))
|
| /external/lottie/lottie/src/main/java/com/airbnb/lottie/network/ |
| D | NetworkCache.java | 140 File jsonFile = new File(parentDir(), filenameForUrl(url, FileExtension.JSON, false)); in getCachedFile() local 141 if (jsonFile.exists()) { in getCachedFile() 142 return jsonFile; in getCachedFile()
|
| /external/mesa3d/src/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
| D | json_validate.py | 48 with open(args.json_file) as jsonFile: 49 jsonText = jsonFile.read()
|
| /external/robolectric/processor/src/test/java/org/robolectric/annotation/processing/ |
| D | JavadocJsonGeneratorTest.java | 60 String jsonFile = jsonDocsDir + "/org.robolectric.DocumentedObjectOuter.DocumentedObject.json"; in shouldGenerateJavadocJson() local 61 JsonElement json = JsonParser.parseReader(Files.newBufferedReader(Paths.get(jsonFile), UTF_8)); in shouldGenerateJavadocJson()
|
| /external/timezone-boundary-builder/ |
| D | index.js | 966 const jsonFile = distDir + '/combined.json' 967 exec('zip -j ' + zipFile + ' ' + jsonFile, cb) 976 const jsonFile = distDir + '/combined-with-oceans.json' 977 exec('zip -j ' + zipFile + ' ' + jsonFile, cb) 988 const jsonFile = distDir + '/combined.json' 990 'ogr2ogr -f "ESRI Shapefile" ' + shapeFile + ' ' + jsonFile, 1007 const jsonFile = distDir + '/combined-with-oceans.json' 1009 'ogr2ogr -f "ESRI Shapefile" ' + shapeFile + ' ' + jsonFile,
|
| /external/AFLplusplus/benchmark/ |
| D | benchmark.py | 185 with open("benchmark-results.jsonl", "a") as jsonfile: 186 json.dump(asdict(results), jsonfile, sort_keys=True) 187 jsonfile.write("\n") 188 print(blue(f" [*] Results have been written to the {jsonfile.name} file."))
|
| /external/bazelbuild-rules_go/go/tools/builders/ |
| D | stdliblist.go | 269 jsonFile, err := os.Create(*out) 273 defer jsonFile.Close() 280 encoder := json.NewEncoder(jsonFile)
|
| /external/python/google-auth-library-python/tests/ |
| D | test__default.py | 162 jsonfile = tmpdir.join("invalid.json") 163 jsonfile.write("{") 166 _default.load_credentials_from_file(str(jsonfile)) 172 jsonfile = tmpdir.join("invalid.json") 173 jsonfile.write(json.dumps({"type": "not-a-real-type"})) 176 _default.load_credentials_from_file(str(jsonfile))
|
| /external/jackson-databind/ |
| D | README.md | 183 File jsonFile = new JsonFile("test.json"); 184 JsonGenerator g = f.createGenerator(jsonFile); 192 JsonParser p = f.createParser(jsonFile);
|
| /external/skia/infra/bots/gen_tasks_logic/ |
| D | schema.go | 282 func NewJobNameSchema(jsonFile string) (*JobNameSchema, error) { 284 f, err := os.Open(jsonFile) 290 log.Println(fmt.Sprintf("Failed to close %s: %s", jsonFile, err))
|
| /external/cronet/build/android/ |
| D | list_java_targets.py | 165 with open(self.build_config_path) as jsonfile: 166 self._build_config = json.load(jsonfile)
|
| /external/angle/build/android/ |
| D | list_java_targets.py | 165 with open(self.build_config_path) as jsonfile: 166 self._build_config = json.load(jsonfile)
|
| /external/skia/tools/run-wasm-gm-tests/ |
| D | run-wasm-gm-tests.js | 308 const jsonFile = path.join(options.output, 'gold_results.json'); 309 fs.writeFileSync(jsonFile, JSON.stringify(goldResults));
|
| /external/libchrome/build/android/gyp/util/ |
| D | md5_check.py | 70 with open(record_path, 'r') as jsonfile: 72 old_metadata = _Metadata.FromFile(jsonfile)
|
| /external/flatbuffers/tests/ |
| D | test.cpp | 730 std::string jsonfile; in JsonOptionalTest() local 738 false, &jsonfile), in JsonOptionalTest() 750 TEST_EQ(parser.ParseJson(jsonfile.c_str()), true); in JsonOptionalTest() 765 TEST_EQ_STR(jsongen.c_str(), jsonfile.c_str()); in JsonOptionalTest() 888 std::string jsonfile; in ParseAndGenerateTextTest() local 896 &jsonfile), in ParseAndGenerateTextTest() 919 TEST_EQ(parser.ParseJson(jsonfile.c_str()), true); in ParseAndGenerateTextTest() 937 TEST_EQ_STR(jsongen.c_str(), jsonfile.c_str()); in ParseAndGenerateTextTest() 950 auto buf = registry.TextToFlatBuffer(jsonfile.c_str(), MonsterIdentifier()); in ParseAndGenerateTextTest() 961 TEST_EQ_STR(text.c_str(), jsonfile.c_str()); in ParseAndGenerateTextTest() [all …]
|
| /external/angle/build/android/gyp/util/ |
| D | md5_check.py | 136 with open(record_path, 'r') as jsonfile: 138 old_metadata = _Metadata.FromFile(jsonfile)
|
| /external/cronet/build/android/gyp/util/ |
| D | md5_check.py | 136 with open(record_path, 'r') as jsonfile: 138 old_metadata = _Metadata.FromFile(jsonfile)
|
| /external/skia/tools/testrunners/gm/ |
| D | BazelGMTestRunner.cpp | 175 SkFILEWStream jsonFile(jsonPath); in write_png_and_json_files() local 176 SkJSONWriter jsonWriter(&jsonFile, SkJSONWriter::Mode::kPretty); in write_png_and_json_files()
|
| /external/skia/modules/canvaskit/npm_build/ |
| D | package-lock.json | 64 "jsonfile": "^4.0.0", string 812 "jsonfile": "^4.0.0", string 1150 "node_modules/jsonfile": { 1152 "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", 2282 "jsonfile": "^4.0.0", string 2894 "jsonfile": "^4.0.0", string 3170 "jsonfile": { object 3172 "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
|
| /external/skia/ |
| D | package-lock.json | 472 "jsonfile": "^6.0.1", string 672 "node_modules/jsonfile": { 1729 "jsonfile": "^6.0.1", string 1872 "jsonfile": { object
|