Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_combined.h129 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
131 return primary_.GetBlockBegin(p); in GetBlockBegin()
132 return secondary_.GetBlockBegin(p); in GetBlockBegin()
139 return primary_.GetBlockBegin(p); in GetBlockBeginFastLocked()
H A Dsanitizer_allocator_secondary.h165 return GetBlockBegin(p) != nullptr; in PointerIsMine()
182 void *GetBlockBegin(const void *ptr) const { in GetBlockBegin() function
H A Dsanitizer_allocator_primary32.h206 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
H A Dsanitizer_allocator_primary64.h259 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A 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()
H A Dtsan_external.cpp105 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_external_assign_tag()
H A Dtsan_mman.cpp429 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
H A Dtsan_rtl_report.cpp300 block_begin = (uptr)a->GetBlockBegin((void *)addr); in AddLocation()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cpp245 CHECK_EQ(x, a->GetBlockBegin(x)); in TestSizeClassAllocator()
246 CHECK_EQ(x, a->GetBlockBegin(x + size - 1)); in TestSizeClassAllocator()
277 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x))); in TestSizeClassAllocator()
436 void *beg = a->GetBlockBegin(x); in SizeClassAllocatorGetBlockBeginStress()
659 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST()
660 CHECK_EQ(p, a.GetBlockBegin(p + size - 1)); in TEST()
661 CHECK_EQ(p, a.GetBlockBegin(p + size / 2)); in TEST()
673 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST()
674 CHECK_EQ(p, (char *)a.GetBlockBegin(p + page_size - 1)); in TEST()
675 CHECK_NE(p, (char *)a.GetBlockBegin(p + page_size)); in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp383 void *block = allocator.GetBlockBegin(reinterpret_cast<void*>(address)); in FindHeapChunkByAddress()
394 const void *beg = allocator.GetBlockBegin(untagged_ptr); in AllocationSize()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp147 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg()
543 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetMemprofChunkByAddr()
/openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp180 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp308 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
/openbsd-src/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp265 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_allocator.cpp200 void *p = get_allocator().GetBlockBegin(m); in Recycle()
781 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()