Home
last modified time | relevance | path

Searched refs:home (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/
Dusb_vendors.c255 int build_path(char* buff, size_t len, const char* format, const char* home) in build_path() argument
257 if (snprintf(buff, len, format, home, ANDROID_PATH, ANDROID_ADB_INI) >= (signed)len) { in build_path()
268 const char* home = getenv("ANDROID_SDK_HOME"); in get_adb_usb_ini() local
269 if (home != NULL) { in get_adb_usb_ini()
270 return build_path(buff, len, "%s\\%s\\%s", home); in get_adb_usb_ini()
277 const char* home = getenv("HOME"); in get_adb_usb_ini()
278 if (home == NULL) in get_adb_usb_ini()
279 home = "/tmp"; in get_adb_usb_ini()
281 return build_path(buff, len, "%s/%s/%s", home); in get_adb_usb_ini()
Dadb_auth_host.c262 const char *format, *home; in get_user_keyfilepath() local
267 home = getenv("ANDROID_SDK_HOME"); in get_user_keyfilepath()
268 if (!home) { in get_user_keyfilepath()
270 home = path; in get_user_keyfilepath()
274 home = getenv("HOME"); in get_user_keyfilepath()
275 if (!home) in get_user_keyfilepath()
280 D("home '%s'\n", home); in get_user_keyfilepath()
282 if (snprintf(android_dir, sizeof(android_dir), format, home, in get_user_keyfilepath()
/system/core/sh/
Dexpand.c262 const char *home; in exptilde() local
283 if ((home = lookupvar("HOME")) == NULL) in exptilde()
287 if (*home == '\0') in exptilde()
290 while ((c = *home++) != '\0') { in exptilde()
DTOUR256 by the user's home directory, the flag "didudir" is set. This