/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator_combined.h | 131 void *GetBlockBegin(const void *p) { in GetBlockBegin() function 133 return primary_.GetBlockBegin(p); in GetBlockBegin() 134 return secondary_.GetBlockBegin(p); in GetBlockBegin() 141 return primary_.GetBlockBegin(p); in GetBlockBeginFastLocked()
|
D | sanitizer_allocator_secondary.h | 165 return GetBlockBegin(p) != nullptr; in PointerIsMine() 182 void *GetBlockBegin(const void *ptr) { in GetBlockBegin() function
|
D | sanitizer_allocator_primary32.h | 204 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
|
D | sanitizer_allocator_primary64.h | 187 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 118 CHECK_EQ(x, a->GetBlockBegin(x)); in TestSizeClassAllocator() 119 CHECK_EQ(x, a->GetBlockBegin(x + size - 1)); in TestSizeClassAllocator() 150 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x))); in TestSizeClassAllocator() 227 void *beg = a->GetBlockBegin(x); in SizeClassAllocatorGetBlockBeginStress() 400 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST() 401 CHECK_EQ(p, a.GetBlockBegin(p + size - 1)); in TEST() 402 CHECK_EQ(p, a.GetBlockBegin(p + size / 2)); in TEST() 414 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST() 415 CHECK_EQ(p, (char *)a.GetBlockBegin(p + page_size - 1)); in TEST() 416 CHECK_NE(p, (char *)a.GetBlockBegin(p + page_size)); in TEST()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_debugging.cpp | 207 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_locate_address() 212 region_address = (uptr)allocator()->GetBlockBegin((void *)addr); in __tsan_locate_address() 247 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_get_alloc_stack()
|
D | tsan_external.cpp | 104 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_external_assign_tag()
|
D | tsan_rtl_report.cpp | 331 void *block_begin = a->GetBlockBegin((void*)addr); in AddLocation() 338 loc->heap_chunk_start = (uptr)allocator()->GetBlockBegin((void *)addr); in AddLocation()
|
D | tsan_mman.cpp | 390 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cpp | 229 CHECK_EQ(x, a->GetBlockBegin(x)); in TestSizeClassAllocator() 230 CHECK_EQ(x, a->GetBlockBegin(x + size - 1)); in TestSizeClassAllocator() 261 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x))); in TestSizeClassAllocator() 389 void *beg = a->GetBlockBegin(x); in SizeClassAllocatorGetBlockBeginStress() 606 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST() 607 CHECK_EQ(p, a.GetBlockBegin(p + size - 1)); in TEST() 608 CHECK_EQ(p, a.GetBlockBegin(p + size / 2)); in TEST() 620 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST() 621 CHECK_EQ(p, (char *)a.GetBlockBegin(p + page_size - 1)); in TEST() 622 CHECK_NE(p, (char *)a.GetBlockBegin(p + page_size)); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 385 void *GetBlockBegin(const void *p) { in GetBlockBegin() function 783 void *GetBlockBegin(const void *p) { in GetBlockBegin() function 1133 return GetBlockBegin(p) != nullptr; in PointerIsMine() 1150 void *GetBlockBegin(const void *ptr) { in GetBlockBegin() function 1400 void *GetBlockBegin(const void *p) { in GetBlockBegin() function 1402 return primary_.GetBlockBegin(p); in GetBlockBegin() 1403 return secondary_.GetBlockBegin(p); in GetBlockBegin() 1410 return primary_.GetBlockBegin(p); in GetBlockBeginFastLocked()
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_allocator.cpp | 267 void *block = allocator.GetBlockBegin(reinterpret_cast<void*>(address)); in FindHeapChunkByAddress() 278 const void *beg = allocator.GetBlockBegin(untagged_ptr); in AllocationSize()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_allocator.cc | 204 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 214 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mman.cc | 290 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
|
D | tsan_rtl_report.cc | 326 void *block_begin = a->GetBlockBegin((void*)addr); in AddLocation() 333 loc->heap_chunk_start = (uptr)allocator()->GetBlockBegin((void *)addr); in AddLocation()
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_allocator.cpp | 299 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan_allocator.cpp | 259 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_allocator.cpp | 109 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg() 721 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetMemprofChunkByAddr()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 122 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg() 605 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_allocator.cpp | 201 void *p = get_allocator().GetBlockBegin(m); in Recycle() 793 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()
|