Lines Matching +full:non +full:- +full:volatile
1 //===-- allocator_interface.h ---------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
28 int SANITIZER_CDECL __sanitizer_get_ownership(const volatile void *p);
36 size_t SANITIZER_CDECL __sanitizer_get_allocated_size(const volatile void *p);
41 __sanitizer_get_allocated_size_fast(const volatile void *p);
65 - __sanitizer_malloc_hook(ptr, size) is called immediately after allocation
67 - __sanitizer_free_hook(ptr) is called immediately before deallocation of
69 - __sanitizer_ignore_free_hook(ptr) is called immediately before deallocation
70 of "ptr", and if it returns a non-zero value, the deallocation of "ptr"
71 will not take place. This allows software to make free a no-op until it
75 void SANITIZER_CDECL __sanitizer_malloc_hook(const volatile void *ptr,
77 void SANITIZER_CDECL __sanitizer_free_hook(const volatile void *ptr);
78 int SANITIZER_CDECL __sanitizer_ignore_free_hook(const volatile void *ptr);
89 Not thread-safe, should be called in the main thread before starting
93 void(SANITIZER_CDECL *malloc_hook)(const volatile void *, size_t),
94 void(SANITIZER_CDECL *free_hook)(const volatile void *));
97 freed memory back to OS and releases other non-essential internal allocator