Home
last modified time | relevance | path

Searched refs:DONE (Results 1 – 25 of 28) sorted by relevance

12

/libcore/ojluni/src/test/java/text/CharacterIterator/
DCharacterIteratorTest.java121 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/
DMirroredBreakIterator.java43 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()
DBug7104012.java61 while (bi.next() != BreakIterator.DONE) { } in main()
63 while (bi.previous() != BreakIterator.DONE) { } in main()
DBug4533872.java135 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()
DExceptionTest.java33 import static java.text.BreakIterator.DONE;
61 check(bi.following(i), DONE); in main() local
82 check(bi.preceding(i), DONE); in main() local
DBug4740757.java64 for (; end != BreakIterator.DONE; start = end, end = bi.next()) { in test4740757()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DStringCharacterIteratorTest.java194 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 …]
DAttributedCharacterIteratorTest.java40 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()
DBreakIteratorTest.java42 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()
DAttributedStringTest.java39 while ((ch = it.next()) != CharacterIterator.DONE) in test_ConstructorLjava_lang_String()
/libcore/ojluni/src/main/java/java/text/
DBreakIterator.java260 public static final int DONE = -1; field in BreakIterator
357 while (pos >= offset && pos != DONE) { in preceding()
385 if (boundary == DONE) { in isBoundary()
DStringCharacterIterator.java171 return DONE; in current()
187 return DONE; in next()
202 return DONE; in previous()
DCharacterIterator.java114 public static final char DONE = '\uFFFF'; field
DAttributedString.java820 return DONE; in current()
831 return DONE; in next()
840 return DONE; in previous()
1005 return DONE; in internalSetIndex()
DMessageFormat.java1373 if (iterator.first() != CharacterIterator.DONE) { in append()
1377 while ((aChar = iterator.next()) != CharacterIterator.DONE) { in append()
/libcore/luni/src/test/java/libcore/java/text/
DBreakIteratorTest.java91 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()
DOldAttributedStringTest.java35 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/
DBreakIteratorBenchmark.java55 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/
DAttributedStringTest.java152 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/
Dpkg-status78 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/
DForkJoinTask.java266 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/
DThreadPoolExecutorTest.java1211 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4()
1213 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()
DThreadPoolExecutorSubclassTest.java1240 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4()
1242 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorTest.java1233 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4()
1235 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()
DThreadPoolExecutorSubclassTest.java1262 assertEquals(LatchAwaiter.DONE, r1.state); in testSaturatedExecute4()
1264 assertEquals(LatchAwaiter.DONE, r3.state); in testSaturatedExecute4()

12