Lines Matching refs:home
68 static char *checkhome(const char *home, const char *fname, bool dotscore) in checkhome() argument
75 c = curl_maprintf("%s" DIR_CHAR "%c%s", home, pref[i], &fname[1]); in checkhome()
77 c = curl_maprintf("%s" DIR_CHAR "%s", home, fname); in checkhome()
113 char *home = curl_getenv(conf_list[i].env); in findfile() local
114 if(home) { in findfile()
119 if(!home[0]) { in findfile()
120 curl_free(home); in findfile()
124 char *c = curl_maprintf("%s%s", home, conf_list[i].append); in findfile()
125 curl_free(home); in findfile()
128 home = c; in findfile()
134 curl_free(home); in findfile()
140 path = checkhome(home, filename, dotscore ? dotscore - 1 : 0); in findfile()
141 curl_free(home); in findfile()
150 char *home = pw->pw_dir; in findfile() local
151 if(home && home[0]) in findfile()
152 return checkhome(home, fname, FALSE); in findfile()