Searched refs:path_len (Results 1 – 2 of 2) sorted by relevance
211 ssize_t path_len = readlink("/init", path, sizeof(path)); in get_executable_info() local212 if (path_len == -1 || path_len >= static_cast<ssize_t>(sizeof(path))) { in get_executable_info()215 result.path = std::string(path, path_len); in get_executable_info()225 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in get_executable_info() local226 if (path_len == -1 || path_len >= static_cast<ssize_t>(sizeof(path))) { in get_executable_info()229 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()