Searched refs:impl_handle (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_common_dynamic.cpp | 253 bool InitSharedLibrary(void* impl_handle, const char* shared_lib, const char* prefix, MallocDispatc… in InitSharedLibrary() argument 265 gFunctions[i] = dlsym(impl_handle, symbol); in InitSharedLibrary() 273 if (!InitMallocFunctions(impl_handle, dispatch_table, prefix)) { in InitSharedLibrary() 283 void* impl_handle = nullptr; in LoadSharedLibrary() local 300 impl_handle = android_dlopen_ext(shared_lib, RTLD_NOW | RTLD_LOCAL, &dlextinfo); in LoadSharedLibrary() 303 if (impl_handle == nullptr) { in LoadSharedLibrary() 304 impl_handle = dlopen(shared_lib, RTLD_NOW | RTLD_LOCAL); in LoadSharedLibrary() 307 if (impl_handle == nullptr) { in LoadSharedLibrary() 312 if (!InitSharedLibrary(impl_handle, shared_lib, prefix, dispatch_table)) { in LoadSharedLibrary() 313 dlclose(impl_handle); in LoadSharedLibrary() [all …]
|
D | malloc_heapprofd.cpp | 327 void* impl_handle = atomic_load(&gHeapprofdHandle); in CommonInstallHooks() local 328 bool reusing_handle = impl_handle != nullptr; in CommonInstallHooks() 330 …impl_handle = LoadSharedLibrary(kHeapprofdSharedLib, kHeapprofdPrefix, &globals->malloc_dispatch_t… in CommonInstallHooks() 331 if (impl_handle == nullptr) { in CommonInstallHooks() 334 …} else if (!InitSharedLibrary(impl_handle, kHeapprofdSharedLib, kHeapprofdPrefix, &globals->malloc… in CommonInstallHooks() 345 atomic_store(&gHeapprofdHandle, impl_handle); in CommonInstallHooks() 347 dlclose(impl_handle); in CommonInstallHooks()
|
D | malloc_common_dynamic.h | 38 bool InitSharedLibrary(void* impl_handle, const char* shared_lib, const char* prefix,
|