Home
last modified time | relevance | path

Searched full:jsonfile (Results 1 – 25 of 37) sorted by relevance

12

/external/flatbuffers/samples/
Dsample_text.cpp28 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/
Dbazel.go94 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)
Dflatpackage.go79 func WalkFlatPackagesFromJSON(jsonFile string, onPkg PackageFunc) error {
80 f, err := os.Open(jsonFile)
/external/kotlinx.serialization/gradle/
Dbenchmark-parsing.gradle14 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/
Dgen_sql_tables_reference.js73 const jsonFile = argv['j'];
74 if (!jsonFile) {
80 const jsonFiles = (jsonFile instanceof Array) ? jsonFile : [jsonFile];
/external/python/google-auth-library-python/tests_async/
Dtest__default_async.py49 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/
DNetworkCache.java140 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/
Djson_validate.py48 with open(args.json_file) as jsonFile:
49 jsonText = jsonFile.read()
/external/robolectric/processor/src/test/java/org/robolectric/annotation/processing/
DJavadocJsonGeneratorTest.java60 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/
Dindex.js966 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/
Dbenchmark.py185 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/
Dstdliblist.go269 jsonFile, err := os.Create(*out)
273 defer jsonFile.Close()
280 encoder := json.NewEncoder(jsonFile)
/external/python/google-auth-library-python/tests/
Dtest__default.py162 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/
DREADME.md183 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/
Dschema.go282 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/
Dlist_java_targets.py165 with open(self.build_config_path) as jsonfile:
166 self._build_config = json.load(jsonfile)
/external/angle/build/android/
Dlist_java_targets.py165 with open(self.build_config_path) as jsonfile:
166 self._build_config = json.load(jsonfile)
/external/skia/tools/run-wasm-gm-tests/
Drun-wasm-gm-tests.js308 const jsonFile = path.join(options.output, 'gold_results.json');
309 fs.writeFileSync(jsonFile, JSON.stringify(goldResults));
/external/libchrome/build/android/gyp/util/
Dmd5_check.py70 with open(record_path, 'r') as jsonfile:
72 old_metadata = _Metadata.FromFile(jsonfile)
/external/flatbuffers/tests/
Dtest.cpp730 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/
Dmd5_check.py136 with open(record_path, 'r') as jsonfile:
138 old_metadata = _Metadata.FromFile(jsonfile)
/external/cronet/build/android/gyp/util/
Dmd5_check.py136 with open(record_path, 'r') as jsonfile:
138 old_metadata = _Metadata.FromFile(jsonfile)
/external/skia/tools/testrunners/gm/
DBazelGMTestRunner.cpp175 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/
Dpackage-lock.json64 "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/
Dpackage-lock.json472 "jsonfile": "^6.0.1", string
672 "node_modules/jsonfile": {
1729 "jsonfile": "^6.0.1", string
1872 "jsonfile": { object

12