Home
last modified time | relevance | path

Searched refs:incrementAndGet (Results 1 – 25 of 54) sorted by relevance

123

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSequentialOpTest.java59 … (UnaryOperator<Stream<Integer>>) s -> s.peek(e -> { counter.incrementAndGet(); }), in testLazy()
60 …(UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).sequenti… in testLazy()
61 …(UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).parallel… in testLazy()
63 counter.incrementAndGet(); in testLazy()
65 …rator<Stream<Integer>>) s -> s.parallel().map(id).peek(e -> { counter.incrementAndGet(); }).map(id) in testLazy()
DFlatMapOpTest.java158 peek(i -> count.incrementAndGet()). in testOpsShortCircuit()
192 peek(i -> count.incrementAndGet()). in testIntOpsShortCircuit()
198 peek(i -> count.incrementAndGet()). in testIntOpsShortCircuit()
229 peek(i -> count.incrementAndGet()). in testLongOpsShortCircuit()
235 peek(i -> count.incrementAndGet()). in testLongOpsShortCircuit()
266 peek(i -> count.incrementAndGet()). in testDoubleOpsShortCircuit()
272 peek(i -> count.incrementAndGet()). in testDoubleOpsShortCircuit()
/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicLongTest.java191 assertEquals(2, ai.incrementAndGet()); in testIncrementAndGet()
194 assertEquals(-1, ai.incrementAndGet()); in testIncrementAndGet()
195 assertEquals(0, ai.incrementAndGet()); in testIncrementAndGet()
196 assertEquals(1, ai.incrementAndGet()); in testIncrementAndGet()
DAtomicIntegerTest.java189 assertEquals(2, ai.incrementAndGet()); in testIncrementAndGet()
192 assertEquals(-1, ai.incrementAndGet()); in testIncrementAndGet()
193 assertEquals(0, ai.incrementAndGet()); in testIncrementAndGet()
194 assertEquals(1, ai.incrementAndGet()); in testIncrementAndGet()
DAtomicIntegerFieldUpdaterTest.java332 assertEquals(2, a.incrementAndGet(this)); in testIncrementAndGet()
335 assertEquals(-1, a.incrementAndGet(this)); in testIncrementAndGet()
336 assertEquals(0, a.incrementAndGet(this)); in testIncrementAndGet()
337 assertEquals(1, a.incrementAndGet(this)); in testIncrementAndGet()
DAtomicLongFieldUpdaterTest.java332 assertEquals(2, a.incrementAndGet(this)); in testIncrementAndGet()
335 assertEquals(-1, a.incrementAndGet(this)); in testIncrementAndGet()
336 assertEquals(0, a.incrementAndGet(this)); in testIncrementAndGet()
337 assertEquals(1, a.incrementAndGet(this)); in testIncrementAndGet()
DAtomicLongArrayTest.java271 assertEquals(2, aa.incrementAndGet(i)); in testIncrementAndGet()
274 assertEquals(-1, aa.incrementAndGet(i)); in testIncrementAndGet()
275 assertEquals(0, aa.incrementAndGet(i)); in testIncrementAndGet()
276 assertEquals(1, aa.incrementAndGet(i)); in testIncrementAndGet()
DAtomicIntegerArrayTest.java272 assertEquals(2, aa.incrementAndGet(i)); in testIncrementAndGet()
275 assertEquals(-1, aa.incrementAndGet(i)); in testIncrementAndGet()
276 assertEquals(0, aa.incrementAndGet(i)); in testIncrementAndGet()
277 assertEquals(1, aa.incrementAndGet(i)); in testIncrementAndGet()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicLongTest.java214 assertEquals(2, ai.incrementAndGet()); in testIncrementAndGet()
217 assertEquals(-1, ai.incrementAndGet()); in testIncrementAndGet()
218 assertEquals(0, ai.incrementAndGet()); in testIncrementAndGet()
219 assertEquals(1, ai.incrementAndGet()); in testIncrementAndGet()
DAtomicIntegerTest.java212 assertEquals(2, ai.incrementAndGet()); in testIncrementAndGet()
215 assertEquals(-1, ai.incrementAndGet()); in testIncrementAndGet()
216 assertEquals(0, ai.incrementAndGet()); in testIncrementAndGet()
217 assertEquals(1, ai.incrementAndGet()); in testIncrementAndGet()
DAtomicIntegerFieldUpdaterTest.java355 assertEquals(2, a.incrementAndGet(this)); in testIncrementAndGet()
358 assertEquals(-1, a.incrementAndGet(this)); in testIncrementAndGet()
359 assertEquals(0, a.incrementAndGet(this)); in testIncrementAndGet()
360 assertEquals(1, a.incrementAndGet(this)); in testIncrementAndGet()
DAtomicLongFieldUpdaterTest.java355 assertEquals(2, a.incrementAndGet(this)); in testIncrementAndGet()
358 assertEquals(-1, a.incrementAndGet(this)); in testIncrementAndGet()
359 assertEquals(0, a.incrementAndGet(this)); in testIncrementAndGet()
360 assertEquals(1, a.incrementAndGet(this)); in testIncrementAndGet()
DAtomicIntegerArrayTest.java295 assertEquals(2, aa.incrementAndGet(i)); in testIncrementAndGet()
298 assertEquals(-1, aa.incrementAndGet(i)); in testIncrementAndGet()
299 assertEquals(0, aa.incrementAndGet(i)); in testIncrementAndGet()
300 assertEquals(1, aa.incrementAndGet(i)); in testIncrementAndGet()
DAtomicLongArrayTest.java294 assertEquals(2, aa.incrementAndGet(i)); in testIncrementAndGet()
297 assertEquals(-1, aa.incrementAndGet(i)); in testIncrementAndGet()
298 assertEquals(0, aa.incrementAndGet(i)); in testIncrementAndGet()
299 assertEquals(1, aa.incrementAndGet(i)); in testIncrementAndGet()
/libcore/ojluni/src/main/java/sun/net/
DResourceManager.java71 if (numSockets.incrementAndGet() > maxSockets) { in beforeUdpCreate()
/libcore/ojluni/src/test/java/util/Collections/
DSingletonIterator.java59 cnt.incrementAndGet(); in testForEachRemaining()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousChannelGroupImpl.java133 threadCount.incrementAndGet();
141 threadCount.incrementAndGet();
/libcore/benchmarks/src/benchmarks/regression/
DMutableIntBenchmark.java56 value.incrementAndGet(); in ATOMIC()
/libcore/ojluni/src/test/java/lang/StackWalker/
DMultiThreadStackWalk.java156 maxReached.incrementAndGet(); in consume()
255 env.markerCalled.incrementAndGet(); in call()
327 super("WalkThread[" + walkersCount.incrementAndGet() + ", type=" in WalkThread()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/
DAtomicInteger.java87 public final int incrementAndGet() { in incrementAndGet() method in AtomicInteger
/libcore/libart/src/main/java/java/lang/
DDaemons.java249 progressCounter.incrementAndGet(); in runInternal()
253 progressCounter.incrementAndGet(); in runInternal()
616 if (observedReferenceQueueTimeouts.incrementAndGet() in waitForProgress()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerFieldUpdater.java235 public int incrementAndGet(T obj) { in incrementAndGet() method in AtomicIntegerFieldUpdater
549 public final int incrementAndGet(T obj) { in incrementAndGet() method in AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl
/libcore/luni/src/test/java/libcore/java/lang/ref/
DFinalizeTest.java146 int count = counter.incrementAndGet(); in createChainedFinalizer()
/libcore/benchmarks/src/benchmarks/
DReferenceBenchmark.java101 count.incrementAndGet(); in finalize()
/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java107 actionCount.incrementAndGet(); in assertActionRun()

123