Home
last modified time | relevance | path

Searched refs:exe_path (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/android/crazy_linker/tests/
Dtest_search_path_list.cpp86 String exe_path = GetCurrentExecutableDirectory(); in main() local
96 CopyFile("libfoo.so", exe_path.c_str(), "libfoo.so", temp_dir_1.path()); in main()
99 CopyFile("libfoo2.so", exe_path.c_str(), "libfoo.so", temp_dir_2.path()); in main()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_rdebug.cpp24 bool FindExecutablePath(String* exe_path) { in FindExecutablePath() argument
27 exe_path->Resize(512); in FindExecutablePath()
29 readlink("/proc/self/exe", exe_path->ptr(), exe_path->size())); in FindExecutablePath()
35 exe_path->Resize(static_cast<size_t>(ret)); in FindExecutablePath()
36 LOG("%s: Current executable: %s\n", __FUNCTION__, exe_path->c_str()); in FindExecutablePath()