Home
last modified time | relevance | path

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

/bionic/tests/
Ddlfcn_test.cpp289 fn_ptr foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST() local
291 ASSERT_TRUE(foo_library_ptr != nullptr) << dlerror(); in TEST()
293 ASSERT_EQ(strncmp("set", foo_library_ptr(), 3), 0); in TEST()
303 foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
305 ASSERT_TRUE(foo_library_ptr != nullptr) << dlerror(); in TEST()
307 ASSERT_EQ(strncmp("unset", foo_library_ptr(), 5), 0); in TEST()
321 fn_ptr foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST() local
323 ASSERT_TRUE(foo_library_ptr != nullptr) << dlerror(); in TEST()
325 ASSERT_EQ(strncmp("set", foo_library_ptr(), 3), 0); in TEST()
333 foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
[all …]