Home
last modified time | relevance | path

Searched refs:free_hook (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/allocator/
Dallocator_extension.cc38 void SetHooks(AllocHookFunc alloc_hook, FreeHookFunc free_hook) { in SetHooks() argument
46 auto prev_free_hook = MallocHook::SetDeleteHook(free_hook); in SetHooks()
47 if (free_hook) in SetHooks()
Dallocator_extension.h34 BASE_EXPORT void SetHooks(AllocHookFunc alloc_hook, FreeHookFunc free_hook);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc423 void (*free_hook)(const void *); member
438 auto hook = MFHooks[i].free_hook; in RunFreeHooks()
445 void (*free_hook)(const void *)) { in InstallMallocFreeHooks()
446 if (!malloc_hook || !free_hook) return 0; in InstallMallocFreeHooks()
450 MFHooks[i].free_hook = free_hook; in InstallMallocFreeHooks()
483 void (*free_hook)(const void *)) { in __sanitizer_install_malloc_and_free_hooks()
484 return InstallMallocFreeHooks(malloc_hook, free_hook); in __sanitizer_install_malloc_and_free_hooks()
Dsanitizer_allocator_interface.h34 void (*free_hook)(const void *));
/external/compiler-rt/include/sanitizer/
Dallocator_interface.h77 void (*free_hook)(const volatile void *));
/external/llvm/lib/Fuzzer/
DFuzzerExtFunctions.def36 void (*free_hook)(const volatile void *)),
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.h479 FreeHook* free_hook = free_hook_; in ReallocHookIfEnabled() local
480 if (UNLIKELY(allocation_hook && free_hook)) { in ReallocHookIfEnabled()
481 free_hook(old_address); in ReallocHookIfEnabled()