Home
last modified time | relevance | path

Searched refs:exe (Results 1 – 5 of 5) sorted by relevance

/system/core/fastboot/
Dutil_windows.c39 void get_my_path(char exe[PATH_MAX]) in get_my_path()
43 GetModuleFileName( NULL, exe, PATH_MAX-1 ); in get_my_path()
44 exe[PATH_MAX-1] = 0; in get_my_path()
45 r = strrchr( exe, '\\' ); in get_my_path()
/system/core/adb/
Dget_my_path_windows.c21 void get_my_path(char *exe, size_t maxLen) in get_my_path() argument
26 if (GetModuleFileName(NULL, exe, maxLen) > 0) { in get_my_path()
27 r = strrchr(exe, '\\'); in get_my_path()
31 exe[0] = '\0'; in get_my_path()
Dget_my_path_linux.c22 void get_my_path(char *exe, size_t maxLen) in get_my_path() argument
26 int err = readlink(proc, exe, maxLen - 1); in get_my_path()
28 exe[err] = '\0'; in get_my_path()
30 exe[0] = '\0'; in get_my_path()
Dget_my_path_freebsd.c26 get_my_path(char *exe, size_t maxLen) in get_my_path() argument
32 int err = readlink(proc, exe, maxLen - 1); in get_my_path()
34 exe[err > 0 ? err : 0] = '\0'; in get_my_path()
/system/core/debuggerd/
Ddebuggerd.cpp61 char exe[PATH_MAX]; in wait_for_user_action() local
63 if ((count = readlink(path, exe, sizeof(exe) - 1)) == -1) { in wait_for_user_action()
65 strlcpy(exe, "unknown", sizeof(exe)); in wait_for_user_action()
67 exe[count] = '\0'; in wait_for_user_action()
81 request.pid, exe, request.tid); in wait_for_user_action()