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()
624 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
626 if (!m1) return AsanChunkView(m1); in FindHeapChunkByAddress()
628 if (AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
638 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress()
641 return AsanChunkView(m1); in FindHeapChunkByAddress()
665 bool AsanChunkView::IsValid() { in IsValid()
668 bool AsanChunkView::IsAllocated() { in IsAllocated()
671 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
672 uptr AsanChunkView::End() { return Beg() + UsedSize(); } in End()
673 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); } in UsedSize()
674 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; } in AllocTid()
675 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; } in FreeTid()
684 u32 AsanChunkView::GetAllocStackId() { return chunk_->alloc_context_id; } in GetAllocStackId()
685 u32 AsanChunkView::GetFreeStackId() { return chunk_->free_context_id; } in GetFreeStackId()
687 StackTrace AsanChunkView::GetAllocStack() { in GetAllocStack()
691 StackTrace AsanChunkView::GetFreeStack() { in GetFreeStack()
707 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()