Searched refs:iref (Results 1 – 2 of 2) sorted by relevance
/dalvik/vm/ |
D | IndirectRefTable.h | 228 INLINE u4 dvmIndirectRefToIndex(IndirectRef iref) in dvmIndirectRefToIndex() argument 230 u4 uref = (u4) iref; in dvmIndirectRefToIndex() 237 INLINE IndirectRefKind dvmGetIndirectRefType(IndirectRef iref) in dvmGetIndirectRefType() argument 239 return (u4) iref & 0x03; in dvmGetIndirectRefType() 348 bool dvmGetFromIndirectRefTableCheck(IndirectRefTable* pRef, IndirectRef iref); 356 IndirectRef iref) in dvmGetFromIndirectRefTable() argument 358 if (!dvmGetFromIndirectRefTableCheck(pRef, iref)) in dvmGetFromIndirectRefTable() 361 int idx = dvmIndirectRefToIndex(iref); in dvmGetFromIndirectRefTable() 375 IndirectRef iref);
|
D | IndirectRefTable.c | 97 static bool checkEntry(IndirectRefTable* pRef, IndirectRef iref, int idx) in checkEntry() argument 101 if (checkRef != iref) { in checkEntry() 103 pRef, pRef->kind, iref, checkRef); in checkEntry() 221 bool dvmGetFromIndirectRefTableCheck(IndirectRefTable* pRef, IndirectRef iref) in dvmGetFromIndirectRefTableCheck() argument 223 if (dvmGetIndirectRefType(iref) == kIndirectKindInvalid) { in dvmGetFromIndirectRefTableCheck() 224 LOGW("Invalid indirect reference 0x%08x\n", (u4) iref); in dvmGetFromIndirectRefTableCheck() 229 int idx = dvmIndirectRefToIndex(iref); in dvmGetFromIndirectRefTableCheck() 231 if (iref == NULL) { in dvmGetFromIndirectRefTableCheck() 244 LOGI("Attempt to read from hole, iref=%p\n", iref); in dvmGetFromIndirectRefTableCheck() 247 if (!checkEntry(pRef, iref, idx)) in dvmGetFromIndirectRefTableCheck() [all …]
|