Home
last modified time | relevance | path

Searched refs:compareAndSetPendingCount (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DArrayPrefixHelpers.java169 if (rt.compareAndSetPendingCount(c, c|CUMULATE)){ in compute()
178 if (lt.compareAndSetPendingCount(c, c|CUMULATE)) { in compute()
198 if (t.compareAndSetPendingCount(b, b|state)) in compute()
246 par.compareAndSetPendingCount(b, nextState)) { in compute()
253 else if (par.compareAndSetPendingCount(b, b|state)) in compute()
323 if (rt.compareAndSetPendingCount(c, c|CUMULATE)){ in compute()
332 if (lt.compareAndSetPendingCount(c, c|CUMULATE)) { in compute()
352 if (t.compareAndSetPendingCount(b, b|state)) in compute()
398 par.compareAndSetPendingCount(b, nextState)) { in compute()
405 else if (par.compareAndSetPendingCount(b, b|state)) in compute()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountedCompleter.java552 public final boolean compareAndSetPendingCount(int expected, int count) { in compareAndSetPendingCount() method in CountedCompleter
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCountedCompleterTest.java417 assertTrue(a.compareAndSetPendingCount(0, 1));
419 assertTrue(a.compareAndSetPendingCount(1, 2));
421 assertFalse(a.compareAndSetPendingCount(1, 3));
/libcore/jsr166-tests/src/test/java/jsr166/
DCountedCompleterTest.java392 assertTrue(a.compareAndSetPendingCount(0, 1));
394 assertTrue(a.compareAndSetPendingCount(1, 2));
396 assertFalse(a.compareAndSetPendingCount(1, 3));
/libcore/api/
Dcurrent.txt15823 method public final boolean compareAndSetPendingCount(int, int);