Home
last modified time | relevance | path

Searched refs:executable_path (Results 1 – 7 of 7) sorted by relevance

/bionic/linker/
Dlinker_main.cpp187 static std::string executable_path; in get_executable_path() local
188 if (executable_path.empty()) { in get_executable_path()
194 executable_path = std::string(path, path_len); in get_executable_path()
197 return executable_path.c_str(); in get_executable_path()
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);
Dlinker_main.h47 void init_default_namespace(const char* executable_path);
Dld.config.format.md36 # the version specified in <dirname>/.version file, where <dirname> = dirname(executable_path)
Dlinker.cpp3431 void init_default_namespace(const char* executable_path) { in init_default_namespace() argument
3449 executable_path, in init_default_namespace()
3456 executable_path, in init_default_namespace()
/bionic/linker/tests/
Dlinker_config_test.cpp117 std::string executable_path = std::string(tmp_dir.path) + "/some-binary"; in run_linker_config_smoke_test() local
130 executable_path.c_str(), in run_linker_config_smoke_test()
/bionic/tests/
Dstdlib_test.cpp187 char executable_path[PATH_MAX]; in TEST() local
188 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST()
190 executable_path[rc] = '\0'; in TEST()
194 ASSERT_STREQ(executable_path, p); in TEST()
197 ASSERT_STREQ(executable_path, p); in TEST()
Ddlfcn_test.cpp873 const std::string& executable_path = get_executable_path(); local
878 ASSERT_STREQ(executable_path.c_str(), dli_realpath);
891 if (executable_path == rec.pathname) {