Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorTest.java118 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
131 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
136 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
358 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
363 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
402 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
407 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
426 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
431 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
516 final CountDownLatch done = new CountDownLatch(1); in testIsTerminated() local
[all …]
DScheduledExecutorTest.java77 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
92 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
113 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
133 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
155 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
186 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
217 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
362 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
364 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
427 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
[all …]
DThreadPoolExecutorSubclassTest.java79 boolean done; field in ThreadPoolExecutorSubclassTest.CustomTask
265 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
278 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
283 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
505 final CountDownLatch done = new CountDownLatch(1); in testGetLargestPoolSize() local
510 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetLargestPoolSize() argument
549 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
554 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetPoolSize() argument
573 final CountDownLatch done = new CountDownLatch(1); in testGetTaskCount() local
578 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetTaskCount() argument
[all …]
DScheduledExecutorSubclassTest.java134 final CountDownLatch done = new CountDownLatch(1); in testExecute() local
146 final CountDownLatch done = new CountDownLatch(1); in testSchedule1() local
148 try (PoolCleaner cleaner = cleaner(p, done)) { in testSchedule1() argument
169 final CountDownLatch done = new CountDownLatch(1); in testSchedule3() local
189 final CountDownLatch done = new CountDownLatch(1); in testSchedule4() local
211 final CountDownLatch done = new CountDownLatch(1); in testSchedule5() local
242 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence() local
273 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence() local
418 final CountDownLatch done = new CountDownLatch(1); in testGetActiveCount() local
420 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument
[all …]
DExecutorCompletionServiceTest.java223 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForCallable() local
226 @Override protected void done() { done.set(true); } in testNewTaskForCallable() method in ExecutorCompletionServiceTest.MyCallableFuture
253 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForRunnable() local
256 @Override protected void done() { done.set(true); } in testNewTaskForRunnable() method in ExecutorCompletionServiceTest.MyRunnableFuture
DExecutorsTest.java332 final CountDownLatch done = new CountDownLatch(1); in testDefaultThreadFactory() local
365 final CountDownLatch done = new CountDownLatch(1); in testPrivilegedThreadFactory() local
DCyclicBarrierTest.java327 final AtomicBoolean done = new AtomicBoolean(); in testReset_Leakage() local
/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
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java244 break done; in longAccumulate() local
281 break done; in longAccumulate() local
290 break done; in longAccumulate() local
328 break done; in doubleAccumulate() local
364 break done; in doubleAccumulate() local
372 break done; in doubleAccumulate() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFutureLikeCompletionHandler.java24 boolean done; field in FutureLikeCompletionHandler
/libcore/ojluni/src/main/java/sun/util/locale/
DStringTokenIterator.java41 private boolean done; field in StringTokenIterator
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java123 protected void done() { completionQueue.add(task); } in done() method in ExecutorCompletionService.QueueingFuture
DFutureTask.java219 protected void done() { } in done() method in FutureTask
/libcore/ojluni/src/main/java/javax/crypto/
DCipherInputStream.java84 private boolean done = false; field in CipherInputStream
DExemptionMechanism.java64 private boolean done = false; field in ExemptionMechanism
/libcore/luni/src/test/java/libcore/java/lang/
DSystemTest.java135 final AtomicBoolean done = new AtomicBoolean(); in testArrayCopyConcurrentModification() local
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java77 protected void done() { in done() method in FutureTask
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java187 final CountDownLatch done = new CountDownLatch(1); in testAddAllIsAtomic() local

12