Home | History | Annotate | Download | only in concurrent

Lines Matching defs:nextIndex

984         private int nextIndex;
1019 nextIndex = NONE;
1024 nextItem = itemAt(nextIndex = takeIndex);
1035 // assert nextIndex >= 0;
1094 if (invalidated(nextIndex, prevTakeIndex, dequeues, len))
1095 nextIndex = REMOVED;
1099 if (cursor < 0 && nextIndex < 0 && lastRet < 0)
1111 * nextIndex < 0 && lastRet < 0) or as a special exception, when
1119 // assert nextIndex < 0;
1149 // assert nextIndex == NONE;
1176 // assert nextIndex != NONE;
1178 lastRet = nextIndex;
1181 nextItem = itemAt(nextIndex = cursor);
1185 nextIndex = NONE;
1219 if (cursor < 0 && nextIndex < 0)
1237 if (nextIndex >= 0)
1238 nextIndex = REMOVED;
1299 int nextIndex = this.nextIndex;
1300 if (nextIndex >= 0) {
1301 int x = distance(nextIndex, prevTakeIndex, len);
1303 this.nextIndex = nextIndex = REMOVED;
1305 this.nextIndex = nextIndex = dec(nextIndex);
1307 if (cursor < 0 && nextIndex < 0 && lastRet < 0) {
1335 // "nextIndex=" + nextIndex + " " +