Searched refs:executable_path (Results 1 – 3 of 3) sorted by relevance
| /bionic/tests/ |
| D | stdlib_test.cpp | 185 char executable_path[PATH_MAX]; in TEST() local 186 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST() 188 executable_path[rc] = '\0'; in TEST() 192 ASSERT_STREQ(executable_path, p); in TEST() 195 ASSERT_STREQ(executable_path, p); in TEST()
|
| D | dlfcn_test.cpp | 793 const std::string& executable_path = get_executable_path(); in TEST() local 798 ASSERT_STREQ(executable_path.c_str(), dli_realpath); in TEST() 811 if (executable_path == rec.pathname) { in TEST()
|
| /bionic/linker/ |
| D | linker.cpp | 4167 static std::string executable_path; in get_executable_path() local 4168 if (executable_path.empty()) { in get_executable_path() 4174 executable_path = std::string(path, path_len); in get_executable_path() 4177 return executable_path.c_str(); in get_executable_path() 4234 const char* executable_path = get_executable_path(); local 4235 soinfo* si = soinfo_alloc(&g_default_namespace, executable_path, &file_stat, 0, RTLD_GLOBAL); 4248 map->l_name = const_cast<char*>(executable_path);
|