Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DArrayPrefixHelpers.java164 if (rt.compareAndSetPendingCount(c, c|CUMULATE)){ in compute()
173 if (lt.compareAndSetPendingCount(c, c|CUMULATE)) { in compute()
193 if (t.compareAndSetPendingCount(b, b|state)) in compute()
241 par.compareAndSetPendingCount(b, nextState)) { in compute()
248 else if (par.compareAndSetPendingCount(b, b|state)) in compute()
316 if (rt.compareAndSetPendingCount(c, c|CUMULATE)){ in compute()
325 if (lt.compareAndSetPendingCount(c, c|CUMULATE)) { in compute()
345 if (t.compareAndSetPendingCount(b, b|state)) in compute()
391 par.compareAndSetPendingCount(b, nextState)) { in compute()
398 else if (par.compareAndSetPendingCount(b, b|state)) in compute()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountedCompleter.java538 public final boolean compareAndSetPendingCount(int expected, int count) { in compareAndSetPendingCount() method in CountedCompleter
/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));