Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DPhaser.java286 int counts = (int)s; in unarrivedOf() local
287 return (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in unarrivedOf()
299 int counts = (int)s; in arrivedOf() local
300 return (counts == EMPTY) ? 0 : in arrivedOf()
301 (counts >>> PARTIES_SHIFT) - (counts & UNARRIVED_MASK); in arrivedOf()
359 int counts = (int)s; in doArrive() local
360 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in doArrive()
405 int counts = (int)s; in doRegister() local
406 int parties = counts >>> PARTIES_SHIFT; in doRegister()
407 int unarrived = counts & UNARRIVED_MASK; in doRegister()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicLongArrayTest.java274 volatile long counts; field in AtomicLongArrayTest.Counter
285 ++counts; in realRun()
310 assertEquals(c1.counts+c2.counts, SIZE * COUNTDOWN); in testCountingInMultipleThreads()
DAtomicIntegerArrayTest.java274 volatile int counts; field in AtomicIntegerArrayTest.Counter
285 ++counts; in realRun()
310 assertEquals(c1.counts+c2.counts, SIZE * COUNTDOWN); in testCountingInMultipleThreads()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java771 int counts[] = new int[datasNames.length]; in genNames() local
787 String val = getData(j, counts[j]); in genNames()
791 String val = getData(j, counts[j]); in genNames()
804 if (inc(counts, datas.length)) { in genNames()
/libcore/dalvik/src/main/java/dalvik/system/
DVMDebug.java271 public static native void getInstructionCount(int[] counts); in getInstructionCount() argument