| /third_party/node/deps/npm/node_modules/@sigstore/tuf/dist/ |
| D | client.js | 28 initTufCache(options.cachePath, options.rootPath); 29 const remote = initRemoteConfig(options.cachePath, options.mirrorURL); 30 this.updater = initClient(options.cachePath, remote, options); 45 function initTufCache(cachePath, tufRootPath) { argument 46 const targetsPath = path_1.default.join(cachePath, 'targets'); 47 const cachedRootPath = path_1.default.join(cachePath, 'root.json'); 48 if (!fs_1.default.existsSync(cachePath)) { 49 fs_1.default.mkdirSync(cachePath, { recursive: true }); 57 return cachePath; 75 function initClient(cachePath, remote, options) { argument [all …]
|
| D | index.js | 47 cachePath: options.cachePath || (0, appdata_1.appDataPath)(DEFAULT_CACHE_DIR), property
|
| /third_party/node/deps/npm/lib/commands/ |
| D | cache.js | 110 const cachePath = join(this.npm.cache, '_cacache') constant 128 return fs.rm(cachePath, { recursive: true, force: true }) 133 entry = await cacache.get(cachePath, key) 139 await cacache.rm.entry(cachePath, key) 141 await cacache.rm.content(cachePath, entry.integrity) 191 const cachePath = join(this.npm.cache, '_cacache') constant 192 const cacheKeys = Object.keys(await cacache.ls(cachePath)) 201 const keySet = await searchCachePackage(cachePath, parsed, cacheKeys)
|
| /third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/tools/ |
| D | gen-grammar.go | 63 cachePath = flag.String("cache", "", "Cache directory for downloaded files (optional)") var 201 if *cachePath != "" { 202 if err := os.MkdirAll(*cachePath, 0777); err == nil { 203 path := filepath.Join(*cachePath, name) 217 if *cachePath != "" { 218 ioutil.WriteFile(filepath.Join(*cachePath, name), data, 0777)
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/tools/ |
| D | gen-grammar.go | 63 cachePath = flag.String("cache", "", "Cache directory for downloaded files (optional)") var 201 if *cachePath != "" { 202 if err := os.MkdirAll(*cachePath, 0777); err == nil { 203 path := filepath.Join(*cachePath, name) 217 if *cachePath != "" { 218 ioutil.WriteFile(filepath.Join(*cachePath, name), data, 0777)
|
| /third_party/spirv-tools/utils/vscode/src/tools/ |
| D | gen-grammar.go | 63 cachePath = flag.String("cache", "", "Cache directory for downloaded files (optional)") var 201 if *cachePath != "" { 202 if err := os.MkdirAll(*cachePath, 0777); err == nil { 203 path := filepath.Join(*cachePath, name) 217 if *cachePath != "" { 218 ioutil.WriteFile(filepath.Join(*cachePath, name), data, 0777)
|
| /third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/ |
| D | entry.js | 143 var matches = await cacache.index.compact(options.cachePath, cacheKey(request), (A, B) => { 198 await cacache.rm.entry(options.cachePath, key, { removeFully: true }) 290 const cacheStream = cacache.put.stream(this.options.cachePath, this.key, cacheOpts) 306 await cacache.index.insert(this.options.cachePath, this.key, null, cacheOpts) 313 this.response.headers.set('x-local-cache', encodeURIComponent(this.options.cachePath)) 343 this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize } 349 this.options.cachePath, this.entry.integrity, { memoize: this.options.memoize } 374 response.headers.set('x-local-cache', encodeURIComponent(this.options.cachePath)) 446 await cacache.index.insert(options.cachePath, this.key, this.entry.integrity, {
|
| D | index.js | 42 if (!options.cachePath) {
|
| D | policy.js | 65 if (!options.cachePath) {
|
| /third_party/typescript/src/typingsInstallerCore/ |
| D | typingsInstaller.ts | 20 …function typingToFileName(cachePath: string, packageName: string, installTypingHost: InstallTyping… 22 …const result = resolveModuleName(packageName, combinePaths(cachePath, "index.d.ts"), { moduleResol… 27 …log.writeLine(`Failed to resolve ${packageName} in folder '${cachePath}': ${(e as Error).message}`… 156 if (req.cachePath) { 158 …this.log.writeLine(`Request specifies cache path '${req.cachePath}', loading cached information...… 160 this.processCacheLocation(req.cachePath); 187 …this.installTypings(req, req.cachePath || this.globalCachePath, discoverTypingsResult.cachedTyping… 319 …private installTypings(req: DiscoverTypings, cachePath: string, currentlyCachedTypings: string[], … 332 this.ensurePackageDirectoryExists(cachePath); 348 this.installTypingsAsync(requestId, scopedTypings, cachePath, ok => { [all …]
|
| /third_party/node/deps/npm/tap-snapshots/test/lib/utils/ |
| D | error-message.js.test.cjs | 359 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes… 388 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes… 392 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes… 421 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":false,"cacheDes… 425 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest… 454 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest… 458 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest… 487 …tils/error-message.js TAP eacces/eperm {"windows":false,"loaded":false,"cachePath":true,"cacheDest… 491 exports[`test/lib/utils/error-message.js TAP eacces/eperm {"windows":false,"loaded":true,"cachePath… 520 exports[`test/lib/utils/error-message.js TAP eacces/eperm {"windows":false,"loaded":true,"cachePath… [all …]
|
| /third_party/vk-gl-cts/scripts/khr_util/ |
| D | registry_cache.py | 150 cachePath = os.path.join(cacheDir, source.getCacheFilename()) 152 if not checkFile(cachePath, source.checksum): 153 …fetchFile(cachePath, source.getRepo(), source.getRevision(), source.getFilename(), source.getCheck… 155 parsedReg = registry.parse(cachePath)
|
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| D | typingsInstaller.ts | 1102 const cachePath = "/a/cache/"; constant 1104 path: cachePath + "node_modules/@types/commander/index.d.ts", 1110 …super(host, { globalTypingsCacheLocation: cachePath, typesRegistry: createTypesRegistry("commander… 1139 const cachePath = "/a/cache"; constant 1141 path: cachePath + "/node_modules/@types/node/index.d.ts", 1145 path: cachePath + "/node_modules/@types/commander/index.d.ts", 1150 path: `${cachePath}/node_modules/@types/${emberComponentDirectory}/index.d.ts`, 1156 …super(host, { globalTypingsCacheLocation: cachePath, typesRegistry: createTypesRegistry("node", "c… 1186 const cachePath = `${tscWatch.projects}/a/cache`; constant 1193 … const typePath = (name: string): string => `${cachePath}/node_modules/@types/${name}/index.d.ts`; [all …]
|
| D | projects.ts | 372 const cachePath = "/a/data"; constant 378 …teInstallTypingsRequest(proj, typeAcquisition, unresolvedImports || server.emptyArray, cachePath)); 382 globalTypingsCacheLocation: cachePath 395 cachePath,
|
| /third_party/node/deps/npm/node_modules/sigstore/dist/ |
| D | sigstore.js | 85 cachePath: options.tufCachePath, property 99 cachePath: options.tufCachePath, property 118 cachePath: options.tufCachePath, property 131 cachePath: options.tufCachePath, property
|
| /third_party/node/deps/npm/test/lib/utils/ |
| D | error-message.js | 182 const runTest = (windows, loaded, cachePath, cacheDest) => async t => { argument 189 const path = `${cachePath ? cache : '/not/cache/dir'}/path` 204 for (const cachePath of [true, false]) { 206 const m = JSON.stringify({ windows, loaded, cachePath, cacheDest }) property 207 t.test(m, runTest(windows, loaded, cachePath, cacheDest))
|
| /third_party/node/deps/npm/node_modules/make-fetch-happen/lib/ |
| D | options.js | 47 if (options.cacheManager && !options.cachePath) { 48 options.cachePath = options.cacheManager
|
| /third_party/mindspore/test/unittest/ |
| D | nnrt_delegate_unit_test.cpp | 118 std::string cachePath = "/data/local/tmp/"; variable 120 OH_AI_DeviceInfoAddExtension(nnrtDeviceInfo, "CachePath", cachePath.c_str(), cachePath.size());
|
| /third_party/typescript/src/server/ |
| D | utilitiesPublic.ts | 34 …ition: TypeAcquisition, unresolvedImports: SortedReadonlyArray<string>, cachePath?: string): Disco… 43 cachePath,
|
| /third_party/skia/tools/sk_app/ |
| D | MetalWindowContext.mm | 35 NSURL* cachePath = [paths objectAtIndex:0]; 36 return [cachePath URLByAppendingPathComponent:@"binaryArchive.metallib"];
|
| /third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/ |
| D | main.go | 213 cachePath := dawnNode + ".runcts.cache" 214 if err := cache.load(cachePath); err != nil && verbose { 215 fmt.Println("failed to load cache from", cachePath, err) 217 defer cache.save(cachePath)
|
| /third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/regres/ |
| D | main.go | 575 cachePath := test.resultsCachePath(testlists, d) 577 if results, err := deqp.LoadResults(cachePath); err == nil { 585 if err := results.Save(cachePath); err != nil { 586 log.Printf("Warning: Couldn't save results of test to '%v'\n", cachePath) 597 cachePath := test.resultsCachePath(testlists, d) 599 if results, err := deqp.LoadResults(cachePath); err == nil { 612 if err := results.Save(cachePath); err != nil { 613 log.Printf("Warning: Couldn't save results of test to '%v'\n", cachePath)
|
| /third_party/typescript/src/jsTyping/ |
| D | types.ts | 20 readonly cachePath?: string; property
|
| /third_party/node/deps/npm/node_modules/npm-registry-fetch/lib/ |
| D | index.js | 113 cachePath: opts.cache, property
|
| /third_party/node/deps/npm/test/lib/commands/ |
| D | audit.js | 930 cachePath: path.join(npm.cache, '_tuf'), property
|