Searched refs:iref (Results 1 – 3 of 3) sorted by relevance
/art/runtime/ |
D | indirect_reference_table-inl.h | 31 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const { in GetChecked() argument 32 if (UNLIKELY(iref == nullptr)) { in GetChecked() 36 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) { in GetChecked() 37 LOG(ERROR) << "JNI ERROR (app bug): invalid " << kind_ << " " << iref; in GetChecked() 42 int idx = ExtractIndex(iref); in GetChecked() 45 << iref << " (index " << idx << " in a table of size " << topIndex << ")"; in GetChecked() 50 LOG(ERROR) << "JNI ERROR (app bug): accessed deleted " << kind_ << " " << iref; in GetChecked() 54 if (UNLIKELY(!CheckEntry("use", iref, idx))) { in GetChecked() 61 inline bool IndirectReferenceTable::CheckEntry(const char* what, IndirectRef iref, int idx) const { in CheckEntry() argument 63 if (UNLIKELY(checkRef != iref)) { in CheckEntry() [all …]
|
D | indirect_reference_table.h | 129 static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { in GetIndirectRefKind() argument 130 return static_cast<IndirectRefKind>(reinterpret_cast<uintptr_t>(iref) & 0x03); in GetIndirectRefKind() 292 mirror::Object* Get(IndirectRef iref) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) 298 IndirectRef iref) const in SynchronizedGet() argument 300 return Get<kReadBarrierOption>(iref); in SynchronizedGet() 312 bool Remove(uint32_t cookie, IndirectRef iref); 355 static uint32_t ExtractIndex(IndirectRef iref) { in ExtractIndex() argument 356 uintptr_t uref = reinterpret_cast<uintptr_t>(iref); in ExtractIndex()
|
D | indirect_reference_table.cc | 153 bool IndirectReferenceTable::Remove(uint32_t cookie, IndirectRef iref) { in Remove() argument 162 if (GetIndirectRefKind(iref) == kHandleScopeOrInvalid && in Remove() 163 Thread::Current()->HandleScopeContains(reinterpret_cast<jobject>(iref))) { in Remove() 167 const int idx = ExtractIndex(iref); in Remove() 184 if (!CheckEntry("remove", iref, idx)) { in Remove() 221 if (!CheckEntry("remove", iref, idx)) { in Remove()
|