Lines Matching refs:home
68 static char *checkhome(const char *home, const char *fname, bool dotscore) in checkhome() argument
75 c = aprintf("%s" DIR_CHAR "%c%s", home, pref[i], &fname[1]); in checkhome()
77 c = aprintf("%s" DIR_CHAR "%s", home, fname); in checkhome()
112 char *home = curl_getenv(conf_list[i].env); in findfile() local
113 if(home) { in findfile()
116 if(!home[0]) { in findfile()
117 curl_free(home); in findfile()
121 char *c = aprintf("%s%s", home, conf_list[i].append); in findfile()
122 curl_free(home); in findfile()
125 home = c; in findfile()
131 curl_free(home); in findfile()
137 path = checkhome(home, filename, dotscore ? dotscore - 1 : 0); in findfile()
138 curl_free(home); in findfile()
147 char *home = pw->pw_dir; in findfile() local
148 if(home && home[0]) in findfile()
149 return checkhome(home, fname, FALSE); in findfile()