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()
615 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
617 if (!m1) return AsanChunkView(m1); in FindHeapChunkByAddress()
619 if (AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
629 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress()
632 return AsanChunkView(m1); in FindHeapChunkByAddress()
656 bool AsanChunkView::IsValid() { in IsValid()
659 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
660 uptr AsanChunkView::End() { return Beg() + UsedSize(); } in End()
661 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); } in UsedSize()
662 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; } in AllocTid()
663 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; } in FreeTid()
672 StackTrace AsanChunkView::GetAllocStack() { in GetAllocStack()
676 StackTrace AsanChunkView::GetFreeStack() { in GetFreeStack()
692 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()