Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmalloc_common_dynamic.cpp253 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 …]
Dmalloc_heapprofd.cpp327 void* impl_handle = atomic_load(&gHeapprofdHandle); in CommonInstallHooks() local
328 bool reusing_handle = impl_handle != nullptr; in CommonInstallHooks()
330impl_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()
Dmalloc_common_dynamic.h38 bool InitSharedLibrary(void* impl_handle, const char* shared_lib, const char* prefix,