Lines Matching refs:Meta
127 const AllocationMetadata &Meta = Metadata[i]; in iterate() local
128 if (Meta.Addr && !Meta.IsDeallocated && Meta.Addr >= Start && in iterate()
129 Meta.Addr < Start + Size) in iterate()
130 Cb(Meta.Addr, Meta.RequestedSize, Arg); in iterate()
231 AllocationMetadata *Meta = addrToMetadata(SlotStart); in allocate() local
252 Meta->RecordAllocation(UserPtr, Size); in allocate()
255 Meta->AllocationTrace.RecordBacktrace(Backtrace); in allocate()
284 AllocationMetadata *Meta = addrToMetadata(UPtr); in deallocate() local
285 if (Meta->Addr != UPtr) { in deallocate()
295 if (Meta->IsDeallocated) { in deallocate()
302 Meta->RecordDeallocation(); in deallocate()
309 Meta->DeallocationTrace.RecordBacktrace(Backtrace); in deallocate()
324 AllocationMetadata *Meta = addrToMetadata(reinterpret_cast<uintptr_t>(Ptr)); in getSize() local
325 assert(Meta->Addr == reinterpret_cast<uintptr_t>(Ptr)); in getSize()
326 return Meta->RequestedSize; in getSize()