Home
last modified time | relevance | path

Searched defs:counter (Results 1 – 21 of 21) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalRandom8Test.java76 LongAdder counter = new LongAdder(); in testIntsCount() local
91 LongAdder counter = new LongAdder(); in testLongsCount() local
106 LongAdder counter = new LongAdder(); in testDoublesCount() local
178 LongAdder counter = new LongAdder(); in testUnsizedIntsCount() local
189 LongAdder counter = new LongAdder(); in testUnsizedLongsCount() local
200 LongAdder counter = new LongAdder(); in testUnsizedDoublesCount() local
211 LongAdder counter = new LongAdder(); in testUnsizedIntsCountSeq() local
222 LongAdder counter = new LongAdder(); in testUnsizedLongsCountSeq() local
233 LongAdder counter = new LongAdder(); in testUnsizedDoublesCountSeq() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadLocalRandom8Test.java99 LongAdder counter = new LongAdder(); in testIntsCount() local
114 LongAdder counter = new LongAdder(); in testLongsCount() local
129 LongAdder counter = new LongAdder(); in testDoublesCount() local
201 LongAdder counter = new LongAdder(); in testUnsizedIntsCount() local
212 LongAdder counter = new LongAdder(); in testUnsizedLongsCount() local
223 LongAdder counter = new LongAdder(); in testUnsizedDoublesCount() local
234 LongAdder counter = new LongAdder(); in testUnsizedIntsCountSeq() local
245 LongAdder counter = new LongAdder(); in testUnsizedLongsCountSeq() local
256 LongAdder counter = new LongAdder(); in testUnsizedDoublesCountSeq() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java1031 final AtomicLong counter = new AtomicLong(); in testCanBeCancelledEvenIfTaskKeepsItPermanentlyBusy() local
1069 final AtomicLong counter = new AtomicLong(); in testTaskNotCancelledWhenTimerCancelled() local
1091 final AtomicLong counter = new AtomicLong(); in testTaskNotCancelledWhenTimerCancelledAndPurged() local
1113 private final AtomicLong counter; field in TimerTest.IncrementCounterTaskAndPossiblyThrowAfter
1119 AtomicLong counter, int incrementAmount, boolean willThrow) { in IncrementCounterTaskAndPossiblyThrowAfter()
1158 final AtomicLong counter = new AtomicLong(); in testTimerCancelledAfterException() local
1215 final AtomicLong counter = new AtomicLong(); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge() local
DScannerTest.java5545 int counter = 0; in test_nextLine() field in ScannerTest.CountReadable
/libcore/ojluni/src/test/java/lang/invoke/
DCountedLoopIterationCountsTest.java74 static int step(int stepCount, int counter) { in step()
DJavaDocExamplesTest.java821 static String step(String v, int counter, String start_) { return "na " + v; } //#0 in step()
822 static String step(String v, int counter ) { return "na " + v; } //#1 in step()
823 …static String step(String v, int counter, int iterations_, String pre, String start_) { return pre… in step()
824 static String step3(String v, int counter, String pre) { return pre + " " + v; } //#3 in step3()
DLoopCombinatorTest.java1186 static String step(String v, int counter) { in step()
1190 static void stepUpdateArray(int counter, int[] a) { in stepUpdateArray()
1194 static void printHello(int counter) { in printHello()
1198 static int addCounter(int x, int counter) { in addCounter()
1202 static String stateBody(String s, int counter) { in stateBody()
1206 static String append(String localState, int counter, String loopArg) { in append()
/libcore/luni/src/test/java/tests/security/
DSecureRandomTest.java31 private int counter = 0; field in SecureRandomTest
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSequentialOpTest.java55 AtomicInteger counter = new AtomicInteger(); in testLazy() local
/libcore/luni/src/test/java/libcore/java/lang/ref/
DFinalizeTest.java143 public void createChainedFinalizer(final AtomicInteger counter, final AtomicBoolean keepGoing) { in createChainedFinalizer()
/libcore/luni/src/test/java/tests/java/sql/
DSelectFunctionalityTest.java133 int counter = 0; in test_SelectSimple() local
196 int counter = 0; in test_SelectPrepared() local
DDatabaseMetaDataTest.java2397 int counter = 0; in escapedFunctions() local
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketImplFactoryTest.java66 int counter = 0; in setUp() local
DOldDatagramSocketImplFactoryTest.java85 int counter = 0; in setUp() local
DOldURLTest.java110 int counter = 0; in testSetURLStreamHandlerFactory() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java288 public int counter = 0; field in OldThreadTest.Counter
/libcore/ojluni/src/main/java/java/security/
DSecureRandom.java698 private long counter; field in SecureRandom
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPrintStreamTest.java671 CountFlushOutputStream counter = new CountFlushOutputStream(new ByteArrayOutputStream()); in test_autoFlush_flushesEverything() local
696 CountFlushOutputStream counter = new CountFlushOutputStream(new ByteArrayOutputStream()); in test_noAutoFlush() local
/libcore/ojluni/src/test/java/nio/channels/Selector/
DSelectWithConsumer.java209 var counter = new AtomicInteger(); in testTwoChannels() local
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternTest.java899 int counter = 0; in testNewLine() local
929 int counter = 0; in testSOLQuant() local
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java5465 public static boolean countedLoopPredicate(int limit, int counter) { in countedLoopPredicate()
5479 public static int countedLoopStep(int limit, int counter) { in countedLoopStep()