Home
last modified time | relevance | path

Searched refs:cache_path (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_py_compile.py59 self.cache_path = importlib.util.cache_from_source(self.source_path)
79 self.assertFalse(os.path.exists(self.cache_path))
103 self.assertTrue(os.path.exists(self.cache_path))
110 self.assertFalse(os.path.exists(self.cache_path))
116 self.assertFalse(os.path.exists(self.cache_path))
144 self.assertFalse(os.path.exists(self.cache_path))
160 cache_path = importlib.util.cache_from_source(weird_path)
162 head, tail = os.path.split(cache_path)
172 self.assertTrue(os.path.exists(cache_path))
184 with open(self.cache_path, 'rb') as fp:
[all …]
/external/elfutils/debuginfod/
Ddebuginfod-client.c213 debuginfod_init_cache (char *cache_path, char *interval_path, char *maxage_path) in debuginfod_init_cache() argument
218 if (stat(cache_path, &st) == 0 && stat(interval_path, &st) == 0) in debuginfod_init_cache()
222 if (stat(cache_path, &st) != 0 && mkdir(cache_path, ACCESSPERMS) < 0) in debuginfod_init_cache()
251 char *cache_path, char *interval_path, in debuginfod_clean_cache() argument
301 char * const dirs[] = { cache_path, NULL, }; in debuginfod_clean_cache()
500 char *cache_path = NULL; in debuginfod_query_server() local
616 xalloc_str (cache_path, "%s", cache_var); in debuginfod_query_server()
621 xalloc_str (cache_path, "%s/%s", getenv ("HOME") ?: "/", cache_default_name); in debuginfod_query_server()
624 if (stat (cache_path, &st) < 0) in debuginfod_query_server()
659 free (cache_path); in debuginfod_query_server()
[all …]
DChangeLog353 cache_path even when new default path already exists.
/external/libyuv/files/
Dsync_chromium.py100 cache_path = os.path.join(os.path.splitdrive(ROOT_DIR)[0] + os.path.sep,
103 cache_path = '/b/git-cache'
106 cache_path = get_cache_dir()
112 if cache_path:
125 spec[-1] = 'cache_dir = %r' % (cache_path,)
/external/angle/tools/android/modularization/convenience/
Dlookup_dep.py264 cache_path = abs_jar_path.with_suffix(abs_jar_path.suffix + '.namelist_cache')
266 cache_path = (abs_build_output_dir / 'gen' / cache_path.relative_to(_SRC_DIR))
267 if (cache_path.exists() and os.path.getmtime(cache_path) > os.path.getmtime(abs_jar_path)):
268 with open(cache_path) as f:
274 cache_path.parent.mkdir(parents=True, exist_ok=True)
275 with open(cache_path, 'w') as f:
/external/autotest/server/cros/tradefed/
Dtradefed_test.py655 def _instance_copyfile(self, cache_path): argument
659 filename = os.path.basename(cache_path)
660 dirname = os.path.basename(os.path.dirname(cache_path))
665 shutil.copyfile(cache_path, instance_path)
668 def _instance_copytree(self, cache_path): argument
677 dir2 = os.path.basename(cache_path)
678 dir1 = os.path.basename(os.path.dirname(cache_path))
680 logging.info('Copying %s to instance %s', cache_path, instance_path)
681 shutil.copytree(cache_path, instance_path)
697 cache_path = self._download_to_cache(gs_uri)
[all …]
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformRemoteMacOSX.cpp174 std::string cache_path(GetLocalCacheDirectory()); in GetFileWithUUID() local
176 cache_path.append(module_path); in GetFileWithUUID()
177 FileSpec module_cache_spec(cache_path); in GetFileWithUUID()
DPlatformDarwin.cpp271 std::string cache_path(GetLocalCacheDirectory()); in GetSharedModuleWithLocalCache() local
273 if (!cache_path.empty()) { in GetSharedModuleWithLocalCache()
275 cache_path.append(module_path); in GetSharedModuleWithLocalCache()
276 FileSpec module_cache_spec(cache_path); in GetSharedModuleWithLocalCache()
/external/libchrome/base/android/
Dpath_utils.cc29 FilePath cache_path(ConvertJavaStringToUTF8(path)); in GetCacheDirectory() local
30 *result = cache_path; in GetCacheDirectory()
/external/ImageMagick/MagickCore/
Dresource.c1101 cache_path[MagickPathExtent]; in RelinquishUniqueFileResource() local
1115 (void) CopyMagickString(cache_path,path,MagickPathExtent); in RelinquishUniqueFileResource()
1116 AppendImageFormat("cache",cache_path); in RelinquishUniqueFileResource()
1117 if (access_utf8(cache_path,F_OK) == 0) in RelinquishUniqueFileResource()
1118 (void) ShredFile(cache_path); in RelinquishUniqueFileResource()
/external/toolchain-utils/crosperf/
Dresults_cache.py1305 cache_path = self.FormCacheDir(self.GetCacheKeyList(False))[0]
1315 return cache_path, keylist
1316 return cache_path
1323 cache_path = [os.path.join(cache_home, cache_dir)]
1325 cache_path = [os.path.join(SCRATCH_DIR, cache_dir)]
1330 cache_path.append(os.path.join(path, cache_dir))
1334 return cache_path
/external/bcc/src/cc/
Dbcc_proc.c265 static int load_ld_cache(const char *cache_path) { in load_ld_cache() argument
269 int ret, fd = open(cache_path, O_RDONLY); in load_ld_cache()
/external/python/httplib2/tests/
Dtest_http.py443 cache_path = tests.get_cache_path()
444 http = httplib2.Http(cache=cache_path)
472 cache_path, httplib2.safename(httplib2.urlnorm(uri)[-1])
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py821 def _cache_bytecode(self, source_path, cache_path, data): argument
829 return self.set_data(cache_path, data)
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs76 pub cache_path: Option<String>, field
102 cache_path: None, in default()
/external/python/setuptools/pkg_resources/
D__init__.py1162 cache_path = self.extraction_path or get_default_cache()
1182 err.cache_path = cache_path
/external/crosvm/src/
Dmain.rs345 "cache-path" => gpu_params.cache_path = Some(v.to_string()), in parse_gpu_options()
Dlinux.rs923 .and_then(|params| params.cache_path.as_ref()) in create_gpu_device()
/external/python/setuptools/docs/
Dpkg_resources.txt1366 cache_path