Home
last modified time | relevance | path

Searched refs:GetBlockBegin (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc118 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/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h385 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/compiler-rt/lib/lsan/
Dlsan_allocator.cc204 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc214 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc290 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
Dtsan_rtl_report.cc326 void *block_begin = a->GetBlockBegin((void*)addr); in AddLocation()
333 loc->heap_chunk_start = (uptr)allocator()->GetBlockBegin((void *)addr); in AddLocation()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc122 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg()
605 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()