Home
last modified time | relevance | path

Searched refs:topIndex (Results 1 – 2 of 2) sorted by relevance

/dalvik/vm/
DIndirectRefTable.c77 if (sst.parts.topIndex > pRef->segmentState.parts.topIndex) { in dvmPopIndirectRefTableSegmentCheck()
79 pRef->segmentState.parts.topIndex, sst.parts.topIndex); in dvmPopIndirectRefTableSegmentCheck()
82 if (sst.parts.numHoles >= sst.parts.topIndex) { in dvmPopIndirectRefTableSegmentCheck()
84 sst.parts.numHoles, sst.parts.topIndex); in dvmPopIndirectRefTableSegmentCheck()
89 pRef, pRef->kind, sst.parts.topIndex, sst.parts.numHoles); in dvmPopIndirectRefTableSegmentCheck()
146 int topIndex = pRef->segmentState.parts.topIndex; in dvmAddToIndirectRefTable() local
154 if (topIndex == pRef->allocEntries) { in dvmAddToIndirectRefTable()
156 if (topIndex == pRef->maxEntries) { in dvmAddToIndirectRefTable()
192 assert(topIndex > 1); in dvmAddToIndirectRefTable()
194 Object** pScan = &pRef->table[topIndex - 1]; in dvmAddToIndirectRefTable()
[all …]
DIndirectRefTable.h180 u4 topIndex:16; /* index of first unused entry */ member
300 return pRef->segmentState.parts.topIndex; in dvmIndirectRefTableEntries()
334 int topIndex = pRef->segmentState.parts.topIndex; in dvmAppendToIndirectRefTable() local
335 if (topIndex == pRef->allocEntries) { in dvmAppendToIndirectRefTable()
339 IndirectRef result = dvmObjectToIndirectRef(pRef, obj, topIndex, in dvmAppendToIndirectRefTable()
341 pRef->table[topIndex++] = obj; in dvmAppendToIndirectRefTable()
342 pRef->segmentState.parts.topIndex = topIndex; in dvmAppendToIndirectRefTable()