Home
last modified time | relevance | path

Searched refs:nextIndex (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/java/math/
DBitSieve.java81 int nextIndex = 1; in BitSieve() local
86 sieveSingle(length, nextIndex + nextPrime, nextPrime); in BitSieve()
87 nextIndex = sieveSearch(length, nextIndex + 1); in BitSieve()
88 nextPrime = 2*nextIndex + 1; in BitSieve()
89 } while((nextIndex > 0) && (nextPrime < length)); in BitSieve()
/libcore/ojluni/src/main/java/java/lang/
DThreadLocal.java349 private static int nextIndex(int i, int len) { in nextIndex() method in ThreadLocal.ThreadLocalMap
395 h = nextIndex(h, len); in ThreadLocalMap()
443 i = nextIndex(i, len); in getEntryAfterMiss()
468 e = tab[i = nextIndex(i, len)]) { in set()
497 e = tab[i = nextIndex(i, len)]) { in remove()
540 for (int i = nextIndex(staleSlot, len); in replaceStaleEntry()
542 i = nextIndex(i, len)) { in replaceStaleEntry()
602 for (i = nextIndex(staleSlot, len); in expungeStaleEntry()
604 i = nextIndex(i, len)) { in expungeStaleEntry()
618 h = nextIndex(h, len); in expungeStaleEntry()
[all …]
/libcore/ojluni/src/main/java/java/util/
DLinkedList.java874 private int nextIndex; field in LinkedList.ListItr
880 nextIndex = index; in ListItr()
884 return nextIndex < size; in hasNext()
894 nextIndex++; in next()
899 return nextIndex > 0; in hasPrevious()
908 nextIndex--; in previous()
912 public int nextIndex() { in nextIndex() method in LinkedList.ListItr
913 return nextIndex; in nextIndex()
917 return nextIndex - 1; in previousIndex()
930 nextIndex--; in remove()
[all …]
DListIterator.java120 int nextIndex(); in nextIndex() method
DAbstractList.java215 return it.nextIndex(); in lastIndexOf()
219 return it.nextIndex(); in lastIndexOf()
425 public int nextIndex() { in nextIndex() method in AbstractList.ListItr
843 return nextIndex() < size; in listIterator()
864 public int nextIndex() { in listIterator() method
865 return i.nextIndex() - offset; in listIterator()
DArrayList.java926 public int nextIndex() { in nextIndex() method in ArrayList.ListItr
1183 public int nextIndex() { in listIterator() method
DVector.java1217 public int nextIndex() { in nextIndex() method in ListItr
DCollections.java313 int pos = i.nextIndex(); in get()
1392 public int nextIndex() {return i.nextIndex();} in listIterator() method
3509 public int nextIndex() { return i.nextIndex(); }
4294 public int nextIndex() { return 0; }
DImmutableCollections.java274 public int nextIndex() { in nextIndex() method in ImmutableCollections.ListItr
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractSequentialListTest.java87 public int nextIndex() { in nextIndex() method in AbstractSequentialListTest.Mock_unsupportedListIterator
126 public int nextIndex() { in nextIndex() method in AbstractSequentialListTest.Mock_ListIterator
329 public int nextIndex() { in test_getI()
444 public int nextIndex() { in test_removeI()
517 public int nextIndex() { in test_setILjava_lang_Object()
DLinkedListTest.java449 i2.nextIndex() == n + 1); in test_listIteratorI()
/libcore/luni/src/test/java/libcore/java/util/
DOldListIteratorTest.java76 public int nextIndex() { in nextIndex() method in OldListIteratorTest.Mock_ListIterator
161 assertTrue(objArray[i].equals(l.nextIndex())); in testNextIndex()
/libcore/ojluni/annotations/hiddenapi/java/util/
DLinkedList.java375 public int nextIndex() { in nextIndex() method in LinkedList.ListItr
409 private int nextIndex; field in LinkedList.ListItr
DVector.java331 public int nextIndex() { in nextIndex() method in Vector.ListItr
DArrayList.java327 public int nextIndex() { in nextIndex() method in ArrayList.ListItr
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThreadLocal.java127 private static int nextIndex(int i, int len) { in nextIndex() method in ThreadLocal.ThreadLocalMap
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArrayList.java298 public int nextIndex() { in nextIndex() method in CopyOnWriteArrayList.COWIterator
455 public int nextIndex() { in nextIndex() method in CopyOnWriteArrayList.COWSubListIterator
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArrayList.java1092 public int nextIndex() { in nextIndex() method in CopyOnWriteArrayList.COWIterator
1490 return nextIndex() < size; in hasNext()
1511 public int nextIndex() { in nextIndex() method in CopyOnWriteArrayList.COWSubListIterator
1512 return it.nextIndex() - offset; in nextIndex()
1535 while (nextIndex() < size) { in forEachRemaining()
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java1063 (list.get(i.nextIndex()).getClass().getName(),