Home
last modified time | relevance | path

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

12

/third_party/node/deps/npm/test/tap/
Dall-package-metadata-cache-stream-unit.js35 const cachePath = path.join(CACHE_DIR, '.cache.json')
47 fixture.create(cachePath)
48 fixOwner(cachePath)
49 return _createCacheEntryStream(cachePath, {}).then(({
69 const cachePath = path.join(CACHE_DIR, '.cache.json')
71 fixture.create(cachePath)
72 fixOwner(cachePath)
73 return _createCacheEntryStream(cachePath, {}).then(
84 const cachePath = path.join(CACHE_DIR, '.cache.json')
88 fixture.create(cachePath)
[all …]
Dall-package-metadata-entry-stream-unit.js50 const cachePath = path.join(CACHE_DIR, '.cache.json')
59 return _createEntryStream(cachePath, 600, {
86 const cachePath = path.join(CACHE_DIR, '.cache.json')
94 fixture.create(cachePath)
95 fixOwner(cachePath)
96 return _createEntryStream(cachePath, 600, {
128 const cachePath = path.join(CACHE_DIR, '.cache.json')
136 fixture.create(cachePath)
137 fixOwner(cachePath)
138 return _createEntryStream(cachePath, 600, {
[all …]
Dall-package-metadata-write-stream-unit.js49 var cachePath = path.join(CACHE_DIR, '.cache.json')
56 return _createCacheWriteStream(cachePath, latest, {
70 var fileData = JSON.parse(fs.readFileSync(cachePath))
88 const cachePath = path.join(CACHE_DIR, '.cache.json')
92 return _createCacheWriteStream(cachePath, latest, {
100 const fileData = JSON.parse(fs.readFileSync(cachePath))
107 var cachePath = path.join(CACHE_DIR, '.cache.json')
111 return _createCacheWriteStream(cachePath, latest, {
119 var fileData = JSON.parse(fs.readFileSync(cachePath))
Dall-package-metadata.js21 let cachePath variable
40 cachePath = path.join(cacheBase, '.cache.json')
77 var fileData = JSON.parse(fs.readFileSync(cachePath))
106 fixture.create(cachePath)
124 var fileData = JSON.parse(fs.readFileSync(cachePath))
151 fixture.create(cachePath)
185 var fileData = JSON.parse(fs.readFileSync(cachePath))
Dsearch.js20 let cachePath variable
25 cachePath = path.join(cacheBase, '.cache.json')
89 fixture.create(cachePath)
90 fixOwner(cachePath)
Dsearch.all-package-search.js17 const cachePath = path.join(cacheBase, '.cache.json') constant
171 fixture.create(cachePath)
172 fixOwner(cachePath)
/third_party/flutter/flutter/bin/internal/
Dupdate_dart_sdk.ps119 $cachePath = "$flutterRoot\bin\cache" variable
20 $dartSdkPath = "$cachePath\dart-sdk"
21 $engineStamp = "$cachePath\engine-dart-sdk.stamp"
50 while (Test-Path "$cachePath\$oldDartSdkPrefix$oldDartSdkSuffix") { $oldDartSdkSuffix++ } variable
54 $dartSdkZip = "$cachePath\$dartZipName"
75 & 7z x $dartSdkZip "-o$cachePath" -bd | Out-Null
78 & 7za x $dartSdkZip "-o$cachePath" -bd | Out-Null
81 Expand-Archive $dartSdkZip -DestinationPath $cachePath
87 $shell.Namespace($cachePath).copyhere($item)
95 Get-ChildItem -Path $cachePath | Where {$_.BaseName.StartsWith($oldDartSdkPrefix)} | Remove-Item -R… variable
/third_party/spirv-tools/utils/vscode/src/tools/
Dgen-grammar.go63 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/spirv-tools/utils/vscode/src/tools/
Dgen-grammar.go63 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/
Dgen-grammar.go63 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/typescript/src/typingsInstallerCore/
DtypingsInstaller.ts20 …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}': ${(<Error>e).message}`);
156 if (req.cachePath) {
158 …this.log.writeLine(`Request specifies cache path '${req.cachePath}', loading cached information...…
160 this.processCacheLocation(req.cachePath);
186 …this.installTypings(req, req.cachePath || this.globalCachePath, discoverTypingsResult.cachedTyping…
318 …private installTypings(req: DiscoverTypings, cachePath: string, currentlyCachedTypings: string[], …
331 this.ensurePackageDirectoryExists(cachePath);
347 this.installTypingsAsync(requestId, scopedTypings, cachePath, ok => {
[all …]
/third_party/node/deps/npm/node_modules/cacache/
DREADME.md59 const cachePath = '/tmp/my-toy-cache'
62 // Cache it! Use `cachePath` as the root of the content cache
63 cacache.put(cachePath, key, '10293801983029384').then(integrity => {
64 console.log(`Saved content to ${cachePath}.`)
72 cachePath, key
80 cacache.get.byDigest(cachePath, integrityHash).then(data => {
140 cacache.ls(cachePath).then(console.log)
146 path: '.testcache/content/deadbeef', // joined with `cachePath`
175 cacache.ls.stream(cachePath).on('data', console.log)
180 path: '.testcache/content/deadbeef', // joined with `cachePath`
[all …]
/third_party/node/deps/npm/node_modules/make-fetch-happen/
Dcache.js64 const cachePath = this._path
73 cacache.get.stream.byDigest(cachePath, info.integrity, {
87 cacache.get.byDigest(cachePath, info.integrity, {
142 const cachePath = this._path
153 cachePath,
164 cacache.put.stream(cachePath, cacheKey(req), cacheOpts)
/third_party/vk-gl-cts/scripts/khr_util/
Dregistry_cache.py150 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/
DtypingsInstaller.ts1007 const cachePath = "/a/cache/"; constant
1009 path: cachePath + "node_modules/@types/commander/index.d.ts",
1015 …super(host, { globalTypingsCacheLocation: cachePath, typesRegistry: createTypesRegistry("commander…
1044 const cachePath = "/a/cache"; constant
1046 path: cachePath + "/node_modules/@types/node/index.d.ts",
1050 path: cachePath + "/node_modules/@types/commander/index.d.ts",
1055 path: `${cachePath}/node_modules/@types/${emberComponentDirectory}/index.d.ts`,
1061 …super(host, { globalTypingsCacheLocation: cachePath, typesRegistry: createTypesRegistry("node", "c…
1091 const cachePath = `${tscWatch.projects}/a/cache`; constant
1098 … const typePath = (name: string): string => `${cachePath}/node_modules/@types/${name}/index.d.ts`;
[all …]
Dprojects.ts385 const cachePath = "/a/data"; constant
391 …teInstallTypingsRequest(proj, typeAcquisition, unresolvedImports || server.emptyArray, cachePath));
395 globalTypingsCacheLocation: cachePath
408 cachePath,
/third_party/node/deps/npm/lib/search/
Dall-package-metadata.js43 const cachePath = path.join(cacheBase, '.cache.json')
45 cachePath, staleness, opts
49 return createCacheWriteStream(cachePath, latest, opts).then(writer => {
65 function createEntryStream (cachePath, staleness, opts) { argument
67 cachePath, opts
/third_party/typescript/src/server/
DutilitiesPublic.ts34 …ition: TypeAcquisition, unresolvedImports: SortedReadonlyArray<string>, cachePath?: string): Disco…
43 cachePath,
/third_party/node/deps/npm/lib/
Dcache.js70 const cachePath = path.join(npm.cache, '_cacache')
75 return rm(cachePath)
/third_party/node/deps/npm/node_modules/pacote/lib/
Dwith-tarball-stream.js133 function cleanUpCached (cachePath, integrity, opts) { argument
134 return cacache.rm.content(cachePath, integrity, opts)
/third_party/flutter/flutter/packages/flutter_tools/lib/src/dart/
Dpub.dart247 final String cachePath = fs.path.join(Cache.flutterRoot, '.pub-cache');
248 if (fs.directory(cachePath).existsSync()) {
249 printTrace('Using $cachePath for the pub cache.');
250 return cachePath;
/third_party/skia/tools/sk_app/
DMetalWindowContext.mm35 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/
Dmain.go213 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/
Dmain.go575 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/
Dtypes.ts20 readonly cachePath?: string; property

12