Home
last modified time | relevance | path

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

/bionic/tests/
Dcfi_test.cpp134 void* handle2 = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST_F() local
135 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST_F()
136 EXPECT_EQ(handle2, handle); in TEST_F()
145 dlclose(handle2); in TEST_F()
Ddlext_test.cpp207 void* handle2 = android_dlopen_ext(symlink_name.c_str(), RTLD_NOW, &extinfo); in TEST() local
208 ASSERT_DL_NOTNULL(handle2); in TEST()
209 ASSERT_TRUE(handle != handle2); in TEST()
211 dlclose(handle2); in TEST()
227 void* handle2 = android_dlopen_ext("libdlext_test.so", RTLD_NOW, &extinfo); in TEST() local
229 ASSERT_DL_NOTNULL(handle2); in TEST()
230 ASSERT_TRUE(handle == handle2); in TEST()
232 dlclose(handle2); in TEST()
848 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
849 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
[all …]
Ddlfcn_test.cpp212 void* handle2 = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); in TEST() local
214 ASSERT_TRUE(handle2 != nullptr); in TEST()
215 ASSERT_TRUE(handle == handle2); in TEST()
217 ASSERT_EQ(0, dlclose(handle2)); in TEST()
598 void* handle2 = dlopen("libtest_two_parents_parent2.so", RTLD_NOW | RTLD_LOCAL); in TEST() local
599 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
602 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); in TEST()
612 fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); in TEST()
616 ASSERT_EQ(0, dlclose(handle2)); in TEST()
963 void* handle2 = dlopen(android::base::GetExecutablePath().c_str(), RTLD_NOW); in TEST() local
[all …]