Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java314 int counts = (int)s; in unarrivedOf() local
315 return (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in unarrivedOf()
327 int counts = (int)s; in arrivedOf() local
328 return (counts == EMPTY) ? 0 : in arrivedOf()
329 (counts >>> PARTIES_SHIFT) - (counts & UNARRIVED_MASK); in arrivedOf()
387 int counts = (int)s; in doArrive() local
388 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in doArrive()
432 int counts = (int)s; in doRegister() local
433 int parties = counts >>> PARTIES_SHIFT; in doRegister()
434 int unarrived = counts & UNARRIVED_MASK; in doRegister()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicIntegerArrayTest.java284 volatile int counts; field in AtomicIntegerArrayTest.Counter
295 ++counts; in realRun()
321 assertEquals(c1.counts+c2.counts, SIZE * countdown); in testCountingInMultipleThreads()
DAtomicLongArrayTest.java283 volatile long counts; field in AtomicLongArrayTest.Counter
294 ++counts; in realRun()
320 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.java293 public static native void getInstructionCount(int[] counts); in getInstructionCount() argument
/libcore/
DLICENSE160 code from the same place counts as distribution of the source code, even though
/libcore/ojluni/
DNOTICE446 code from the same place counts as distribution of the source code, even though