Home
last modified time | relevance | path

Searched refs:path_len (Results 1 – 2 of 2) sorted by relevance

/bionic/tests/
Dgtest_main.cpp1116 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in get_proc_self_exe() local
1117 if (path_len <= 0 || path_len >= static_cast<ssize_t>(sizeof(path))) { in get_proc_self_exe()
1122 return std::string(path, path_len); in get_proc_self_exe()
/bionic/linker/
Dlinker.cpp4143 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in get_executable_path() local
4144 if (path_len == -1 || path_len >= static_cast<ssize_t>(sizeof(path))) { in get_executable_path()
4147 executable_path = std::string(path, path_len); in get_executable_path()