Searched refs:iref (Results 1 – 3 of 3) sorted by relevance
/art/runtime/ |
D | indirect_reference_table-inl.h | 33 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const { in GetChecked() argument 34 if (UNLIKELY(iref == nullptr)) { in GetChecked() 38 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) { in GetChecked() 39 LOG(ERROR) << "JNI ERROR (app bug): invalid " << kind_ << " " << iref; in GetChecked() 44 int idx = ExtractIndex(iref); in GetChecked() 47 << iref << " (index " << idx << " in a table of size " << topIndex << ")"; in GetChecked() 52 LOG(ERROR) << "JNI ERROR (app bug): accessed deleted " << kind_ << " " << iref; in GetChecked() 56 if (UNLIKELY(!CheckEntry("use", iref, idx))) { in GetChecked() 63 inline bool IndirectReferenceTable::CheckEntry(const char* what, IndirectRef iref, int idx) const { in CheckEntry() argument 65 if (UNLIKELY(checkRef != iref)) { in CheckEntry() [all …]
|
D | indirect_reference_table.h | 126 static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { in GetIndirectRefKind() argument 127 return static_cast<IndirectRefKind>(reinterpret_cast<uintptr_t>(iref) & 0x03); in GetIndirectRefKind() 288 mirror::Object* Get(IndirectRef iref) const SHARED_REQUIRES(Locks::mutator_lock_) 293 mirror::Object* SynchronizedGet(IndirectRef iref) const SHARED_REQUIRES(Locks::mutator_lock_) { in SynchronizedGet() argument 294 return Get<kReadBarrierOption>(iref); in SynchronizedGet() 302 void Update(IndirectRef iref, mirror::Object* obj) SHARED_REQUIRES(Locks::mutator_lock_); 313 bool Remove(uint32_t cookie, IndirectRef iref); 359 static uint32_t ExtractIndex(IndirectRef iref) { in ExtractIndex() argument 360 uintptr_t uref = reinterpret_cast<uintptr_t>(iref); in ExtractIndex()
|
D | indirect_reference_table.cc | 173 bool IndirectReferenceTable::Remove(uint32_t cookie, IndirectRef iref) { in Remove() argument 182 if (GetIndirectRefKind(iref) == kHandleScopeOrInvalid) { in Remove() 184 if (self->HandleScopeContains(reinterpret_cast<jobject>(iref))) { in Remove() 197 const int idx = ExtractIndex(iref); in Remove() 214 if (!CheckEntry("remove", iref, idx)) { in Remove() 250 if (!CheckEntry("remove", iref, idx)) { in Remove()
|