Lines Matching refs:handle2
226 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
970 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
973 ASSERT_EQ(handle1, handle2); in TEST()
1161 void* handle2 = dlopen(symlink_name.c_str(), RTLD_NOW); in TEST() local
1163 ASSERT_TRUE(handle2 != nullptr); in TEST()
1164 ASSERT_EQ(handle1, handle2); in TEST()
1166 dlclose(handle2); in TEST()