Home
last modified time | relevance | path

Searched refs:jsonPath (Results 1 – 25 of 25) sorted by relevance

/third_party/node/lib/internal/modules/
Dpackage_json_reader.js16 function read(jsonPath) { argument
17 if (cache.has(jsonPath)) {
18 return cache.get(jsonPath);
22 toNamespacedPath(jsonPath)
33 const jsonURL = pathToFileURL(jsonPath);
37 cache.set(jsonPath, result);
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/
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/skia/third_party/externals/spirv-headers/tools/buildHeaders/
Dmain.cpp38 std::string jsonPath; variable
108 jsonPath = std::string(argv[0]); in ProcessArguments()
122 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
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()
DjsonToSpirv.h41 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders);
/third_party/spirv-headers/tools/buildHeaders/
Dmain.cpp38 std::string jsonPath; variable
108 jsonPath = std::string(argv[0]); in ProcessArguments()
122 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
DjsonToSpirv.cpp252 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders) in jsonToSpirv() argument
263 std::tie(fileReadOk, content) = ReadFile(jsonPath); in jsonToSpirv()
266 << jsonPath << std::endl; in jsonToSpirv()
DjsonToSpirv.h41 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
Dmain.cpp38 std::string jsonPath; variable
108 jsonPath = std::string(argv[0]); in ProcessArguments()
122 spv::jsonToSpirv(jsonPath, (Options & EOptionPrintHeader) != 0); in main()
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()
DjsonToSpirv.h41 void jsonToSpirv(const std::string& jsonPath, bool buildingHeaders);
/third_party/typescript/src/jsTyping/
DjsTyping.ts204 function getTypingNamesFromJson(jsonPath: string, filesToWatch: Push<string>) {
205 if (!host.fileExists(jsonPath)) {
209 filesToWatch.push(jsonPath);
210 … const jsonConfig: PackageJson = readConfigFile(jsonPath, path => host.readFile(path)).config;
212 addInferredTypings(jsonTypingNames, `Typing names in '${jsonPath}' dependencies`);
/third_party/typescript/src/testRunner/
DrwcRunner.ts19 export function runRWCTest(jsonPath: string) {
20 describe("Testing a rwc project: " + jsonPath, () => {
30 const baseName = ts.getBaseFileName(jsonPath);
54 …LogIntoOldStyleLog(JSON.parse(Harness.IO.readFile(`internal/cases/rwc/${jsonPath}/test.json`)!), H…
/third_party/node/lib/internal/modules/cjs/
Dloader.js259 const jsonPath = path.resolve(requestPath, 'package.json');
261 const existing = packageJsonCache.get(jsonPath);
264 const result = packageJsonReader.read(jsonPath);
267 packageJsonCache.set(jsonPath, false);
280 packageJsonCache.set(jsonPath, filtered);
283 e.path = jsonPath;
284 e.message = 'Error parsing ' + jsonPath + ': ' + e.message;
331 const jsonPath = path.resolve(requestPath, 'package.json');
333 `Invalid 'main' field in '${jsonPath}' of '${pkg}'. ` +
/third_party/typescript/scripts/build/
Dutils.js115 function readJson(jsonPath) { argument
116 const jsonText = fs.readFileSync(jsonPath, "utf8");
117 const result = ts.parseConfigFileTextToJson(jsonPath, jsonText);
/third_party/flutter/flutter/dev/bots/test/
Dprepare_package_test.dart249 final String jsonPath = path.join(tempDir.absolute.path, releasesName);
285 File(jsonPath).writeAsStringSync(releasesJson);
293 '$gsutilCall -- cp $gsJsonPath $jsonPath': null,
295 '$gsutilCall -- -h Content-Type:application/json cp $jsonPath $gsJsonPath': null,
313 final File releaseFile = File(jsonPath);
/third_party/node/deps/npm/node_modules/npm-registry-fetch/
Dindex.js126 function fetchJSONStream (uri, jsonPath, opts) { argument
128 const parser = JSONStream.parse(jsonPath, opts.mapJson)
DREADME.md104 #### <a name="fetch-json-stream"></a> `> fetch.json.stream(url, jsonPath, [opts]) -> Stream`
109 The `jsonPath` argument is a [`JSONStream.parse()`
/third_party/node/deps/npm/node_modules/libcipm/
Dindex.js421 function readJson (jsonPath, name, ignoreMissing) { argument
422 return readFileAsync(path.join(jsonPath, name), 'utf8')
/third_party/typescript/lib/
DtypingsInstaller.js115095 function getTypingNamesFromJson(jsonPath, filesToWatch) { argument
115096 if (!host.fileExists(jsonPath)) {
115099 filesToWatch.push(jsonPath);
115100 …var jsonConfig = ts.readConfigFile(jsonPath, function (path) { return host.readFile(path); }).conf…
115102 … addInferredTypings(jsonTypingNames, "Typing names in '" + jsonPath + "' dependencies");
Dtsserver.js152434 function getTypingNamesFromJson(jsonPath, filesToWatch) { argument
152435 if (!host.fileExists(jsonPath)) {
152438 filesToWatch.push(jsonPath);
152439 …var jsonConfig = ts.readConfigFile(jsonPath, function (path) { return host.readFile(path); }).conf…
152441 … addInferredTypings(jsonTypingNames, "Typing names in '" + jsonPath + "' dependencies");
DtypescriptServices.js115300 function getTypingNamesFromJson(jsonPath, filesToWatch) { argument
115301 if (!host.fileExists(jsonPath)) {
115304 filesToWatch.push(jsonPath);
115305 …var jsonConfig = ts.readConfigFile(jsonPath, function (path) { return host.readFile(path); }).conf…
115307 … addInferredTypings(jsonTypingNames, "Typing names in '" + jsonPath + "' dependencies");
Dtsserverlibrary.js115300 function getTypingNamesFromJson(jsonPath, filesToWatch) { argument
115301 if (!host.fileExists(jsonPath)) {
115304 filesToWatch.push(jsonPath);
115305 …var jsonConfig = ts.readConfigFile(jsonPath, function (path) { return host.readFile(path); }).conf…
115307 … addInferredTypings(jsonTypingNames, "Typing names in '" + jsonPath + "' dependencies");
Dtypescript.js115300 function getTypingNamesFromJson(jsonPath, filesToWatch) { argument
115301 if (!host.fileExists(jsonPath)) {
115304 filesToWatch.push(jsonPath);
115305 …var jsonConfig = ts.readConfigFile(jsonPath, function (path) { return host.readFile(path); }).conf…
115307 … addInferredTypings(jsonTypingNames, "Typing names in '" + jsonPath + "' dependencies");
/third_party/node/tools/
Dlint-md.mjs18999 * @param {string} jsonPath
19002 function read$3(jsonPath) { argument
19003 return find$1(path$b.dirname(jsonPath))