/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicReferenceTest.java | 11 import java.util.concurrent.atomic.AtomicReference; 31 AtomicReference ai = new AtomicReference(one); in testConstructor() 39 AtomicReference ai = new AtomicReference(); in testConstructor2() 47 AtomicReference ai = new AtomicReference(one); in testGetSet() 59 AtomicReference ai = new AtomicReference(one); in testGetLazySet() 71 AtomicReference ai = new AtomicReference(one); in testCompareAndSet() 86 final AtomicReference ai = new AtomicReference(one); in testCompareAndSetInMultipleThreads() 105 AtomicReference ai = new AtomicReference(one); in testWeakCompareAndSet() 117 AtomicReference ai = new AtomicReference(one); in testGetAndSet() 127 AtomicReference x = new AtomicReference(); in testSerialization() [all …]
|
D | Atomic8Test.java | 16 import java.util.concurrent.atomic.AtomicReference; 160 AtomicReference<Integer> a = new AtomicReference<Integer>(one); in testReferenceGetAndUpdate() 171 AtomicReference<Integer> a = new AtomicReference<Integer>(one); in testReferenceUpdateAndGet() 182 AtomicReference<Integer> a = new AtomicReference<Integer>(one); in testReferenceGetAndAccumulate() 193 AtomicReference<Integer> a = new AtomicReference<Integer>(one); in testReferenceAccumulateAndGet() 504 () -> new AtomicReference().getAndUpdate(null), in testGetAndUpdateNPE() 525 () -> new AtomicReference().updateAndGet(null), in testUpdateAndGetNPE() 544 () -> new AtomicReference().getAndAccumulate(one, null), in testGetAndAccumulateNPE() 563 () -> new AtomicReference().accumulateAndGet(one, null), in testAccumulateAndGetNPE()
|
D | ThreadLocalRandomTest.java | 11 import java.util.concurrent.atomic.AtomicReference; 315 final AtomicReference<ThreadLocalRandom> threadLocalRandom = 316 new AtomicReference<ThreadLocalRandom>();
|
D | JSR166TestCase.java | 55 import java.util.concurrent.atomic.AtomicReference; 617 private final AtomicReference<Throwable> threadFailure 618 = new AtomicReference<Throwable>(null);
|
D | CompletableFutureTest.java | 38 import java.util.concurrent.atomic.AtomicReference; 3350 AtomicReference<Throwable> r = new AtomicReference<Throwable>(); in testCompletedStage() 3428 AtomicReference<Throwable> r = new AtomicReference<Throwable>(); in testMinimalCompletionStage() 3445 AtomicReference<Throwable> r = new AtomicReference<Throwable>(); in testMinimalCompletionStage2() 3463 AtomicReference<Throwable> r = new AtomicReference<Throwable>(); in testFailedStage() 3835 AtomicReference<Throwable> firstFailure = new AtomicReference<>(null);
|
D | CountedCompleterTest.java | 20 import java.util.concurrent.atomic.AtomicReference; 217 final AtomicReference<Object> rawResult = new AtomicReference<Object>(null);
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicReference.java | 20 public class AtomicReference<V> implements java.io.Serializable { class 29 (AtomicReference.class.getDeclaredField("value")); 42 public AtomicReference(V initialValue) { in AtomicReference() method in AtomicReference 49 public AtomicReference() { in AtomicReference() method in AtomicReference
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OptionalTest.java | 24 import java.util.concurrent.atomic.AtomicReference; 77 final AtomicReference<String> reference = new AtomicReference<>(); in testIfPresent() 102 final AtomicReference<String> reference = new AtomicReference<>(); in testFilter() 116 final AtomicReference<String> reference = new AtomicReference<>(); in testMap() 137 final AtomicReference<String> reference = new AtomicReference<>(); in testFlatMap()
|
D | OptionalDoubleTest.java | 26 import java.util.concurrent.atomic.AtomicReference; 55 final AtomicReference<Double> reference = new AtomicReference<>(); in testIfPresent()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | AbstractShortCircuitTask.java | 28 import java.util.concurrent.atomic.AtomicReference; 50 protected final AtomicReference<R> sharedResult; 71 sharedResult = new AtomicReference<>(null); in AbstractShortCircuitTask() 107 AtomicReference<R> sr = sharedResult; in compute()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Phaser.java | 9 import java.util.concurrent.atomic.AtomicReference; 319 private final AtomicReference<QNode> evenQ; 320 private final AtomicReference<QNode> oddQ; 322 private AtomicReference<QNode> queueFor(int phase) { in queueFor() 534 this.evenQ = new AtomicReference<QNode>(); in Phaser() 535 this.oddQ = new AtomicReference<QNode>(); in Phaser() 942 AtomicReference<QNode> head = (phase & 1) == 0 ? evenQ : oddQ; in releaseWaiters() 963 AtomicReference<QNode> head = (phase & 1) == 0 ? evenQ : oddQ; in abortWait() 1025 AtomicReference<QNode> head = (phase & 1) == 0 ? evenQ : oddQ; in internalAwaitAdvance()
|
D | ConcurrentHashMap.java | 24 import java.util.concurrent.atomic.AtomicReference; 3735 searchFunction, new AtomicReference<U>()).invoke(); in search() 3902 searchFunction, new AtomicReference<U>()).invoke(); in searchKeys() 4089 searchFunction, new AtomicReference<U>()).invoke(); in searchValues() 4273 searchFunction, new AtomicReference<U>()).invoke(); in searchEntries() 5185 final AtomicReference<U> result; 5189 AtomicReference<U> result) { in SearchKeysTask() 5196 final AtomicReference<U> result; in compute() 5229 final AtomicReference<U> result; 5233 AtomicReference<U> result) { in SearchValuesTask() [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | Streams.java | 27 import java.util.concurrent.atomic.AtomicReference; 30 private static AtomicReference<byte[]> skipBuffer = new AtomicReference<byte[]>();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ObservableTest.java | 23 import java.util.concurrent.atomic.AtomicReference; 242 final AtomicReference<Observable> updated = new AtomicReference<>(); in test_observableWithOverridenHasChanged()
|
D | TimerTest.java | 28 import java.util.concurrent.atomic.AtomicReference; 968 final AtomicReference<Thread> threadRef = new AtomicReference<Thread>(); in testThrowingTaskKillsTimerThread()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectorTest.java | 32 import java.util.concurrent.atomic.AtomicReference; 358 final AtomicReference<Throwable> failure = new AtomicReference<Throwable>();
|
D | DatagramChannelTest.java | 38 import java.util.concurrent.atomic.AtomicReference; 2534 … final AtomicReference<Exception> killerThreadException = new AtomicReference<Exception>(null); in test_concurrentShutdown()
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 42 import java.util.concurrent.atomic.AtomicReference; 469 final AtomicReference<Exception> killerThreadException = new AtomicReference<Exception>(null); in test_recvfrom_concurrentShutdown()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLConnectionTest.java | 68 import java.util.concurrent.atomic.AtomicReference; 2382 final AtomicReference<URI> uriReference = new AtomicReference<URI>(); 2878 final AtomicReference<String> hostNameUsed = new AtomicReference<>(null);
|
/libcore/ |
D | non_openjdk_java_files.mk | 152 luni/src/main/java/java/util/concurrent/atomic/AtomicReference.java \
|