Lines Matching refs:iref
138 * Returns kInvalidIndirectRefObject if iref is invalid.
140 Object* IndirectRefTable::get(IndirectRef iref) const {
141 IndirectRefKind kind = indirectRefKind(iref);
143 if (iref == NULL) {
149 indirectRefKindToString(kind_), iref);
158 u4 index = extractIndex(iref);
162 indirectRefKindToString(kind_), iref, index, topIndex);
170 indirectRefKindToString(kind_), iref);
175 u4 serial = extractSerial(iref);
178 indirectRefKindToString(kind_), iref);
201 * Remove "obj" from "pRef". We extract the table offset bits from "iref"
213 bool IndirectRefTable::remove(u4 cookie, IndirectRef iref)
224 IndirectRefKind kind = indirectRefKind(iref);
227 index = extractIndex(iref);
242 indirectRefKindToString(kind_), iref);
245 u4 serial = extractSerial(iref);
248 indirectRefKindToString(kind_), iref);
253 int i = findObject(reinterpret_cast<Object*>(iref), bottomIndex, topIndex, table_);
255 ALOGW("trying to work around app JNI bugs, but didn't find %p in table!", iref);