Lines Matching refs:handle2
212 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
964 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
967 ASSERT_EQ(handle1, handle2); in TEST()
1155 void* handle2 = dlopen(symlink_name.c_str(), RTLD_NOW); in TEST() local
1157 ASSERT_TRUE(handle2 != nullptr); in TEST()
1158 ASSERT_EQ(handle1, handle2); in TEST()
1160 dlclose(handle2); in TEST()