Home
last modified time | relevance | path

Searched refs:home_dir (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/base/third_party/xdg_user_dirs/
Dxdg_user_dir_lookup.cc52 char *home_dir, *config_home, *config_file; in xdg_user_dir_lookup_with_fallback() local
59 home_dir = getenv ("HOME"); in xdg_user_dir_lookup_with_fallback()
61 if (home_dir == NULL) in xdg_user_dir_lookup_with_fallback()
67 config_file = (char*) malloc (strlen (home_dir) + strlen ("/.config/user-dirs.dirs") + 1); in xdg_user_dir_lookup_with_fallback()
71 strcpy (config_file, home_dir); in xdg_user_dir_lookup_with_fallback()
136 user_dir = (char*) malloc (strlen (home_dir) + 1 + strlen (p) + 1); in xdg_user_dir_lookup_with_fallback()
140 strcpy (user_dir, home_dir); in xdg_user_dir_lookup_with_fallback()
193 char *dir, *home_dir, *user_dir; in xdg_user_dir_lookup() local
199 home_dir = getenv ("HOME"); in xdg_user_dir_lookup()
201 if (home_dir == NULL) in xdg_user_dir_lookup()
[all …]
/external/chromium_org/chrome/browser/diagnostics/
Dsqlite_diagnostics.cc227 base::FilePath home_dir; in MakeSqliteNssCertDbTest() local
228 PathService::Get(base::DIR_HOME, &home_dir); in MakeSqliteNssCertDbTest()
231 home_dir.Append(chromeos::kNssCertDbPath)); in MakeSqliteNssCertDbTest()
235 base::FilePath home_dir; in MakeSqliteNssKeyDbTest() local
236 PathService::Get(base::DIR_HOME, &home_dir); in MakeSqliteNssKeyDbTest()
239 home_dir.Append(chromeos::kNssKeyDbPath)); in MakeSqliteNssKeyDbTest()
/external/chromium_org/ppapi/native_client/tests/breakpad_crash_test/
Dcrash_dump_tester.py150 home_dir = temp_dir
151 os.environ['HOME'] = home_dir
162 for path in ListPathsInDir(os.path.join(home_dir, '.config'))]
/external/chromium_org/third_party/sqlite/src/src/
Dshell.c2504 char *home_dir = NULL; in find_home_dir() local
2510 home_dir = pwent->pw_dir; in find_home_dir()
2517 home_dir = strdup("/"); in find_home_dir()
2521 if (!home_dir) { in find_home_dir()
2522 home_dir = getenv("USERPROFILE"); in find_home_dir()
2526 if (!home_dir) { in find_home_dir()
2527 home_dir = getenv("HOME"); in find_home_dir()
2531 if (!home_dir) { in find_home_dir()
2538 home_dir = malloc( n ); in find_home_dir()
2539 if( home_dir==0 ) return 0; in find_home_dir()
[all …]
/external/chromium_org/base/files/
Dfile_util_posix.cc468 const char* home_dir = getenv("HOME"); in GetHomeDir() local
469 if (home_dir && home_dir[0]) in GetHomeDir()
470 return FilePath(home_dir); in GetHomeDir()
481 home_dir = g_get_home_dir(); in GetHomeDir()
482 if (home_dir && home_dir[0]) in GetHomeDir()
483 return FilePath(home_dir); in GetHomeDir()
/external/lldb/source/Host/common/
DFileSpec.cpp126 const char *home_dir = NULL; in ResolveUsername() local
130 home_dir = GetCachedGlobTildeSlash(); in ResolveUsername()
136 home_dir = user_entry->pw_dir; in ResolveUsername()
139 if (home_dir == NULL) in ResolveUsername()
142 return ::snprintf (dst_path, dst_len, "%s%s", home_dir, remainder); in ResolveUsername()
DHost.cpp1137 const char *home_dir = getenv("HOME"); in GetLLDBPath()
1138 if (home_dir && home_dir[0]) in GetLLDBPath()
1140 std::string user_plugin_dir (home_dir); in GetLLDBPath()
/external/sqlite/dist/
Dshell.c3677 static char *home_dir = NULL; in find_home_dir() local
3678 if( home_dir ) return home_dir; in find_home_dir()
3685 home_dir = pwent->pw_dir; in find_home_dir()
3693 home_dir = "/"; in find_home_dir()
3697 if (!home_dir) { in find_home_dir()
3698 home_dir = getenv("USERPROFILE"); in find_home_dir()
3702 if (!home_dir) { in find_home_dir()
3703 home_dir = getenv("HOME"); in find_home_dir()
3707 if (!home_dir) { in find_home_dir()
3714 home_dir = malloc( n ); in find_home_dir()
[all …]
/external/sqlite/dist/orig/
Dshell.c3657 static char *home_dir = NULL; in find_home_dir() local
3658 if( home_dir ) return home_dir; in find_home_dir()
3665 home_dir = pwent->pw_dir; in find_home_dir()
3673 home_dir = "/"; in find_home_dir()
3677 if (!home_dir) { in find_home_dir()
3678 home_dir = getenv("USERPROFILE"); in find_home_dir()
3682 if (!home_dir) { in find_home_dir()
3683 home_dir = getenv("HOME"); in find_home_dir()
3687 if (!home_dir) { in find_home_dir()
3694 home_dir = malloc( n ); in find_home_dir()
[all …]
/external/chromium_org/chrome/browser/download/
Ddownload_prefs.cc55 base::FilePath home_dir = base::GetHomeDir(); in DownloadPathIsDangerous() local
56 if (download_path == home_dir) { in DownloadPathIsDangerous()
/external/chromium_org/chrome/installer/gcapi_mac/
Dgcapi.mm90 // Replaces "~~" with |home_dir|.
91 NSString* AdjustHomedir(NSString* s, const char* home_dir) {
94 NSString* ns_home_dir = [NSString stringWithUTF8String:home_dir];
/external/chromium_org/content/common/
Dsandbox_mac.mm566 std::string home_dir = [NSHomeDirectory() fileSystemRepresentation];
569 GetCanonicalSandboxPath(base::FilePath(home_dir));