Lines Matching refs:ref

171   bool IsInFromSpace(mirror::Object* ref) {  in IsInFromSpace()  argument
172 if (HasAddress(ref)) { in IsInFromSpace()
173 Region* r = RefToRegionUnlocked(ref); in IsInFromSpace()
179 bool IsInUnevacFromSpace(mirror::Object* ref) { in IsInUnevacFromSpace() argument
180 if (HasAddress(ref)) { in IsInUnevacFromSpace()
181 Region* r = RefToRegionUnlocked(ref); in IsInUnevacFromSpace()
187 bool IsInToSpace(mirror::Object* ref) { in IsInToSpace() argument
188 if (HasAddress(ref)) { in IsInToSpace()
189 Region* r = RefToRegionUnlocked(ref); in IsInToSpace()
195 RegionType GetRegionType(mirror::Object* ref) { in GetRegionType() argument
196 if (HasAddress(ref)) { in GetRegionType()
197 Region* r = RefToRegionUnlocked(ref); in GetRegionType()
211 void AddLiveBytes(mirror::Object* ref, size_t alloc_size) { in AddLiveBytes() argument
212 Region* reg = RefToRegionUnlocked(ref); in AddLiveBytes()
218 void RecordAlloc(mirror::Object* ref);
446 bool Contains(mirror::Object* ref) const { in Contains() argument
447 return begin_ <= reinterpret_cast<uint8_t*>(ref) && reinterpret_cast<uint8_t*>(ref) < end_; in Contains()
479 Region* RefToRegion(mirror::Object* ref) LOCKS_EXCLUDED(region_lock_) { in RefToRegion() argument
481 return RefToRegionLocked(ref); in RefToRegion()
484 Region* RefToRegionUnlocked(mirror::Object* ref) NO_THREAD_SAFETY_ANALYSIS { in RefToRegionUnlocked() argument
492 return RefToRegionLocked(ref); in RefToRegionUnlocked()
495 Region* RefToRegionLocked(mirror::Object* ref) EXCLUSIVE_LOCKS_REQUIRED(region_lock_) { in RefToRegionLocked() argument
496 DCHECK(HasAddress(ref)); in RefToRegionLocked()
497 uintptr_t offset = reinterpret_cast<uintptr_t>(ref) - reinterpret_cast<uintptr_t>(Begin()); in RefToRegionLocked()
502 DCHECK(reg->Contains(ref)); in RefToRegionLocked()