Home
last modified time | relevance | path

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

/bionic/tests/
Dstdlib_test.cpp104 char executable_path[PATH_MAX]; in TEST() local
105 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST()
107 executable_path[rc] = '\0'; in TEST()
111 ASSERT_STREQ(executable_path, p); in TEST()
114 ASSERT_STREQ(executable_path, p); in TEST()
Ddlfcn_test.cpp310 char executable_path[PATH_MAX]; in TEST() local
311 rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST()
313 executable_path[rc] = '\0'; in TEST()
314 std::string executable_name(basename(executable_path)); in TEST()
338 if (path != NULL && strcmp(executable_path, path) == 0) { in TEST()