Home
last modified time | relevance | path

Searched refs:isDone (Results 1 – 25 of 41) 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()
/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 …]
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());
/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
/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorsTest.java236 assertFalse(f.isDone()); in testNewSingleThreadScheduledExecutor()
240 assertTrue(f.isDone()); in testNewSingleThreadScheduledExecutor()
260 assertFalse(f.isDone()); in testNewScheduledThreadPool()
264 assertTrue(f.isDone()); in testNewScheduledThreadPool()
286 assertFalse(f.isDone()); in testUnconfigurableScheduledExecutorService()
290 assertTrue(f.isDone()); in testUnconfigurableScheduledExecutorService()
DRecursiveTaskTest.java83 assertFalse(a.isDone()); in checkNotDone()
114 assertTrue(a.isDone()); in checkCompletedNormally()
152 assertTrue(a.isDone()); in checkCancelled()
179 assertTrue(a.isDone()); in checkCompletedAbnormally()
359 while (!f.isDone()) // wait out race in testForkHelpQuiesce()
757 assertTrue(f.isDone()); in testInvokeAll3()
758 assertTrue(g.isDone()); in testInvokeAll3()
759 assertTrue(h.isDone()); in testInvokeAll3()
782 assertTrue(f.isDone()); in testInvokeAllCollection()
783 assertTrue(g.isDone()); in testInvokeAllCollection()
[all …]
DForkJoinPool8Test.java98 assertFalse(a.isDone()); in checkNotDone()
129 assertTrue(a.isDone()); in checkCompletedNormally()
147 assertTrue(a.isDone()); in checkCancelled()
174 assertTrue(a.isDone()); in checkCompletedAbnormally()
747 assertTrue(f.isDone()); in testInvokeAll3()
748 assertTrue(g.isDone()); in testInvokeAll3()
749 assertTrue(h.isDone()); in testInvokeAll3()
774 assertTrue(f.isDone()); in testInvokeAllCollection()
775 assertTrue(g.isDone()); in testInvokeAllCollection()
776 assertTrue(h.isDone()); in testInvokeAllCollection()
[all …]
DForkJoinTask8Test.java105 assertFalse(a.isDone()); in testInvokeOnPool()
114 assertTrue(a.isDone()); in testInvokeOnPool()
124 assertFalse(a.isDone()); in checkNotDone()
145 assertTrue(a.isDone()); in checkCompletedNormally()
181 assertTrue(a.isDone());
306 if (s != null && !s.isDone())
834 for (AsyncFib task : tasks) assertTrue(task.isDone());
858 for (AsyncFib task : tasks) assertTrue(task.isDone());
882 for (AsyncFib task : tasks) assertTrue(task.isDone());
1183 assertTrue(f.isDone());
[all …]
DRecursiveActionTest.java87 assertFalse(a.isDone()); in checkNotDone()
118 assertTrue(a.isDone()); in checkCompletedNormally()
136 assertTrue(a.isDone()); in checkCancelled()
163 assertTrue(a.isDone()); in checkCompletedAbnormally()
521 while (!f.isDone()) // wait out race in testForkHelpQuiesce()
928 assertTrue(f.isDone()); in testInvokeAll3()
929 assertTrue(g.isDone()); in testInvokeAll3()
930 assertTrue(h.isDone()); in testInvokeAll3()
955 assertTrue(f.isDone()); in testInvokeAllCollection()
956 assertTrue(g.isDone()); in testInvokeAllCollection()
[all …]
DExecutorCompletionServiceTest.java114 assertTrue(f.isDone()); in testTake()
144 assertTrue(f.isDone()); in testPoll1()
164 assertTrue(f.isDone()); in testPoll2()
DForkJoinPoolTest.java353 assertTrue(f.isDone()); in testIsQuiescent()
413 assertFalse(r.isDone());
433 assertFalse(r.isDone());
455 assertTrue(future.isDone()); in testExecuteRunnable()
468 assertTrue(future.isDone()); in testSubmitCallable()
481 assertTrue(future.isDone()); in testSubmitRunnable()
494 assertTrue(future.isDone()); in testSubmitRunnable2()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DRecursiveTaskTest.java52 () -> { return !isDone(); })) { in waitForCompletion()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java59 public boolean isDone() { in isDone() method in FutureTask

12