Lines Matching refs:AsanChunkView
315 CHECK(AsanChunkView(left_chunk).AddrIsAtRight(addr, 1, &l_offset)); in ChooseChunk()
316 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk()
614 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
616 if (!m1) return AsanChunkView(m1); in FindHeapChunkByAddress()
618 if (AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
628 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress()
631 return AsanChunkView(m1); in FindHeapChunkByAddress()
655 bool AsanChunkView::IsValid() { in IsValid()
658 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
659 uptr AsanChunkView::End() { return Beg() + UsedSize(); } in End()
660 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); } in UsedSize()
661 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; } in AllocTid()
662 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; } in FreeTid()
671 StackTrace AsanChunkView::GetAllocStack() { in GetAllocStack()
675 StackTrace AsanChunkView::GetFreeStack() { in GetFreeStack()
691 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()