Searched refs:free_hook (Results 1 – 13 of 13) sorted by relevance
292 void (*free_hook)(const void *); member307 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()
33 void (*free_hook)(const void *));
38 void SetHooks(AllocHookFunc alloc_hook, FreeHookFunc free_hook) { in SetHooks() argument46 auto prev_free_hook = MallocHook::SetDeleteHook(free_hook); in SetHooks()47 if (free_hook) in SetHooks()
34 BASE_EXPORT void SetHooks(AllocHookFunc alloc_hook, FreeHookFunc free_hook);
423 void (*free_hook)(const void *); member438 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()
34 void (*free_hook)(const void *));
83 FreeObserverHook* free_hook) { in SetObserverHooks() argument90 (!alloc_hook && !free_hook)); in SetObserverHooks()92 free_observer_hook_ = free_hook; in SetObserverHooks()98 FreeOverrideHook* free_hook, in SetOverrideHooks() argument104 (!alloc_hook && !free_hook && !realloc_hook)); in SetOverrideHooks()106 free_override_hook_ = free_hook; in SetOverrideHooks()156 FreeObserverHook* free_hook = in ReallocObserverHookIfEnabled() local158 if (allocation_hook && free_hook) { in ReallocObserverHookIfEnabled()159 free_hook(old_address); in ReallocObserverHookIfEnabled()
249 FreeObserverHook* free_hook);251 FreeOverrideHook* free_hook,
77 void (*free_hook)(const volatile void *));
76 void (*free_hook)(const volatile void *));
36 void (*free_hook)(const volatile void *)),
34 void (*free_hook)(const volatile void *)),