Lines Matching refs:iref
33 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const {
34 if (UNLIKELY(iref == nullptr)) {
38 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) {
41 iref));
45 int idx = ExtractIndex(iref);
50 iref,
59 iref));
62 if (UNLIKELY(!CheckEntry("use", iref, idx))) {
68 // Make sure that the entry at "idx" is correctly paired with "iref".
69 inline bool IndirectReferenceTable::CheckEntry(const char* what, IndirectRef iref, int idx) const {
71 if (UNLIKELY(checkRef != iref)) {
76 iref,
85 inline mirror::Object* IndirectReferenceTable::Get(IndirectRef iref) const {
86 if (!GetChecked(iref)) {
89 uint32_t idx = ExtractIndex(iref);
95 inline void IndirectReferenceTable::Update(IndirectRef iref, mirror::Object* obj) {
96 if (!GetChecked(iref)) {
97 LOG(WARNING) << "IndirectReferenceTable Update failed to find reference " << iref;
100 uint32_t idx = ExtractIndex(iref);