• Home
  • Raw
  • Download

Lines Matching refs:pRef

212 INLINE IndirectRef dvmObjectToIndirectRef(IndirectRefTable* pRef,  in dvmObjectToIndirectRef()  argument
218 u4 serialChunk = pRef->slotData[tableIndex].serial; in dvmObjectToIndirectRef()
252 bool dvmInitIndirectRefTable(IndirectRefTable* pRef, int initialCount,
260 void dvmClearIndirectRefTable(IndirectRefTable* pRef);
272 INLINE u4 dvmPushIndirectRefTableSegment(IndirectRefTable* pRef) in dvmPushIndirectRefTableSegment() argument
274 return pRef->segmentState.all; in dvmPushIndirectRefTableSegment()
278 bool dvmPopIndirectRefTableSegmentCheck(IndirectRefTable* pRef, u4 cookie);
288 INLINE void dvmPopIndirectRefTableSegment(IndirectRefTable* pRef, u4 cookie) in dvmPopIndirectRefTableSegment() argument
290 dvmPopIndirectRefTableSegmentCheck(pRef, cookie); in dvmPopIndirectRefTableSegment()
291 pRef->segmentState.all = cookie; in dvmPopIndirectRefTableSegment()
298 INLINE size_t dvmIndirectRefTableEntries(const IndirectRefTable* pRef) in dvmIndirectRefTableEntries() argument
300 return pRef->segmentState.parts.topIndex; in dvmIndirectRefTableEntries()
307 INLINE size_t dvmIsIndirectRefTableFull(const IndirectRefTable* pRef) in dvmIsIndirectRefTableFull() argument
309 return dvmIndirectRefTableEntries(pRef) == (size_t)pRef->allocEntries; in dvmIsIndirectRefTableFull()
320 IndirectRef dvmAddToIndirectRefTable(IndirectRefTable* pRef, u4 cookie,
331 INLINE IndirectRef dvmAppendToIndirectRefTable(IndirectRefTable* pRef, in dvmAppendToIndirectRefTable() argument
334 int topIndex = pRef->segmentState.parts.topIndex; in dvmAppendToIndirectRefTable()
335 if (topIndex == pRef->allocEntries) { in dvmAppendToIndirectRefTable()
337 return dvmAddToIndirectRefTable(pRef, cookie, obj); in dvmAppendToIndirectRefTable()
339 IndirectRef result = dvmObjectToIndirectRef(pRef, obj, topIndex, in dvmAppendToIndirectRefTable()
340 pRef->kind); in dvmAppendToIndirectRefTable()
341 pRef->table[topIndex++] = obj; in dvmAppendToIndirectRefTable()
342 pRef->segmentState.parts.topIndex = topIndex; in dvmAppendToIndirectRefTable()
348 bool dvmGetFromIndirectRefTableCheck(IndirectRefTable* pRef, IndirectRef iref);
355 INLINE Object* dvmGetFromIndirectRefTable(IndirectRefTable* pRef, in dvmGetFromIndirectRefTable() argument
358 if (!dvmGetFromIndirectRefTableCheck(pRef, iref)) in dvmGetFromIndirectRefTable()
362 return pRef->table[idx]; in dvmGetFromIndirectRefTable()
374 bool dvmRemoveFromIndirectRefTable(IndirectRefTable* pRef, u4 cookie,
380 void dvmDumpIndirectRefTable(const IndirectRefTable* pRef, const char* descr);