Lines Matching refs:r
79 Region* r = ®ions_[i]; in AllocNonvirtual() local
80 if (r->IsFree()) { in AllocNonvirtual()
81 r->Unfree(time_); in AllocNonvirtual()
82 r->SetNewlyAllocated(); in AllocNonvirtual()
84 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual()
86 current_region_ = r; in AllocNonvirtual()
92 Region* r = ®ions_[i]; in AllocNonvirtual() local
93 if (r->IsFree()) { in AllocNonvirtual()
94 r->Unfree(time_); in AllocNonvirtual()
96 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual()
98 evac_region_ = r; in AllocNonvirtual()
161 Region* r = ®ions_[i]; in GetBytesAllocatedInternal() local
162 if (r->IsFree()) { in GetBytesAllocatedInternal()
167 bytes += r->BytesAllocated(); in GetBytesAllocatedInternal()
170 if (r->IsInFromSpace()) { in GetBytesAllocatedInternal()
171 bytes += r->BytesAllocated(); in GetBytesAllocatedInternal()
175 if (r->IsInUnevacFromSpace()) { in GetBytesAllocatedInternal()
176 bytes += r->BytesAllocated(); in GetBytesAllocatedInternal()
180 if (r->IsInToSpace()) { in GetBytesAllocatedInternal()
181 bytes += r->BytesAllocated(); in GetBytesAllocatedInternal()
196 Region* r = ®ions_[i]; in GetObjectsAllocatedInternal() local
197 if (r->IsFree()) { in GetObjectsAllocatedInternal()
202 bytes += r->ObjectsAllocated(); in GetObjectsAllocatedInternal()
205 if (r->IsInFromSpace()) { in GetObjectsAllocatedInternal()
206 bytes += r->ObjectsAllocated(); in GetObjectsAllocatedInternal()
210 if (r->IsInUnevacFromSpace()) { in GetObjectsAllocatedInternal()
211 bytes += r->ObjectsAllocated(); in GetObjectsAllocatedInternal()
215 if (r->IsInToSpace()) { in GetObjectsAllocatedInternal()
216 bytes += r->ObjectsAllocated(); in GetObjectsAllocatedInternal()
233 Region* r = ®ions_[i]; in WalkInternal() local
234 if (r->IsFree() || (kToSpaceOnly && !r->IsInToSpace())) { in WalkInternal()
237 if (r->IsLarge()) { in WalkInternal()
238 mirror::Object* obj = reinterpret_cast<mirror::Object*>(r->Begin()); in WalkInternal()
242 } else if (r->IsLargeTail()) { in WalkInternal()
245 uint8_t* pos = r->Begin(); in WalkInternal()
246 uint8_t* top = r->Top(); in WalkInternal()