Lines Matching refs:parts
65 size_t topIndex = segmentState.parts.topIndex; in add()
71 assert(segmentState.parts.numHoles >= prevState.parts.numHoles); in add()
80 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles; in add()
88 assert(slot >= table_ + prevState.parts.topIndex); in add()
90 segmentState.parts.numHoles--; in add()
124 segmentState.parts.topIndex = topIndex; in add()
157 u4 topIndex = segmentState.parts.topIndex; in get()
197 return findObject(obj, 0, segmentState.parts.topIndex, table_) >= 0; in contains()
217 u4 topIndex = segmentState.parts.topIndex; in remove()
218 u4 bottomIndex = prevState.parts.topIndex; in remove()
222 assert(segmentState.parts.numHoles >= prevState.parts.numHoles); in remove()
266 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles; in remove()
277 segmentState.parts.numHoles = numHoles + prevState.parts.numHoles; in remove()
278 segmentState.parts.topIndex = topIndex; in remove()
280 segmentState.parts.topIndex = topIndex-1; in remove()
290 segmentState.parts.numHoles++; in remove()
291 ALOGV("+++ left hole at %d, holes=%d", index, segmentState.parts.numHoles); in remove()