/libcore/ojluni/src/test/java/text/CharacterIterator/ |
D | CharacterIteratorTest.java | 121 if (c == CharacterIterator.DONE && i != text.length()) in TestIteration() 132 if (c != CharacterIterator.DONE) { in TestIteration() 136 } while (c != CharacterIterator.DONE); in TestIteration() 143 if (c == CharacterIterator.DONE && i >= 0) in TestIteration() 154 if (c != CharacterIterator.DONE) { in TestIteration() 158 } while (c != CharacterIterator.DONE); in TestIteration() 172 if (c == CharacterIterator.DONE && i != 15) in TestIteration() 183 if (c != CharacterIterator.DONE) { in TestIteration() 187 } while (c != CharacterIterator.DONE); in TestIteration() 194 if (c == CharacterIterator.DONE && i >= 5) in TestIteration() [all …]
|
/libcore/ojluni/src/test/java/text/BreakIterator/ |
D | MirroredBreakIterator.java | 43 for (; i != DONE; i = bi.next()) { in MirroredBreakIterator() 76 return DONE; in next() 80 return DONE; in next() 88 return DONE; in next() 96 return DONE; in previous() 110 return DONE; in following() 122 return DONE; in preceding()
|
D | Bug7104012.java | 61 while (bi.next() != BreakIterator.DONE) { } in main() 63 while (bi.previous() != BreakIterator.DONE) { } in main()
|
D | Bug4533872.java | 135 end != BreakIterator.DONE; in TestPrintEachForward() 174 start != BreakIterator.DONE; in TestPrintEachBackward() 240 if (iter.preceding(0) != BreakIterator.DONE) { in TestPrintAt_2() 260 if (start != BreakIterator.DONE) { in TestPrintAt_2()
|
D | ExceptionTest.java | 33 import static java.text.BreakIterator.DONE; 61 check(bi.following(i), DONE); in main() local 82 check(bi.preceding(i), DONE); in main() local
|
D | Bug4740757.java | 64 for (; end != BreakIterator.DONE; start = end, end = bi.next()) { in test4740757()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | StringCharacterIteratorTest.java | 194 assertTrue("Not DONE", it1.first() == CharacterIterator.DONE); in test_first() 283 assertEquals(CharacterIterator.DONE, fixture.next()); in test_next() 285 assertEquals(CharacterIterator.DONE, fixture.next()); in test_next() 287 assertEquals(CharacterIterator.DONE, fixture.next()); in test_next() 295 assertTrue("Wrong next char3", it1.next() == CharacterIterator.DONE); in test_next() 296 assertTrue("Wrong next char4", it1.next() == CharacterIterator.DONE); in test_next() 300 it1.current() == CharacterIterator.DONE); in test_next() 308 assertEquals(CharacterIterator.DONE, fixture.previous()); in test_previous() 315 assertEquals(CharacterIterator.DONE, fixture.next()); in test_previous() 316 assertEquals(CharacterIterator.DONE, fixture.next()); in test_previous() [all …]
|
D | AttributedCharacterIteratorTest.java | 40 assertTrue("Wrong final", it.current() == CharacterIterator.DONE); in test_current() 59 assertTrue("Wrong first4", it.first() == CharacterIterator.DONE); in test_first() 112 assertTrue("Wrong last4", it.last() == CharacterIterator.DONE); in test_last() 126 assertTrue("Wrong final", it.next() == CharacterIterator.DONE); in test_next()
|
D | BreakIteratorTest.java | 42 assertEquals(-1, BreakIterator.DONE); in testConsts() 97 assertEquals(BreakIterator.DONE, iterator.following(TEXT.length())); in testFollowing() 128 assertEquals(BreakIterator.DONE, iterator.next(3)); in testNextint() 154 assertEquals(BreakIterator.DONE, iterator.preceding(0)); in testPreceding() 277 assertEquals(BreakIterator.DONE, iterator.next()); in test_next()
|
D | AttributedStringTest.java | 39 while ((ch = it.next()) != CharacterIterator.DONE) in test_ConstructorLjava_lang_String()
|
/libcore/ojluni/src/main/java/java/text/ |
D | BreakIterator.java | 260 public static final int DONE = -1; field in BreakIterator 357 while (pos >= offset && pos != DONE) { in preceding() 385 if (boundary == DONE) { in isBoundary()
|
D | StringCharacterIterator.java | 171 return DONE; in current() 187 return DONE; in next() 202 return DONE; in previous()
|
D | CharacterIterator.java | 114 public static final char DONE = '\uFFFF'; field
|
D | AttributedString.java | 820 return DONE; in current() 831 return DONE; in next() 840 return DONE; in previous() 1005 return DONE; in internalSetIndex()
|
D | MessageFormat.java | 1373 if (iterator.first() != CharacterIterator.DONE) { in append() 1377 while ((aChar = iterator.next()) != CharacterIterator.DONE) { in append()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | BreakIteratorTest.java | 91 while (pos != BreakIterator.DONE) { in assertExpectedWordBoundaries() 98 expectedPos = BreakIterator.DONE; // ...unless we're done. in assertExpectedWordBoundaries() 143 assertEquals(BreakIterator.DONE, it.following(5)); in testFollowing() 164 assertEquals(BreakIterator.DONE, it.preceding(0)); in testPreceding()
|
D | OldAttributedStringTest.java | 35 while ((ch = it.next()) != CharacterIterator.DONE) in assertEqualString() 173 while ((ch = it.next()) != CharacterIterator.DONE) in test_ConstructorLjava_lang_StringLjava_util_Map()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | BreakIteratorBenchmark.java | 55 while (it.next() != BreakIterator.DONE) { in timeBreakIterator() 66 while (it.next() != android.icu.text.BreakIterator.DONE) { in timeIcuBreakIterator()
|
/libcore/ojluni/src/test/java/text/AttributedString/ |
D | AttributedStringTest.java | 152 if (c != CharacterIterator.DONE) { in checkIteratorText() 179 if (c != CharacterIterator.DONE) { in checkIteratorSubranges() 194 if (c != CharacterIterator.DONE) { in checkIteratorSubranges() 209 if (c != CharacterIterator.DONE) { in checkIteratorSubranges() 239 for(char c = iterator.first(); c != CharacterIterator.DONE; c = iterator.next()) { in dumpIterator()
|
/libcore/tools/upstream/ |
D | pkg-status | 78 DONE = ('Done', green) variable in WorkStatus 327 return WorkStatus.DONE 335 return WorkStatus.DONE 343 return WorkStatus.DONE 349 return WorkStatus.DONE
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinTask.java | 266 private static final int DONE = 1 << 31; // must be negative field in ForkJoinTask 307 int s = getAndBitwiseOrStatus(DONE) | DONE; in setDone() 319 do {} while ((s = status) >= 0 && !casStatus(s, s |= (DONE | ABNORMAL))); in trySetCancelled() 341 if (installed && casStatus(s, s |= (DONE | ABNORMAL | THROWN))) in trySetThrown() 457 casStatus(s, s | (DONE | ABNORMAL)); // try to cancel in awaitDone() 902 return (status & (DONE | ABNORMAL)) == DONE; in isCompletedNormally()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadPoolExecutorTest.java | 1211 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4() 1213 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()
|
D | ThreadPoolExecutorSubclassTest.java | 1240 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4() 1242 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ThreadPoolExecutorTest.java | 1233 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4() 1235 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()
|
D | ThreadPoolExecutorSubclassTest.java | 1262 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4() 1264 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()
|