Home
last modified time | relevance | path

Searched refs:cache_dir (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/common/
Dchrome_paths_unittest.cc17 FilePath test_profile_dir, cache_dir; in TEST() local
35 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
36 EXPECT_EQ(expected_cache_dir.value(), cache_dir.value()); in TEST()
42 chrome::GetUserCacheDirectory(test_profile_dir, &cache_dir); in TEST()
43 EXPECT_EQ(test_profile_dir.value(), cache_dir.value()); in TEST()
Dchrome_paths_linux.cc55 FilePath cache_dir; in GetUserCacheDirectory() local
56 if (!PathService::Get(base::DIR_CACHE, &cache_dir)) in GetUserCacheDirectory()
62 if (!config_dir.AppendRelativePath(profile_dir, &cache_dir)) in GetUserCacheDirectory()
65 *result = cache_dir; in GetUserCacheDirectory()
Dchrome_paths_mac.mm116 FilePath cache_dir;
117 if (!PathService::Get(base::DIR_CACHE, &cache_dir))
119 if (!app_data_dir.AppendRelativePath(profile_dir, &cache_dir))
122 *result = cache_dir;
/external/chromium/base/
Dbase_paths_linux.cc114 FilePath cache_dir(base::nix::GetXDGDirectory(env.get(), "XDG_CACHE_HOME", in PathProviderPosix() local
116 *result = cache_dir; in PathProviderPosix()
/external/bluetooth/glib/glib/
Dgutils.c2174 gchar *cache_dir; in g_get_user_cache_dir() local
2181 cache_dir = get_special_folder (CSIDL_INTERNET_CACHE); /* XXX correct? */ in g_get_user_cache_dir()
2183 cache_dir = (gchar *) g_getenv ("XDG_CACHE_HOME"); in g_get_user_cache_dir()
2185 if (cache_dir && cache_dir[0]) in g_get_user_cache_dir()
2186 cache_dir = g_strdup (cache_dir); in g_get_user_cache_dir()
2188 if (!cache_dir || !cache_dir[0]) in g_get_user_cache_dir()
2193 cache_dir = g_build_filename (g_home_dir, ".cache", NULL); in g_get_user_cache_dir()
2195 cache_dir = g_build_filename (g_tmp_dir, g_user_name, ".cache", NULL); in g_get_user_cache_dir()
2197 g_user_cache_dir = cache_dir; in g_get_user_cache_dir()
2200 cache_dir = g_user_cache_dir; in g_get_user_cache_dir()
[all …]