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

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc105 CHECK_EQ(x, a->GetBlockBegin(x));
106 CHECK_EQ(x, a->GetBlockBegin(x + size - 1));
133 // Check that GetBlockBegin never crashes.
137 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x)));
211 // Make sure we correctly compute GetBlockBegin() w/o overflow.
214 void *beg = a->GetBlockBegin(x);
388 CHECK_EQ(p, a.GetBlockBegin(p));
389 CHECK_EQ(p, a.GetBlockBegin(p + size - 1));
390 CHECK_EQ(p, a.GetBlockBegin(p + size / 2));
399 // Regression test for boundary condition in GetBlockBegin()
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.h367 void *GetBlockBegin(const void *p) { function in class:__sanitizer::SizeClassAllocator64
458 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
754 void *GetBlockBegin(const void *p) { function in class:__sanitizer::SizeClassAllocator32
812 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
1080 return GetBlockBegin(p) != 0;
1089 // Too slow: CHECK_EQ(p, GetBlockBegin(p));
1097 void *GetBlockBegin(const void *ptr) { function in class:__sanitizer::LargeMmapAllocator
1119 // This function does the same as GetBlockBegin, but is much faster.
1309 void *GetBlockBegin(const void *p) { function in class:__sanitizer::CombinedAllocator
1311 return primary_.GetBlockBegin(
[all...]
/external/compiler-rt/lib/lsan/
H A Dlsan_allocator.cc189 void *chunk = allocator.GetBlockBegin(p);
/external/compiler-rt/lib/msan/
H A Dmsan_allocator.cc176 const void *beg = allocator.GetBlockBegin(p);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cc226 return allocator()->GetBlockBegin(p) != 0;
H A Dtsan_rtl_report.cc336 void *block_begin = a->GetBlockBegin((void*)addr);
346 loc->addr = (uptr)allocator()->GetBlockBegin((void*)addr);
/external/compiler-rt/lib/asan/
H A Dasan_allocator2.cc167 return allocator.GetBlockBegin(reinterpret_cast<void *>(this));
504 // Assumes alloc_beg == allocator.GetBlockBegin(alloc_beg).
519 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p));

Completed in 3315 milliseconds