/third_party/cef/libcef/browser/ |
D | context.cc | 135 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 …]
|
D | request_context_impl.cc | 314 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()
|
D | browser_context.h | 99 static CefBrowserContext* FromCachePath(const base::FilePath& cache_path); 192 base::FilePath cache_path() const { return cache_path_; } in cache_path() function
|
D | browser_context.cc | 186 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/ |
D | test_py_compile.py | 59 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/ |
D | lookup_dep.py | 264 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/ |
D | FlutterCallbackCache.mm | 27 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/ |
D | test_util.h | 95 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); \
|
D | test_util.cc | 304 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()
|
D | test_suite.cc | 146 CefString(&settings.cache_path) = root_cache_path_; in GetSettings()
|
D | request_context_unittest.cc | 143 CefString(&settings.cache_path) = tempdir.GetPath(); in TEST()
|
/third_party/cef/libcef/browser/prefs/ |
D | browser_prefs.cc | 134 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()
|
D | browser_prefs.h | 31 const base::FilePath& cache_path,
|
/third_party/elfutils/debuginfod/ |
D | debuginfod-client.c | 291 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 …]
|
D | ChangeLog | 867 cache_path even when new default path already exists.
|
/third_party/mesa3d/src/util/ |
D | fossilize_db.c | 93 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()
|
D | fossilize_db.h | 86 foz_prepare(struct foz_db *foz_db, char *cache_path);
|
/third_party/cef/include/internal/ |
D | cef_types_wrappers.h | 537 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()
|
D | cef_types.h | 250 cef_string_t cache_path; member 458 cef_string_t cache_path; member
|
/third_party/cef/tests/cefclient/browser/ |
D | root_window_manager.cc | 310 CefString(&settings.cache_path) = in GetRequestContext() 318 CefString(&settings.cache_path) = ss.str(); in GetRequestContext()
|
D | main_context_impl.cc | 188 CefString(&settings->cache_path) = in PopulateSettings()
|
/third_party/cef/tests/ceftests/extensions/ |
D | extension_test_handler.cc | 69 CefString(&settings.cache_path) = request_context_temp_dir_.GetPath(); in RunTest()
|
/third_party/cef/libcef/browser/alloy/ |
D | alloy_content_browser_client.cc | 885 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.py | 915 def _cache_bytecode(self, source_path, cache_path, data): argument 923 return self.set_data(cache_path, data)
|
/third_party/cef/patch/ |
D | patch.cfg | 270 # cache_path is empty. 417 # Compute correct default quota when cache_path is unspecified.
|