Home
last modified time | relevance | path

Searched refs:isDone (Results 1 – 25 of 31) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java211 if (!itr.isDone() && !sts.isError()) { in parse()
229 if (itr.isDone() || sts.isError()) { in parseLanguage()
247 if (itr.isDone() || sts.isError()) { in parseExtlangs()
253 while (!itr.isDone()) { in parseExtlangs()
276 if (itr.isDone() || sts.isError()) { in parseScript()
294 if (itr.isDone() || sts.isError()) { in parseRegion()
312 if (itr.isDone() || sts.isError()) { in parseVariants()
318 while (!itr.isDone()) { in parseVariants()
336 if (itr.isDone() || sts.isError()) { in parseExtensions()
342 while (!itr.isDone()) { in parseExtensions()
[all …]
DInternalLocaleBuilder.java149 while (!itr.isDone()) { in setUnicodeLocaleKeyword()
195 while (!itr.isDone()) { in setExtension()
240 while (!itr.isDone()) { in setExtensions()
248 while (!itr.isDone()) { in setExtensions()
272 if (!itr.isDone()) { in setExtensions()
279 while (!itr.isDone()) { in setExtensions()
299 if (!itr.isDone()) { in setExtensions()
505 while (!itr.isDone()) { in getBaseLocale()
552 while (!itr.isDone()) { in removePrivateuseVariant()
578 while (!itr.isDone()) { in checkVariants()
[all …]
DStringTokenIterator.java70 public boolean isDone() { in isDone() method in StringTokenIterator
/libcore/ojluni/src/main/java/java/util/concurrent/
DFuture.java139 boolean isDone(); in isDone() method
DAbstractExecutorService.java246 if (!f.isDone()) { in invokeAll()
284 if (!f.isDone()) { in invokeAll()
DFutureTask.java161 public boolean isDone() { in isDone() method in FutureTask
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java213 assertFalse(f.isDone()); in testNewSingleThreadScheduledExecutor()
217 assertTrue(f.isDone()); in testNewSingleThreadScheduledExecutor()
237 assertFalse(f.isDone()); in testNewScheduledThreadPool()
241 assertTrue(f.isDone()); in testNewScheduledThreadPool()
263 assertFalse(f.isDone()); in testUnconfigurableScheduledExecutorService()
267 assertTrue(f.isDone()); in testUnconfigurableScheduledExecutorService()
DFutureTaskTest.java45 assertTrue(f.isDone()); in checkIsDone()
78 assertTrue(f.isDone()); in checkIsDone()
83 assertFalse(f.isDone()); in checkNotDone()
209 assertTrue(isDone()); in done()
260 assertFalse(task.isDone()); in testIsDone()
262 assertTrue(task.isDone()); in testIsDone()
359 assertTrue(task.isDone()); in testCancelBeforeRun()
376 assertTrue(task.isDone()); in testCancelBeforeRun2()
431 assertTrue(task.isDone()); in testCancelInterrupt()
473 assertTrue(task.isDone()); in testCancelInterrupt_ThrowsSecurityException()
DExecutorCompletionServiceTest.java100 assertTrue(f.isDone()); in testTake()
136 assertTrue(f.isDone()); in testPoll1()
153 assertTrue(f.isDone()); in testPoll2()
DRecursiveTaskTest.java60 assertFalse(a.isDone()); in checkNotDone()
91 assertTrue(a.isDone()); in checkCompletedNormally()
129 assertTrue(a.isDone()); in checkCancelled()
156 assertTrue(a.isDone()); in checkCompletedAbnormally()
336 while (!f.isDone()) // wait out race in testForkHelpQuiesce()
734 assertTrue(f.isDone()); in testInvokeAll3()
735 assertTrue(g.isDone()); in testInvokeAll3()
736 assertTrue(h.isDone()); in testInvokeAll3()
759 assertTrue(f.isDone()); in testInvokeAllCollection()
760 assertTrue(g.isDone()); in testInvokeAllCollection()
[all …]
DForkJoinPool8Test.java74 assertFalse(a.isDone()); in checkNotDone()
105 assertTrue(a.isDone()); in checkCompletedNormally()
123 assertTrue(a.isDone()); in checkCancelled()
150 assertTrue(a.isDone()); in checkCompletedAbnormally()
729 assertTrue(f.isDone()); in testInvokeAll3()
730 assertTrue(g.isDone()); in testInvokeAll3()
731 assertTrue(h.isDone()); in testInvokeAll3()
756 assertTrue(f.isDone()); in testInvokeAllCollection()
757 assertTrue(g.isDone()); in testInvokeAllCollection()
758 assertTrue(h.isDone()); in testInvokeAllCollection()
[all …]
DForkJoinTask8Test.java82 assertFalse(a.isDone()); in testInvokeOnPool()
91 assertTrue(a.isDone()); in testInvokeOnPool()
101 assertFalse(a.isDone()); in checkNotDone()
122 assertTrue(a.isDone()); in checkCompletedNormally()
158 assertTrue(a.isDone());
283 if (s != null && !s.isDone())
811 for (AsyncFib task : tasks) assertTrue(task.isDone());
835 for (AsyncFib task : tasks) assertTrue(task.isDone());
859 for (AsyncFib task : tasks) assertTrue(task.isDone());
1160 assertTrue(f.isDone());
[all …]
DRecursiveActionTest.java63 assertFalse(a.isDone()); in checkNotDone()
94 assertTrue(a.isDone()); in checkCompletedNormally()
112 assertTrue(a.isDone()); in checkCancelled()
139 assertTrue(a.isDone()); in checkCompletedAbnormally()
509 while (!f.isDone()) // wait out race in testForkHelpQuiesce()
916 assertTrue(f.isDone()); in testInvokeAll3()
917 assertTrue(g.isDone()); in testInvokeAll3()
918 assertTrue(h.isDone()); in testInvokeAll3()
943 assertTrue(f.isDone()); in testInvokeAllCollection()
944 assertTrue(g.isDone()); in testInvokeAllCollection()
[all …]
DForkJoinPoolTest.java335 assertTrue(f.isDone()); in testIsQuiescent()
395 assertFalse(r.isDone());
415 assertFalse(r.isDone());
437 assertTrue(future.isDone()); in testExecuteRunnable()
450 assertTrue(future.isDone()); in testSubmitCallable()
463 assertTrue(future.isDone()); in testSubmitRunnable()
476 assertTrue(future.isDone()); in testSubmitRunnable2()
DScheduledExecutorSubclassTest.java69 public boolean isDone() { return task.isDone(); } in isDone() method in ScheduledExecutorSubclassTest.CustomTask
780 assertFalse(task.isDone()); in testShutdownNow_delayedTasks()
846 assertTrue(effectivePeriodicPolicy ^ periodic.isDone()); in testShutdown_cancellation()
850 assertTrue(effectiveDelayedPolicy ^ delayed.isDone()); in testShutdown_cancellation()
872 assertTrue(periodic.isDone()); in testShutdown_cancellation()
900 assertTrue(future.isDone()); in testSubmitRunnable()
1275 assertTrue(future.isDone());
DCountedCompleterTest.java57 assertFalse(a.isDone()); in testInvokeOnPool()
66 assertTrue(a.isDone()); in testInvokeOnPool()
76 assertFalse(a.isDone()); in checkNotDone()
91 assertTrue(a.isDone()); in checkCompletedNormally()
125 assertTrue(a.isDone());
162 assertTrue(a.isDone());
516 assertTrue(a.isDone());
517 assertFalse(b.isDone());
518 assertFalse(c.isDone());
DForkJoinTaskTest.java59 assertFalse(a.isDone()); in testInvokeOnPool()
68 assertTrue(a.isDone()); in testInvokeOnPool()
78 assertFalse(a.isDone()); in checkNotDone()
97 assertTrue(a.isDone()); in checkCompletedNormally()
131 assertTrue(a.isDone());
168 assertTrue(a.isDone());
295 if (s != null && !s.isDone())
DAbstractExecutorServiceTest.java77 assertTrue(future.isDone()); in testExecuteRunnable()
98 assertTrue(future.isDone()); in testSubmitRunnable()
596 assertTrue(future.isDone());
DScheduledExecutorTest.java728 assertFalse(task.isDone()); in testShutdownNow_delayedTasks()
795 assertTrue(effectivePeriodicPolicy ^ periodic.isDone()); in testShutdown_cancellation()
799 assertTrue(effectiveDelayedPolicy ^ delayed.isDone()); in testShutdown_cancellation()
821 assertTrue(periodic.isDone()); in testShutdown_cancellation()
849 assertTrue(future.isDone()); in testSubmitRunnable()
1225 assertTrue(future.isDone());
DThreadPoolExecutorSubclassTest.java71 public boolean isDone() { in isDone() method in ThreadPoolExecutorSubclassTest.CustomTask
1453 assertTrue(future.isDone()); in testSubmitRunnable()
1902 assertTrue(future.isDone());
2035 assertTrue(future.isDone());
DJSR166TestCase.java1637 boolean isDone();
1643 public boolean isDone() { return done; }
/libcore/ojluni/src/main/java/sun/nio/ch/
DInvoker.java281 assert future.isDone(); in invokeUnchecked()
297 assert future.isDone(); in invoke()
313 assert future.isDone(); in invokeIndirectly()
DCompletedFuture.java88 public boolean isDone() { in isDone() method in CompletedFuture
DPendingFuture.java221 public boolean isDone() { in isDone() method in PendingFuture
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java59 public boolean isDone() { in isDone() method in FutureTask

12