Lines Matching refs:segmentState
50 segmentState.all = IRT_FIRST_SEGMENT; in init()
90 size_t topIndex = segmentState.parts.topIndex; in add()
96 assert(segmentState.parts.numHoles >= prevState.parts.numHoles); in add()
135 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles; in add()
147 segmentState.parts.numHoles--; in add()
153 segmentState.parts.topIndex = topIndex; in add()
178 int topIndex = segmentState.parts.topIndex; in getChecked()
212 return linearScan(iref, 0, segmentState.parts.topIndex, table_) != -1; in contains()
232 int topIndex = segmentState.parts.topIndex; in remove()
237 assert(segmentState.parts.numHoles >= prevState.parts.numHoles); in remove()
272 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles; in remove()
283 segmentState.parts.numHoles = numHoles + prevState.parts.numHoles; in remove()
284 segmentState.parts.topIndex = topIndex; in remove()
286 segmentState.parts.topIndex = topIndex-1; in remove()
304 segmentState.parts.numHoles++; in remove()
305 LOGV("+++ left hole at %d, holes=%d", idx, segmentState.parts.numHoles); in remove()