Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_combined.h131 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()
Dsanitizer_allocator_secondary.h165 return GetBlockBegin(p) != nullptr; in PointerIsMine()
182 void *GetBlockBegin(const void *ptr) { in GetBlockBegin() function
Dsanitizer_allocator_primary32.h204 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
Dsanitizer_allocator_primary64.h187 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
/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/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_debugging.cpp207 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()
Dtsan_external.cpp104 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_external_assign_tag()
Dtsan_rtl_report.cpp331 void *block_begin = a->GetBlockBegin((void*)addr); in AddLocation()
338 loc->heap_chunk_start = (uptr)allocator()->GetBlockBegin((void *)addr); in AddLocation()
Dtsan_mman.cpp390 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp229 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/
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/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_allocator.cpp267 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/
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/llvm-project/compiler-rt/lib/lsan/
Dlsan_allocator.cpp299 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_allocator.cpp259 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.cpp109 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/
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()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp201 void *p = get_allocator().GetBlockBegin(m); in Recycle()
793 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()