Home
last modified time | relevance | path

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

/bionic/tests/
Dcfi_test.cpp113 void* handle2 = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST() local
114 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
115 EXPECT_EQ(handle2, handle); in TEST()
124 dlclose(handle2); in TEST()
Ddlext_test.cpp205 void* handle2 = android_dlopen_ext(symlink_name.c_str(), RTLD_NOW, &extinfo); in TEST() local
206 ASSERT_DL_NOTNULL(handle2); in TEST()
207 ASSERT_TRUE(handle != handle2); in TEST()
209 dlclose(handle2); in TEST()
225 void* handle2 = android_dlopen_ext("libdlext_test.so", RTLD_NOW, &extinfo); in TEST() local
227 ASSERT_DL_NOTNULL(handle2); in TEST()
228 ASSERT_TRUE(handle == handle2); in TEST()
230 dlclose(handle2); in TEST()
830 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
831 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
[all …]
Ddlfcn_test.cpp226 void* handle2 = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); in TEST() local
228 ASSERT_TRUE(handle2 != nullptr); in TEST()
229 ASSERT_TRUE(handle == handle2); in TEST()
231 ASSERT_EQ(0, dlclose(handle2)); in TEST()
609 void* handle2 = dlopen("libtest_two_parents_parent2.so", RTLD_NOW | RTLD_LOCAL); in TEST() local
610 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
613 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); in TEST()
623 fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); in TEST()
627 ASSERT_EQ(0, dlclose(handle2)); in TEST()
969 void* handle2 = dlopen(android::base::GetExecutablePath().c_str(), RTLD_NOW); in TEST() local
[all …]