Searched refs:home_dir (Results 1 – 4 of 4) sorted by relevance
126 const char *home_dir = NULL; in ResolveUsername() local130 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()
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()
4262 static char *home_dir = NULL; in find_home_dir() local4263 if( home_dir ) return home_dir; in find_home_dir()4271 home_dir = pwent->pw_dir; in find_home_dir()4279 home_dir = "/"; in find_home_dir()4283 if (!home_dir) { in find_home_dir()4284 home_dir = getenv("USERPROFILE"); in find_home_dir()4288 if (!home_dir) { in find_home_dir()4289 home_dir = getenv("HOME"); in find_home_dir()4293 if (!home_dir) { in find_home_dir()4300 home_dir = malloc( n ); in find_home_dir()[all …]
4284 static char *home_dir = NULL; in find_home_dir() local4285 if( home_dir ) return home_dir; in find_home_dir()4293 home_dir = pwent->pw_dir; in find_home_dir()4301 home_dir = "/"; in find_home_dir()4305 if (!home_dir) { in find_home_dir()4306 home_dir = getenv("USERPROFILE"); in find_home_dir()4310 if (!home_dir) { in find_home_dir()4311 home_dir = getenv("HOME"); in find_home_dir()4315 if (!home_dir) { in find_home_dir()4322 home_dir = malloc( n ); in find_home_dir()[all …]