Home
last modified time | relevance | path

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

/bionic/tests/
Ddlext_test.cpp71 handle_ = nullptr; in SetUp()
82 if (handle_ != nullptr) { in TearDown()
83 ASSERT_DL_ZERO(dlclose(handle_)); in TearDown()
87 void* handle_; member in DlExtTest
91 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, nullptr); in TEST_F()
92 ASSERT_DL_NOTNULL(handle_); in TEST_F()
93 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
101 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
102 ASSERT_DL_NOTNULL(handle_); in TEST_F()
103 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
[all …]
/bionic/linker/
Dlinker_soinfo.cpp237 g_soinfo_handles_map.erase(handle_); in ~soinfo()
865 CHECK(handle_ != 0); in get_handle()
866 return handle_; in get_handle()
879 CHECK(handle_ == 0); // Make sure this is the first call in generate_handle()
885 arc4random_buf(&handle_, sizeof(handle_)); in generate_handle()
890 handle_ += 2; in generate_handle()
895 handle_ = handle_ | 1; in generate_handle()
896 } while (handle_ == reinterpret_cast<uintptr_t>(RTLD_DEFAULT) || in generate_handle()
897 handle_ == reinterpret_cast<uintptr_t>(RTLD_NEXT) || in generate_handle()
898 g_soinfo_handles_map.find(handle_) != g_soinfo_handles_map.end()); in generate_handle()
[all …]
Dlinker_soinfo.h421 uintptr_t handle_; member