/libcore/ojluni/src/main/java/java/math/ |
D | BitSieve.java | 81 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/ |
D | ThreadLocal.java | 349 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/ |
D | LinkedList.java | 874 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 …]
|
D | ListIterator.java | 120 int nextIndex(); in nextIndex() method
|
D | AbstractList.java | 215 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()
|
D | ArrayList.java | 926 public int nextIndex() { in nextIndex() method in ArrayList.ListItr 1183 public int nextIndex() { in listIterator() method
|
D | Vector.java | 1217 public int nextIndex() { in nextIndex() method in ListItr
|
D | Collections.java | 313 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; }
|
D | ImmutableCollections.java | 274 public int nextIndex() { in nextIndex() method in ImmutableCollections.ListItr
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | AbstractSequentialListTest.java | 87 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()
|
D | LinkedListTest.java | 449 i2.nextIndex() == n + 1); in test_listIteratorI()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldListIteratorTest.java | 76 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/ |
D | LinkedList.java | 375 public int nextIndex() { in nextIndex() method in LinkedList.ListItr 409 private int nextIndex; field in LinkedList.ListItr
|
D | Vector.java | 331 public int nextIndex() { in nextIndex() method in Vector.ListItr
|
D | ArrayList.java | 327 public int nextIndex() { in nextIndex() method in ArrayList.ListItr
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 127 private static int nextIndex(int i, int len) { in nextIndex() method in ThreadLocal.ThreadLocalMap
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 298 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/ |
D | CopyOnWriteArrayList.java | 1092 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/ |
D | Subject.java | 1063 (list.get(i.nextIndex()).getClass().getName(),
|