Home
last modified time | relevance | path

Searched defs:done (Results 1 – 25 of 26) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java96 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
109 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
114 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
336 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
341 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
380 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
385 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
404 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
409 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
494 final CountDownLatch done = new CountDownLatch(1); in testIsTerminated() local
[all …]
DScheduledExecutorTest.java55 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
70 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
91 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
111 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
133 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
164 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
195 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
340 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
342 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
405 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
[all …]
DThreadPoolExecutorSubclassTest.java57 boolean done; field in ThreadPoolExecutorSubclassTest.CustomTask
243 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
256 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
261 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
483 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
488 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
527 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
532 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
551 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
556 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
[all …]
DScheduledExecutorSubclassTest.java112 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
124 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
126 try (PoolCleaner cleaner = cleaner(p, done)) { in testSchedule1() argument
147 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
167 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
189 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
220 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
251 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
396 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
398 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
[all …]
DExecutorCompletionServiceTest.java162 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForCallable() local
165 protected void done() { done.set(true); } in testNewTaskForCallable() method in ExecutorCompletionServiceTest.MyCallableFuture
193 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForRunnable() local
196 protected void done() { done.set(true); } in testNewTaskForRunnable() method in ExecutorCompletionServiceTest.MyRunnableFuture
DCollection8Test.java79 final AtomicBoolean done = new AtomicBoolean(false); in testForEachConcurrentStressTest() local
83 try (PoolCleaner cleaner = cleaner(pool, done)) { in testForEachConcurrentStressTest() argument
DExecutorsTest.java309 final CountDownLatch done = new CountDownLatch(1); in testDefaultThreadFactory() local
342 final CountDownLatch done = new CountDownLatch(1); in testPrivilegedThreadFactory() local
DCyclicBarrierTest.java306 final AtomicBoolean done = new AtomicBoolean(); in testReset_Leakage() local
DForkJoinPoolTest.java221 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
429 final AtomicBoolean done = new AtomicBoolean(false); in testExecuteRunnable() local
DAbstractExecutorServiceTest.java69 final AtomicBoolean done = new AtomicBoolean(false); in testExecuteRunnable() local
DAbstractQueuedLongSynchronizerTest.java570 final BooleanLatch done = new BooleanLatch(); in testGetState() local
DFutureTaskTest.java208 @Override public void done() { in done() method in FutureTaskTest.PublicFutureTask
DAbstractQueuedSynchronizerTest.java573 final BooleanLatch done = new BooleanLatch(); in testGetState() local
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DStriped64.java214 break done; in longAccumulate() local
251 break done; in longAccumulate() local
260 break done; in longAccumulate() local
298 break done; in doubleAccumulate() local
334 break done; in doubleAccumulate() local
342 break done; in doubleAccumulate() local
/libcore/ojluni/src/main/java/sun/util/locale/
DStringTokenIterator.java41 private boolean done; field in StringTokenIterator
DInternalLocaleBuilder.java316 Set<CaseInsensitiveChar> done = new HashSet<>(bcpExtensions.size()); in setExtensions() local
/libcore/luni/src/test/java/libcore/java/lang/
DSystemTest.java127 final AtomicBoolean done = new AtomicBoolean(); in testArrayCopyConcurrentModification() local
DThreadTest.java197 public boolean done; field in WakeupTestThread
/libcore/ojluni/src/main/java/javax/crypto/
DCipherInputStream.java80 private boolean done = false; field in CipherInputStream
DExemptionMechanism.java64 private boolean done = false; field in ExemptionMechanism
/libcore/luni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java94 protected void done() { completionQueue.add(task); } in done() method in ExecutorCompletionService.QueueingFuture
DFutureTask.java190 protected void done() { } in done() method in FutureTask
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java402 break done; in testGetJarEntry() local
407 break done; in testGetJarEntry() local
412 break done; in testGetJarEntry() local
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java178 final CountDownLatch done = new CountDownLatch(1); in testAddAllIsAtomic() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java344 public static boolean done = false; field in OldSocketChannelTest

12