Searched refs:IsDeallocated (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/ |
D | crash_handler_api.cpp | 24 size_t metadata(uintptr_t Addr, uintptr_t Size, bool IsDeallocated) { in metadata() argument 33 Metadata[Slot].IsDeallocated = IsDeallocated; in metadata() 54 if (Meta->IsDeallocated) in setupBacktraces() 61 void checkBacktrace(const AllocationMetadata *Meta, bool IsDeallocated) { in checkBacktrace() argument 69 if (IsDeallocated) { in checkBacktrace() 87 bool IsDeallocated = __gwp_asan_is_deallocated(Meta); in checkMetadata() local 88 EXPECT_EQ(Metadata[Index].IsDeallocated, IsDeallocated); in checkMetadata() 89 checkBacktrace(Meta, IsDeallocated); in checkMetadata() 91 if (!IsDeallocated) in checkMetadata()
|
/external/gwp_asan/gwp_asan/tests/ |
D | crash_handler_api.cpp | 24 size_t metadata(uintptr_t Addr, uintptr_t Size, bool IsDeallocated) { in metadata() argument 33 Metadata[Slot].IsDeallocated = IsDeallocated; in metadata() 54 if (Meta->IsDeallocated) in setupBacktraces() 61 void checkBacktrace(const AllocationMetadata *Meta, bool IsDeallocated) { in checkBacktrace() argument 69 if (IsDeallocated) { in checkBacktrace() 88 bool IsDeallocated = __gwp_asan_is_deallocated(Meta); in checkMetadata() local 89 EXPECT_EQ(Metadata[Index].IsDeallocated, IsDeallocated); in checkMetadata() 90 checkBacktrace(Meta, IsDeallocated); in checkMetadata() 92 if (!IsDeallocated) in checkMetadata()
|
/external/gwp_asan/gwp_asan/ |
D | common.cpp | 44 IsDeallocated = false; in RecordAllocation() 52 IsDeallocated = true; in RecordDeallocation()
|
D | crash_handler.cpp | 73 if (SlotMeta->IsDeallocated) { in __gwp_asan_diagnose_error() 130 return AllocationMeta->IsDeallocated; in __gwp_asan_is_deallocated()
|
D | common.h | 79 bool IsDeallocated = false; member
|
D | guarded_pool_allocator.cpp | 121 if (Meta.Addr && !Meta.IsDeallocated && Meta.Addr >= Start && in iterate() 285 if (Meta->IsDeallocated) { in deallocate()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/ |
D | common.cpp | 44 IsDeallocated = false; in RecordAllocation() 52 IsDeallocated = true; in RecordDeallocation()
|
D | crash_handler.cpp | 72 if (SlotMeta->IsDeallocated) { in __gwp_asan_diagnose_error() 129 return AllocationMeta->IsDeallocated; in __gwp_asan_is_deallocated()
|
D | common.h | 79 bool IsDeallocated = false; member
|
D | guarded_pool_allocator.cpp | 127 if (Meta.Addr && !Meta.IsDeallocated && Meta.Addr >= Start && in iterate() 236 if (Meta->IsDeallocated) { in deallocate()
|