Home
last modified time | relevance | path

Searched refs:jsonPath (Results 1 - 14 of 14) sorted by relevance

/third_party/node/lib/internal/modules/
H A Dpackage_json_reader.js39 * @param {string} jsonPath
47 function read(jsonPath, { base, specifier, isESM } = kEmptyObject) {
48 if (cache.has(jsonPath)) {
49 return cache.get(jsonPath);
56 toNamespacedPath(jsonPath),
61 pjsonPath: jsonPath,
83 jsonPath,
90 error.message = 'Error parsing ' + jsonPath + ': ' + error.message;
91 error.path = jsonPath;
127 const jsonURL = pathToFileURL(jsonPath);
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/
H A Dtestlist.go130 func Load(root, jsonPath string) (Lists, error) {
136 jsonPath, err = filepath.Abs(jsonPath)
138 return nil, cause.Wrap(err, "Couldn't get absolute path of '%s'", jsonPath)
141 i, err := ioutil.ReadFile(jsonPath)
143 return nil, cause.Wrap(err, "Couldn't read test list from '%s'", jsonPath)
152 return nil, cause.Wrap(err, "Couldn't parse '%s'", jsonPath)
155 dir := filepath.Dir(jsonPath)
/third_party/musl/Benchmark/musl/
H A Dbenchmark_framework.cpp138 opts.jsonPath = optarg; in ParseOptions()
319 file = ReadJsonFile(opts.jsonPath.c_str()); in RegisterJsonBenchmarks()
418 if (opts.jsonPath.empty()) { in main()
420 } else if (!IsRegularFileExists(opts.jsonPath)) { in main()
421 std::string file("suites" + opts.jsonPath); in main()
422 if (opts.jsonPath[0] == '/' || !IsRegularFileExists(file)) { in main()
423 printf("Cannot find json file %s: does not exist or is not a file.\n", opts.jsonPath.c_str()); in main()
426 opts.jsonPath = file; in main()
429 if (!opts.jsonPath.empty()) { in main()
H A Dutil.h89 std::string jsonPath; member
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/
H A Dmain.cpp38 std::string jsonPath; variable
108 jsonPath = std::string(argv[0]); in ProcessArguments()
122 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
H A DjsonToSpirv.cpp268 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders) in jsonToSpirv() argument
279 std::tie(fileReadOk, content) = ReadFile(jsonPath); in jsonToSpirv()
282 << jsonPath << std::endl; in jsonToSpirv()
H A DjsonToSpirv.h41 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
H A Dmain.cpp38 std::string jsonPath; variable
108 jsonPath = std::string(argv[0]); in ProcessArguments()
122 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
H A DjsonToSpirv.cpp268 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders) in jsonToSpirv() argument
279 std::tie(fileReadOk, content) = ReadFile(jsonPath); in jsonToSpirv()
282 << jsonPath << std::endl; in jsonToSpirv()
H A DjsonToSpirv.h41 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders);
/third_party/spirv-headers/tools/buildHeaders/
H A Dmain.cpp38 std::string jsonPath; variable
111 jsonPath = std::string(argv[0]); in ProcessArguments()
125 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
H A DjsonToSpirv.cpp468 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders) in jsonToSpirv() argument
481 std::tie(fileReadOk, content) = ReadFile(jsonPath); in jsonToSpirv()
484 << jsonPath << std::endl; in jsonToSpirv()
H A DjsonToSpirv.h41 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders);
/third_party/node/lib/internal/modules/cjs/
H A Dloader.js453 const jsonPath = path.resolve(requestPath, 'package.json');
455 `Invalid 'main' field in '${jsonPath}' of '${pkg}'. ` +

Completed in 10 milliseconds