/external/gwp_asan/gwp_asan/ |
D | guarded_pool_allocator.cpp | 27 GuardedPoolAllocator *SingletonPtr = nullptr; 42 GuardedPoolAllocator *GuardedPoolAllocator::getSingleton() { in getSingleton() 46 void GuardedPoolAllocator::init(const options::Options &Opts) { in init() 106 void GuardedPoolAllocator::disable() { in disable() 111 void GuardedPoolAllocator::enable() { in enable() 116 void GuardedPoolAllocator::iterate(void *Base, size_t Size, iterate_callback Cb, in iterate() 127 void GuardedPoolAllocator::uninitTestOnly() { in uninitTestOnly() 153 size_t GuardedPoolAllocator::getRequiredBackingSize(size_t Size, in getRequiredBackingSize() 166 uintptr_t GuardedPoolAllocator::alignUp(uintptr_t Ptr, size_t Alignment) { in alignUp() 176 uintptr_t GuardedPoolAllocator::alignDown(uintptr_t Ptr, size_t Alignment) { in alignDown() [all …]
|
D | guarded_pool_allocator.h | 32 class GuardedPoolAllocator { 42 constexpr GuardedPoolAllocator() {} in GuardedPoolAllocator() function 43 GuardedPoolAllocator(const GuardedPoolAllocator &) = delete; 44 GuardedPoolAllocator &operator=(const GuardedPoolAllocator &) = delete; 50 ~GuardedPoolAllocator() = default; 190 static GuardedPoolAllocator *getSingleton();
|
/external/llvm-project/compiler-rt/lib/gwp_asan/ |
D | guarded_pool_allocator.cpp | 39 GuardedPoolAllocator *SingletonPtr = nullptr; 52 GuardedPoolAllocator *GuardedPoolAllocator::getSingleton() { in getSingleton() 56 void GuardedPoolAllocator::init(const options::Options &Opts) { in init() 118 void GuardedPoolAllocator::disable() { PoolMutex.lock(); } in disable() 120 void GuardedPoolAllocator::enable() { PoolMutex.unlock(); } in enable() 122 void GuardedPoolAllocator::iterate(void *Base, size_t Size, iterate_callback Cb, in iterate() 133 void GuardedPoolAllocator::uninitTestOnly() { in uninitTestOnly() 154 void *GuardedPoolAllocator::allocate(size_t Size) { in allocate() 205 void GuardedPoolAllocator::trapOnAddress(uintptr_t Address, Error E) { in trapOnAddress() 215 void GuardedPoolAllocator::stop() { in stop() [all …]
|
D | guarded_pool_allocator.h | 32 class GuardedPoolAllocator { 42 constexpr GuardedPoolAllocator() {} in GuardedPoolAllocator() function 43 GuardedPoolAllocator(const GuardedPoolAllocator &) = delete; 44 GuardedPoolAllocator &operator=(const GuardedPoolAllocator &) = delete; 50 ~GuardedPoolAllocator() = default; 175 static GuardedPoolAllocator *getSingleton();
|
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
D | guarded_pool_allocator_posix.cpp | 40 void GuardedPoolAllocator::initPRNG() { in initPRNG() 45 void *GuardedPoolAllocator::map(size_t Size, const char *Name) const { in map() 54 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() 61 void *GuardedPoolAllocator::reserveGuardedPool(size_t Size) { in reserveGuardedPool() 70 void GuardedPoolAllocator::unreserveGuardedPool() { in unreserveGuardedPool() 75 void GuardedPoolAllocator::allocateInGuardedPool(void *Ptr, size_t Size) const { in allocateInGuardedPool() 83 void GuardedPoolAllocator::deallocateInGuardedPool(void *Ptr, in deallocateInGuardedPool() 96 size_t GuardedPoolAllocator::getPlatformPageSize() { in getPlatformPageSize() 100 void GuardedPoolAllocator::installAtFork() { in installAtFork()
|
D | guarded_pool_allocator_fuchsia.cpp | 20 void GuardedPoolAllocator::initPRNG() { in initPRNG() 24 void *GuardedPoolAllocator::map(size_t Size, const char *Name) const { in map() 39 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() 47 void *GuardedPoolAllocator::reserveGuardedPool(size_t Size) { in reserveGuardedPool() 60 void GuardedPoolAllocator::unreserveGuardedPool() { in unreserveGuardedPool() 68 void GuardedPoolAllocator::allocateInGuardedPool(void *Ptr, size_t Size) const { in allocateInGuardedPool() 89 void GuardedPoolAllocator::deallocateInGuardedPool(void *Ptr, in deallocateInGuardedPool() 100 size_t GuardedPoolAllocator::getPlatformPageSize() { return ZX_PAGE_SIZE; } in getPlatformPageSize() 102 void GuardedPoolAllocator::installAtFork() {} in installAtFork()
|
/external/gwp_asan/gwp_asan/platform_specific/ |
D | guarded_pool_allocator_posix.cpp | 40 void GuardedPoolAllocator::initPRNG() { in initPRNG() 45 void *GuardedPoolAllocator::map(size_t Size, const char *Name) const { in map() 54 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() 61 void *GuardedPoolAllocator::reserveGuardedPool(size_t Size) { in reserveGuardedPool() 70 void GuardedPoolAllocator::unreserveGuardedPool() { in unreserveGuardedPool() 75 void GuardedPoolAllocator::allocateInGuardedPool(void *Ptr, size_t Size) const { in allocateInGuardedPool() 83 void GuardedPoolAllocator::deallocateInGuardedPool(void *Ptr, in deallocateInGuardedPool() 96 size_t GuardedPoolAllocator::getPlatformPageSize() { in getPlatformPageSize() 100 void GuardedPoolAllocator::installAtFork() { in installAtFork()
|
D | guarded_pool_allocator_fuchsia.cpp | 19 void GuardedPoolAllocator::initPRNG() { in initPRNG() 23 void *GuardedPoolAllocator::map(size_t Size, const char *Name) const { in map() 38 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() 46 void *GuardedPoolAllocator::reserveGuardedPool(size_t Size) { in reserveGuardedPool() 59 void GuardedPoolAllocator::unreserveGuardedPool() { in unreserveGuardedPool() 67 void GuardedPoolAllocator::allocateInGuardedPool(void *Ptr, size_t Size) const { in allocateInGuardedPool() 88 void GuardedPoolAllocator::deallocateInGuardedPool(void *Ptr, in deallocateInGuardedPool() 99 size_t GuardedPoolAllocator::getPlatformPageSize() { in getPlatformPageSize() 103 void GuardedPoolAllocator::installAtFork() {} in installAtFork()
|
/external/gwp_asan/gwp_asan/tests/ |
D | alignment.cpp | 12 class AlignmentTestGPA : public gwp_asan::GuardedPoolAllocator { 16 return GuardedPoolAllocator::getRequiredBackingSize(Size, Alignment, in getRequiredBackingSize() 20 return GuardedPoolAllocator::alignUp(Ptr, Alignment); in alignUp() 23 return GuardedPoolAllocator::alignDown(Ptr, Alignment); in alignDown()
|
D | harness.h | 56 gwp_asan::GuardedPoolAllocator GPA; 79 gwp_asan::GuardedPoolAllocator GPA; 106 gwp_asan::GuardedPoolAllocator GPA;
|
D | backtrace.cpp | 18 AllocateMemory(gwp_asan::GuardedPoolAllocator &GPA) { in AllocateMemory() 22 DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory() 26 DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory2()
|
D | thread_contention.cpp | 18 void asyncTask(gwp_asan::GuardedPoolAllocator *GPA, in asyncTask() 46 gwp_asan::GuardedPoolAllocator *GPA) { in runThreadContentionTest()
|
D | slot_reuse.cpp | 13 void singleByteGoodAllocDealloc(gwp_asan::GuardedPoolAllocator *GPA) { in singleByteGoodAllocDealloc() 44 void runNoReuseBeforeNecessary(gwp_asan::GuardedPoolAllocator *GPA, in runNoReuseBeforeNecessary()
|
D | late_init.cpp | 14 gwp_asan::GuardedPoolAllocator GPA; in TEST()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/ |
D | harness.h | 55 gwp_asan::GuardedPoolAllocator GPA; 78 gwp_asan::GuardedPoolAllocator GPA; 105 gwp_asan::GuardedPoolAllocator GPA;
|
D | backtrace.cpp | 18 AllocateMemory(gwp_asan::GuardedPoolAllocator &GPA) { in AllocateMemory() 22 DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory() 26 DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory2()
|
D | thread_contention.cpp | 18 void asyncTask(gwp_asan::GuardedPoolAllocator *GPA, in asyncTask() 46 gwp_asan::GuardedPoolAllocator *GPA) { in runThreadContentionTest()
|
D | slot_reuse.cpp | 13 void singleByteGoodAllocDealloc(gwp_asan::GuardedPoolAllocator *GPA) { in singleByteGoodAllocDealloc() 44 void runNoReuseBeforeNecessary(gwp_asan::GuardedPoolAllocator *GPA, in runNoReuseBeforeNecessary()
|
D | late_init.cpp | 14 gwp_asan::GuardedPoolAllocator GPA; in TEST()
|
/external/gwp_asan/gwp_asan/optional/ |
D | segv_handler_posix.cpp | 28 using gwp_asan::GuardedPoolAllocator; 157 gwp_asan::GuardedPoolAllocator *GPAForSignalHandler; 197 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf, in installSignalHandlers()
|
D | segv_handler_fuchsia.cpp | 15 void installSignalHandlers(gwp_asan::GuardedPoolAllocator * /* GPA */, in installSignalHandlers() argument
|
D | segv_handler.h | 24 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf,
|
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
D | segv_handler_posix.cpp | 23 using gwp_asan::GuardedPoolAllocator; 30 gwp_asan::GuardedPoolAllocator *GPAForSignalHandler; 139 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf, in installSignalHandlers()
|
D | segv_handler_fuchsia.cpp | 15 void installSignalHandlers(gwp_asan::GuardedPoolAllocator * /* GPA */, in installSignalHandlers() argument
|
D | segv_handler.h | 77 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf,
|