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.cc108 CHECK_EQ(x, a->GetBlockBegin(x)); in TestSizeClassAllocator()
109 CHECK_EQ(x, a->GetBlockBegin(x + size - 1)); in TestSizeClassAllocator()
140 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x))); in TestSizeClassAllocator()
217 void *beg = a->GetBlockBegin(x); in SizeClassAllocatorGetBlockBeginStress()
391 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST()
392 CHECK_EQ(p, a.GetBlockBegin(p + size - 1)); in TEST()
393 CHECK_EQ(p, a.GetBlockBegin(p + size / 2)); in TEST()
405 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST()
406 CHECK_EQ(p, (char *)a.GetBlockBegin(p + page_size - 1)); in TEST()
407 CHECK_NE(p, (char *)a.GetBlockBegin(p + page_size)); in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h371 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
759 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
1109 return GetBlockBegin(p) != nullptr; in PointerIsMine()
1126 void *GetBlockBegin(const void *ptr) { in GetBlockBegin() function
1376 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
1378 return primary_.GetBlockBegin(p); in GetBlockBegin()
1379 return secondary_.GetBlockBegin(p); in GetBlockBegin()
1386 return primary_.GetBlockBegin(p); in GetBlockBeginFastLocked()
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc202 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc232 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
Dtsan_rtl_report.cc321 void *block_begin = a->GetBlockBegin((void*)addr); in AddLocation()
328 loc->heap_chunk_start = (uptr)allocator()->GetBlockBegin((void *)addr); in AddLocation()
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc214 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc122 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg()
595 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()