Home
last modified time | relevance | path

Searched defs:done (Results 1 – 25 of 31) 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 …]
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/ojluni/src/test/java/util/concurrent/tck/
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 …]
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
DForkJoinPoolTest.java239 final CountDownLatch done = new CountDownLatch(1); in testGetPoolSize() local
447 final AtomicBoolean done = new AtomicBoolean(false); in testExecuteRunnable() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFutureLikeCompletionHandler.java24 boolean done; field in FutureLikeCompletionHandler
DOldSocketChannelTest.java344 public static boolean done = false; field in OldSocketChannelTest
/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/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/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/luni/src/test/java/libcore/java/lang/
DSystemTest.java135 final AtomicBoolean done = new AtomicBoolean(); in testArrayCopyConcurrentModification() local
DThreadTest.java578 public volatile boolean done; field in WakeupTestThread
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java77 protected void done() { in done() method in FutureTask
/libcore/luni/src/test/java/libcore/dalvik/system/
DInMemoryDexClassLoaderTest.java109 int done = 0; in readFileToByteBufferDirect() local

12