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.cc106 CHECK_EQ(x, a->GetBlockBegin(x)); in TestSizeClassAllocator()
107 CHECK_EQ(x, a->GetBlockBegin(x + size - 1)); in TestSizeClassAllocator()
138 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x))); in TestSizeClassAllocator()
215 void *beg = a->GetBlockBegin(x); in SizeClassAllocatorGetBlockBeginStress()
389 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST()
390 CHECK_EQ(p, a.GetBlockBegin(p + size - 1)); in TEST()
391 CHECK_EQ(p, a.GetBlockBegin(p + size / 2)); in TEST()
403 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST()
404 CHECK_EQ(p, (char *)a.GetBlockBegin(p + page_size - 1)); in TEST()
405 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
758 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
1104 return GetBlockBegin(p) != 0; in PointerIsMine()
1121 void *GetBlockBegin(const void *ptr) { in GetBlockBegin() function
1371 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
1373 return primary_.GetBlockBegin(p); in GetBlockBegin()
1374 return secondary_.GetBlockBegin(p); in GetBlockBegin()
1381 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.cc213 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.cc197 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()
596 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()