Home
last modified time | relevance | path

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

/bionic/tests/
Ddlext_test.cpp72 handle_ = nullptr; in SetUp()
83 if (handle_ != nullptr) { in TearDown()
84 ASSERT_DL_ZERO(dlclose(handle_)); in TearDown()
88 void* handle_; member in DlExtTest
93 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, nullptr); in TEST_F()
94 ASSERT_DL_NOTNULL(handle_); in TEST_F()
95 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
103 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
104 ASSERT_DL_NOTNULL(handle_); in TEST_F()
105 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
[all …]
/bionic/linker/
Dlinker_soinfo.cpp234 g_soinfo_handles_map.erase(handle_); in ~soinfo()
857 CHECK(handle_ != 0); in get_handle()
858 return handle_; in get_handle()
871 CHECK(handle_ == 0); // Make sure this is the first call in generate_handle()
877 arc4random_buf(&handle_, sizeof(handle_)); in generate_handle()
882 handle_ += 2; in generate_handle()
887 handle_ = handle_ | 1; in generate_handle()
888 } while (handle_ == reinterpret_cast<uintptr_t>(RTLD_DEFAULT) || in generate_handle()
889 handle_ == reinterpret_cast<uintptr_t>(RTLD_NEXT) || in generate_handle()
890 g_soinfo_handles_map.find(handle_) != g_soinfo_handles_map.end()); in generate_handle()
[all …]
Dlinker_soinfo.h437 uintptr_t handle_; member