Searched defs:executable_path (Results 1 - 4 of 4) sorted by relevance
/bionic/linker/tests/ |
H A D | linker_config_test.cpp | 117 std::string executable_path = std::string(tmp_dir.path) + "/some-binary"; local 130 executable_path.c_str(),
|
/bionic/tests/ |
H A D | stdlib_test.cpp | 187 char executable_path[PATH_MAX]; local 188 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); 190 executable_path[rc] = '\0'; 194 ASSERT_STREQ(executable_path, p); 197 ASSERT_STREQ(executable_path, p);
|
H A D | dlfcn_test.cpp | 873 const std::string& executable_path = get_executable_path(); local 878 ASSERT_STREQ(executable_path.c_str(), dli_realpath); 891 if (executable_path == rec.pathname) {
|
/bionic/linker/ |
H A D | linker_main.cpp | 187 static std::string executable_path; local 188 if (executable_path.empty()) { 194 executable_path = std::string(path, path_len); 197 return executable_path.c_str(); 266 // Stat "/proc/self/exe" instead of executable_path because 273 const char* executable_path = get_executable_path(); local 274 soinfo* si = soinfo_alloc(&g_default_namespace, executable_path, &file_stat, 0, RTLD_GLOBAL); 287 map->l_name = const_cast<char*>(executable_path); 335 init_default_namespace(executable_path);
|
Completed in 379 milliseconds