Searched refs:home_dir (Results 1 – 12 of 12) sorted by relevance
/external/chromium_org/base/third_party/xdg_user_dirs/ |
D | xdg_user_dir_lookup.cc | 52 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/ |
D | sqlite_diagnostics.cc | 227 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/ |
D | crash_dump_tester.py | 150 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/ |
D | shell.c | 2504 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/ |
D | file_util_posix.cc | 468 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/ |
D | FileSpec.cpp | 126 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()
|
D | Host.cpp | 1137 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/ |
D | shell.c | 3677 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/ |
D | shell.c | 3657 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/ |
D | download_prefs.cc | 55 base::FilePath home_dir = base::GetHomeDir(); in DownloadPathIsDangerous() local 56 if (download_path == home_dir) { in DownloadPathIsDangerous()
|
/external/chromium_org/chrome/installer/gcapi_mac/ |
D | gcapi.mm | 90 // 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/ |
D | sandbox_mac.mm | 566 std::string home_dir = [NSHomeDirectory() fileSystemRepresentation]; 569 GetCanonicalSandboxPath(base::FilePath(home_dir));
|