Searched refs:path_len (Results 1 – 2 of 2) sorted by relevance
206 ssize_t path_len = readlink("/init", path, sizeof(path)); in get_executable_info() local207 if (path_len == -1 || path_len >= static_cast<ssize_t>(sizeof(path))) { in get_executable_info()210 result.path = std::string(path, path_len); in get_executable_info()220 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in get_executable_info() local221 if (path_len == -1 || path_len >= static_cast<ssize_t>(sizeof(path))) { in get_executable_info()224 result.path = std::string(path, path_len); in get_executable_info()
132 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in GetExe() local133 ASSERT_TRUE(path_len >= 0); in GetExe()134 *exe_name = std::string(path, path_len); in GetExe()