Searched refs:li (Results 1 – 10 of 10) sorted by relevance
/libcore/support/src/test/java/tests/support/ |
D | Support_ListTest.java | 116 ListIterator<Integer> li = list.listIterator(); in runTest() local 117 for (int counter = 0; li.hasNext(); counter++) { in runTest() 119 elem = li.next(); in runTest() 129 ListIterator<Integer> li = list.listIterator(1); in t_listIterator() local 130 assertTrue("listIterator(1)", li.next() == list.get(1)); in t_listIterator() 133 li = list.listIterator(); in t_listIterator() 136 assertTrue("list iterator hasPrevious(): " + i, !li in t_listIterator() 139 assertTrue("list iterator hasPrevious(): " + i, li in t_listIterator() 143 assertTrue("list iterator hasNext(): " + i, !li.hasNext()); in t_listIterator() 145 assertTrue("list iterator hasNext(): " + i, li.hasNext()); in t_listIterator() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | ForwardState.java | 239 ListIterator<PKIXCertPathChecker> li = in clone() local 241 while (li.hasNext()) { in clone() 242 PKIXCertPathChecker checker = li.next(); in clone() 244 li.set((PKIXCertPathChecker)checker.clone()); in clone()
|
D | X509CertPath.java | 289 ListIterator<X509Certificate> li = certs.listIterator(certs.size()); in encodePKIPATH() local 294 while (li.hasPrevious()) { in encodePKIPATH() 295 X509Certificate cert = li.previous(); in encodePKIPATH()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedListTest.java | 468 ListIterator li = myList.listIterator(); in test_listIteratorI() local 469 assertTrue("li.hasPrevious() should be false", !li.hasPrevious()); in test_listIteratorI() 470 assertNull("li.next() should be null", li.next()); in test_listIteratorI() 471 assertTrue("li.hasPrevious() should be true", li.hasPrevious()); in test_listIteratorI() 472 assertNull("li.prev() should be null", li.previous()); in test_listIteratorI() 473 assertNull("li.next() should be null", li.next()); in test_listIteratorI() 474 assertEquals("li.next() should be Blah", "Blah", li.next()); in test_listIteratorI() 475 assertNull("li.next() should be null", li.next()); in test_listIteratorI() 476 assertEquals("li.next() should be Booga", "Booga", li.next()); in test_listIteratorI() 477 assertTrue("li.hasNext() should be true", li.hasNext()); in test_listIteratorI() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | List.java | 438 final ListIterator<E> li = this.listIterator(); in replaceAll() local 439 while (li.hasNext()) { in replaceAll() 440 li.set(operator.apply(li.next())); in replaceAll()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset-X-Coder.java.template | 56 * <li><p> Reset the $coder$ via the {@link #reset reset} method, unless it 57 * has not been used before; </p></li> 59 * <li><p> Invoke the {@link #$code$ $code$} method zero or more times, as 62 * output buffer between invocations; </p></li> 64 * <li><p> Invoke the {@link #$code$ $code$} method one final time, passing 65 * {@code true} for the {@code endOfInput} argument; and then </p></li> 67 * <li><p> Invoke the {@link #flush flush} method so that the $coder$ can 68 * flush any internal state to the output buffer. </p></li> 522 * <li><p> {@link CoderResult#UNDERFLOW} indicates that as much of the 526 * should be invoked again with further input. </p></li> [all …]
|
/libcore/ojluni/src/main/java/java/nio/ |
D | X-Buffer.java.template | 57 * <li><p> Absolute and relative {@link #get() <i>get</i>} and 59 * single $type$s; </p></li> 61 * <li><p> Absolute and relative {@link #get($type$[]) <i>bulk get</i>} 63 * into an array; {#if[!byte]?and}</p></li> 65 * <li><p> Absolute and relative {@link #put($type$[]) <i>bulk put</i>} 68 * buffer into this buffer;{#if[!byte]? and} </p></li> 72 * <li><p> Absolute and relative {@link #getChar() <i>get</i>} 75 * sequences of bytes in a particular byte order; </p></li> 77 * <li><p> Methods for creating <i><a href="#views">view buffers</a></i>, 79 * some other primitive type; and </p></li> [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldCollectionsTest.java | 854 List<Integer> li = Collections.emptyList(); in test_emptyList() local 856 assertTrue(ls.equals(li)); in test_emptyList() 857 assertTrue(li.equals(Collections.EMPTY_LIST)); in test_emptyList()
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | input.txt | 54 <li><a href=http://example.com/cgi-bin/bugtraq_showbug?bugid=4904881>4904881</a>: JVM crash during … 63 <li><a href=http://example.com/cgi-bin/bugtraq_showbug?bugid=4904881>4904881</a>: JVM crash during … 72 <li><a href=http://example.com/cgi-bin/bugtraq_showbug?bugid=4904881>4904881</a>: JVM crash during …
|
/libcore/ojluni/src/main/ |
D | LICENSE | 1208 <li>Set the metadata of the new text to the metadata of the first 1209 character replaced</li> 1210 <li>If no characters are replaced, use the metadata of the 1211 previous character</li> 1212 <li>If there is no previous character (i.e. start == 0), use the 1213 following character</li> 1214 <li>If there is no following character (i.e. the replaceable was 1216 <li>If the code point U+FFFF is seen, it should be interpreted as 1217 a special marker having no metadata<li> 1218 </li>
|