Searched refs:home (Results 1 - 3 of 3) sorted by relevance

/system/core/adb/
H A Dusb_vendors.c282 int build_path(char* buff, size_t len, const char* format, const char* home) argument
284 if (snprintf(buff, len, format, home, ANDROID_PATH, ANDROID_ADB_INI) >= (signed)len) {
295 const char* home = getenv("ANDROID_SDK_HOME"); local
296 if (home != NULL) {
297 return build_path(buff, len, "%s\\%s\\%s", home);
304 const char* home = getenv("HOME");
305 if (home == NULL)
306 home = "/tmp";
308 return build_path(buff, len, "%s/%s/%s", home);
H A Dadb_auth_host.c262 const char *format, *home; local
267 home = getenv("ANDROID_SDK_HOME");
268 if (!home) {
270 home = path;
274 home = getenv("HOME");
275 if (!home)
280 D("home '%s'\n", home);
282 if (snprintf(android_dir, sizeof(android_dir), format, home,
/system/core/sh/
H A Dexpand.c262 const char *home; local
283 if ((home = lookupvar("HOME")) == NULL)
287 if (*home == '\0')
290 while ((c = *home++) != '\0') {

Completed in 56 milliseconds