/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicBooleanTest.java | 11 import java.util.concurrent.atomic.AtomicBoolean; 31 assertTrue(new AtomicBoolean(true).get()); in testConstructor() 32 assertFalse(new AtomicBoolean(false).get()); in testConstructor() 39 AtomicBoolean ai = new AtomicBoolean(); in testConstructor2() 47 AtomicBoolean ai = new AtomicBoolean(true); in testGetSet() 59 AtomicBoolean ai = new AtomicBoolean(true); in testGetLazySet() 71 AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSet() 87 final AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSetInMultipleThreads() 104 AtomicBoolean ai = new AtomicBoolean(true); in testWeakCompareAndSet() 117 AtomicBoolean ai = new AtomicBoolean(true); in testGetAndSet() [all …]
|
D | ExecutorCompletionServiceTest.java | 23 import java.util.concurrent.atomic.AtomicBoolean; 162 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForCallable() 193 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForRunnable()
|
D | Collection8Test.java | 19 import java.util.concurrent.atomic.AtomicBoolean; 79 final AtomicBoolean done = new AtomicBoolean(false); in testForEachConcurrentStressTest()
|
D | LockSupportTest.java | 15 import java.util.concurrent.atomic.AtomicBoolean; 152 final AtomicBoolean pleasePark = new AtomicBoolean(false); in testParkAfterUnpark() 228 final AtomicBoolean pleasePark = new AtomicBoolean(false); in testParkAfterInterrupt()
|
D | CyclicBarrierTest.java | 17 import java.util.concurrent.atomic.AtomicBoolean; 306 final AtomicBoolean done = new AtomicBoolean(); in testReset_Leakage()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AtomicBooleanTest.java | 37 import java.util.concurrent.atomic.AtomicBoolean; 54 assertTrue(new AtomicBoolean(true).get()); in testConstructor() 55 assertFalse(new AtomicBoolean(false).get()); in testConstructor() 62 AtomicBoolean ai = new AtomicBoolean(); in testConstructor2() 70 AtomicBoolean ai = new AtomicBoolean(true); in testGetSet() 82 AtomicBoolean ai = new AtomicBoolean(true); in testGetLazySet() 94 AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSet() 110 final AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSetInMultipleThreads() 127 AtomicBoolean ai = new AtomicBoolean(true); in testWeakCompareAndSet() 140 AtomicBoolean ai = new AtomicBoolean(); in testGetAndSet() [all …]
|
D | ExecutorCompletionServiceTest.java | 51 import java.util.concurrent.atomic.AtomicBoolean; 223 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForCallable() 253 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForRunnable()
|
D | LockSupportTest.java | 41 import java.util.concurrent.atomic.AtomicBoolean; 176 final AtomicBoolean pleasePark = new AtomicBoolean(false); in testParkAfterUnpark() 252 final AtomicBoolean pleasePark = new AtomicBoolean(false); in testParkAfterInterrupt()
|
D | CyclicBarrierTest.java | 43 import java.util.concurrent.atomic.AtomicBoolean; 327 final AtomicBoolean done = new AtomicBoolean(); in testReset_Leakage()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | LongPredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 27 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 28 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 29 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean[] invocationState = { in testAnd() 78 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 79 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 80 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 81 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | DoublePredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 86 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 87 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 88 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 89 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | PredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 86 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 87 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 88 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 89 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | IntPredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 86 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 87 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 88 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 89 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | BiPredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 89 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 90 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 91 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 92 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | FinalizeTest.java | 20 import java.util.concurrent.atomic.AtomicBoolean; 27 AtomicBoolean finalized = new AtomicBoolean(); in testFinalizeIsCalled() 41 AtomicBoolean finalized1 = new AtomicBoolean(); in testInducedFinalization() 42 AtomicBoolean finalized2 = new AtomicBoolean(); in testInducedFinalization() 52 private X createFinalizableObject(final AtomicBoolean finalized) { in createFinalizableObject() 136 AtomicBoolean keepGoing = new AtomicBoolean(true); in testSystemRunFinalizationReturnsEvenIfQueueIsNonEmpty() 143 public void createChainedFinalizer(final AtomicInteger counter, final AtomicBoolean keepGoing) { in createChainedFinalizer()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicBoolean.java | 49 public class AtomicBoolean implements java.io.Serializable { class 58 (AtomicBoolean.class.getDeclaredField("value")); 71 public AtomicBoolean(boolean initialValue) { in AtomicBoolean() method in AtomicBoolean 78 public AtomicBoolean() { in AtomicBoolean() method in AtomicBoolean
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractSelector.java | 34 import java.util.concurrent.atomic.AtomicBoolean; 73 private AtomicBoolean selectorOpen = new AtomicBoolean(true);
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | AbstractCollectionTest.java | 23 import java.util.concurrent.atomic.AtomicBoolean; 31 final AtomicBoolean finished = new AtomicBoolean(false); in test_toArray()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | AbstractExecutorServiceTest.java | 29 import java.util.concurrent.atomic.AtomicBoolean; 75 AtomicBoolean didRun = new AtomicBoolean(false); in testSubmitRunnableWithValue()
|
D | ForkJoinPoolTest.java | 26 import java.util.concurrent.atomic.AtomicBoolean; 55 final AtomicBoolean stop = new AtomicBoolean(false); in testGetRunningThreadCount()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DistinctOps.java | 33 import java.util.concurrent.atomic.AtomicBoolean; 81 AtomicBoolean seenNull = new AtomicBoolean(false); in makeRef()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AsynchronousChannelGroupImpl.java | 36 import java.util.concurrent.atomic.AtomicBoolean; 68 private final AtomicBoolean shutdown = new AtomicBoolean();
|
D | UnixAsynchronousServerSocketChannelImpl.java | 33 import java.util.concurrent.atomic.AtomicBoolean; 55 private final AtomicBoolean accepting = new AtomicBoolean();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | SystemTest.java | 28 import java.util.concurrent.atomic.AtomicBoolean; 135 final AtomicBoolean done = new AtomicBoolean(); in testArrayCopyConcurrentModification()
|
D | ThreadTest.java | 34 import java.util.concurrent.atomic.AtomicBoolean; 431 AtomicBoolean afterPark = new AtomicBoolean(false); in parkUntilWithUnderflowValue() 432 AtomicBoolean wasParkedForLongTime = new AtomicBoolean(false); in parkUntilWithUnderflowValue()
|