Home
last modified time | relevance | path

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

12

/third_party/cef/libcef/browser/
Dcontext.cc135 bool ValidateCachePath(const base::FilePath& cache_path, in ValidateCachePath() argument
137 if (cache_path.empty()) in ValidateCachePath()
140 if (!root_cache_path.empty() && root_cache_path != cache_path && in ValidateCachePath()
141 !root_cache_path.IsParent(cache_path)) { in ValidateCachePath()
142 LOG(ERROR) << "The cache_path directory (" << cache_path.value() in ValidateCachePath()
149 if (!base::DirectoryExists(cache_path) && in ValidateCachePath()
150 !base::CreateDirectory(cache_path)) { in ValidateCachePath()
151 LOG(ERROR) << "The cache_path directory (" << cache_path.value() in ValidateCachePath()
340 const base::FilePath& cache_path = in Initialize() local
341 NormalizeCachePathAndSet(settings_.cache_path, root_cache_path); in Initialize()
[all …]
Drequest_context_impl.cc314 if (config_.settings.cache_path.length > 0 && in IsSharingWith()
315 other_impl->config_.settings.cache_path.length > 0) { in IsSharingWith()
317 base::FilePath(CefString(&config_.settings.cache_path)) == in IsSharingWith()
318 base::FilePath(CefString(&other_impl->config_.settings.cache_path))); in IsSharingWith()
333 return CefString(&config_.settings.cache_path); in GetCachePath()
622 const base::FilePath& cache_path = in Initialize() local
623 base::FilePath(CefString(&config_.settings.cache_path)); in Initialize()
624 if (!cache_path.empty()) { in Initialize()
627 browser_context_ = CefBrowserContext::FromCachePath(cache_path); in Initialize()
Dbrowser_context.h99 static CefBrowserContext* FromCachePath(const base::FilePath& cache_path);
192 base::FilePath cache_path() const { return cache_path_; } in cache_path() function
Dbrowser_context.cc186 cache_path_ = base::FilePath(CefString(&settings_.cache_path)); in Initialize()
243 const base::FilePath& cache_path) { in FromCachePath() argument
244 return g_manager.Get().GetImplFromPath(cache_path); in FromCachePath()
/third_party/python/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 …]
/third_party/skia/third_party/externals/angle2/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:
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
DFlutterCallbackCache.mm27 NSString* cache_path =
31 if (![[NSFileManager defaultManager] fileExistsAtPath:cache_path]) {
32 [[NSFileManager defaultManager] createFileAtPath:cache_path contents:nil attributes:nil];
34 NSURL* URL = [NSURL fileURLWithPath:cache_path];
/third_party/cef/tests/ceftests/
Dtest_util.h95 const std::string& cache_path);
103 std::string cache_path; \
107 cache_path = scoped_temp_dir.GetPath(); \
110 new test_class(test_class::test_mode, rc_mode, cache_path); \
Dtest_util.cc304 const std::string& cache_path) { in CreateTestRequestContext() argument
305 EXPECT_TRUE(cache_path.empty() || mode == TEST_RC_MODE_CUSTOM || in CreateTestRequestContext()
328 if (!cache_path.empty()) in CreateTestRequestContext()
329 CefString(&settings.cache_path) = cache_path; in CreateTestRequestContext()
Dtest_suite.cc146 CefString(&settings.cache_path) = root_cache_path_; in GetSettings()
Drequest_context_unittest.cc143 CefString(&settings.cache_path) = tempdir.GetPath(); in TEST()
/third_party/cef/libcef/browser/prefs/
Dbrowser_prefs.cc134 const base::FilePath& cache_path, in CreatePrefService() argument
152 const bool store_on_disk = !cache_path.empty() && persist_user_preferences; in CreatePrefService()
166 const base::FilePath& pref_path = cache_path.AppendASCII( in CreatePrefService()
185 supervised_user_settings->Init(cache_path, sequenced_task_runner.get(), in CreatePrefService()
300 registry->RegisterFilePathPref(prefs::kDiskCacheDir, cache_path); in CreatePrefService()
Dbrowser_prefs.h31 const base::FilePath& cache_path,
/third_party/elfutils/debuginfod/
Ddebuginfod-client.c291 char *cache_path, char *interval_path, in debuginfod_clean_cache() argument
322 char * const dirs[] = { cache_path, NULL, }; in debuginfod_clean_cache()
836 char *cache_path = NULL; in debuginfod_query_server() local
986 xalloc_str (cache_path, "%s", cache_var); in debuginfod_query_server()
991 xalloc_str (cache_path, "%s/%s", getenv ("HOME") ?: "/", cache_default_name); in debuginfod_query_server()
994 if (stat (cache_path, &st) < 0) in debuginfod_query_server()
1029 free (cache_path); in debuginfod_query_server()
1030 xalloc_str (cache_path, "%s/%s", cachedir, cache_xdg_name); in debuginfod_query_server()
1034 xalloc_str (target_cache_dir, "%s/%s", cache_path, build_id_bytes); in debuginfod_query_server()
1042 xalloc_str (interval_path, "%s/%s", cache_path, cache_clean_interval_filename); in debuginfod_query_server()
[all …]
DChangeLog867 cache_path even when new default path already exists.
/third_party/mesa3d/src/util/
Dfossilize_db.c93 create_foz_db_filenames(char *cache_path, char *name, char **filename, in create_foz_db_filenames() argument
96 if (asprintf(filename, "%s/%s.foz", cache_path, name) == -1) in create_foz_db_filenames()
99 if (asprintf(idx_filename, "%s/%s_idx.foz", cache_path, name) == -1) { in create_foz_db_filenames()
269 foz_prepare(struct foz_db *foz_db, char *cache_path) in foz_prepare() argument
273 if (!create_foz_db_filenames(cache_path, "foz_cache", &filename, &idx_filename)) in foz_prepare()
307 if (!create_foz_db_filenames(cache_path, foz_db_filename, &filename, in foz_prepare()
Dfossilize_db.h86 foz_prepare(struct foz_db *foz_db, char *cache_path);
/third_party/cef/include/internal/
Dcef_types_wrappers.h537 cef_string_clear(&s->cache_path); in clear()
569 cef_string_set(src->cache_path.str, src->cache_path.length, in set()
570 &target->cache_path, copy); in set()
626 cef_string_clear(&s->cache_path); in clear()
634 cef_string_set(src->cache_path.str, src->cache_path.length, in set()
635 &target->cache_path, copy); in set()
Dcef_types.h250 cef_string_t cache_path; member
458 cef_string_t cache_path; member
/third_party/cef/tests/cefclient/browser/
Droot_window_manager.cc310 CefString(&settings.cache_path) = in GetRequestContext()
318 CefString(&settings.cache_path) = ss.str(); in GetRequestContext()
Dmain_context_impl.cc188 CefString(&settings->cache_path) = in PopulateSettings()
/third_party/cef/tests/ceftests/extensions/
Dextension_test_handler.cc69 CefString(&settings.cache_path) = request_context_temp_dir_.GetPath(); in RunTest()
/third_party/cef/libcef/browser/alloy/
Dalloy_content_browser_client.cc885 const base::FilePath& cache_path = context->GetPath(); in GetGeneratedCodeCacheSettings() local
886 return content::GeneratedCodeCacheSettings(!cache_path.empty() /* enabled */, in GetGeneratedCodeCacheSettings()
887 0 /* size */, cache_path); in GetGeneratedCodeCacheSettings()
/third_party/python/Lib/importlib/
D_bootstrap_external.py915 def _cache_bytecode(self, source_path, cache_path, data): argument
923 return self.set_data(cache_path, data)
/third_party/cef/patch/
Dpatch.cfg270 # cache_path is empty.
417 # Compute correct default quota when cache_path is unspecified.

12