Lines Matching refs:AsanChunkView

454     CHECK(AsanChunkView(left_chunk).AddrIsAtRight(addr, 1, &l_offset));  in ChooseChunk()
455 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk()
801 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
804 if (!m1 || AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
814 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress()
817 return AsanChunkView(m1); in FindHeapChunkByAddress()
860 bool AsanChunkView::IsValid() const { in IsValid()
864 bool AsanChunkView::IsAllocated() const { in IsAllocated()
868 bool AsanChunkView::IsQuarantined() const { in IsQuarantined()
872 uptr AsanChunkView::Beg() const { return chunk_->Beg(); } in Beg()
873 uptr AsanChunkView::End() const { return Beg() + UsedSize(); } in End()
874 uptr AsanChunkView::UsedSize() const { return chunk_->UsedSize(); } in UsedSize()
875 u32 AsanChunkView::UserRequestedAlignment() const { in UserRequestedAlignment()
879 uptr AsanChunkView::AllocTid() const { in AllocTid()
886 uptr AsanChunkView::FreeTid() const { in FreeTid()
895 AllocType AsanChunkView::GetAllocType() const { in GetAllocType()
899 u32 AsanChunkView::GetAllocStackId() const { in GetAllocStackId()
906 u32 AsanChunkView::GetFreeStackId() const { in GetFreeStackId()
927 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
930 AsanChunkView FindHeapChunkByAllocBeg(uptr addr) { in FindHeapChunkByAllocBeg()
931 return AsanChunkView(instance.GetAsanChunk(reinterpret_cast<void*>(addr))); in FindHeapChunkByAllocBeg()