Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp292 void (*free_hook)(const void *); member
307 auto hook = MFHooks[i].free_hook; in RunFreeHooks()
314 void (*free_hook)(const void *)) { in InstallMallocFreeHooks()
315 if (!malloc_hook || !free_hook) return 0; in InstallMallocFreeHooks()
319 MFHooks[i].free_hook = free_hook; in InstallMallocFreeHooks()
345 void (*free_hook)(const void *)) { in __sanitizer_install_malloc_and_free_hooks()
346 return InstallMallocFreeHooks(malloc_hook, free_hook); in __sanitizer_install_malloc_and_free_hooks()
Dsanitizer_allocator_interface.h33 void (*free_hook)(const void *));
/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/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc83 FreeObserverHook* free_hook) { in SetObserverHooks() argument
90 (!alloc_hook && !free_hook)); in SetObserverHooks()
92 free_observer_hook_ = free_hook; in SetObserverHooks()
98 FreeOverrideHook* free_hook, in SetOverrideHooks() argument
104 (!alloc_hook && !free_hook && !realloc_hook)); in SetOverrideHooks()
106 free_override_hook_ = free_hook; in SetOverrideHooks()
156 FreeObserverHook* free_hook = in ReallocObserverHookIfEnabled() local
158 if (allocation_hook && free_hook) { in ReallocObserverHookIfEnabled()
159 free_hook(old_address); in ReallocObserverHookIfEnabled()
Dpartition_alloc.h249 FreeObserverHook* free_hook);
251 FreeOverrideHook* free_hook,
/external/compiler-rt/include/sanitizer/
Dallocator_interface.h77 void (*free_hook)(const volatile void *));
/external/llvm-project/compiler-rt/include/sanitizer/
Dallocator_interface.h76 void (*free_hook)(const volatile void *));
/external/llvm/lib/Fuzzer/
DFuzzerExtFunctions.def36 void (*free_hook)(const volatile void *)),
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerExtFunctions.def34 void (*free_hook)(const volatile void *)),
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerExtFunctions.def34 void (*free_hook)(const volatile void *)),