Home
last modified time | relevance | path

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

12

/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/ojluni/src/test/java/util/Random/
DRandomTest.java232 LongAdder counter = new LongAdder(); in testIntsCount() local
249 LongAdder counter = new LongAdder(); in testLongsCount() local
266 LongAdder counter = new LongAdder(); in testDoublesCount() local
343 LongAdder counter = new LongAdder(); in testUnsizedIntsCount() local
356 LongAdder counter = new LongAdder(); in testUnsizedLongsCount() local
369 LongAdder counter = new LongAdder(); in testUnsizedDoublesCount() local
382 LongAdder counter = new LongAdder(); in testUnsizedIntsCountSeq() local
395 LongAdder counter = new LongAdder(); in testUnsizedLongsCountSeq() local
408 LongAdder counter = new LongAdder(); in testUnsizedDoublesCountSeq() local
/libcore/ojluni/src/main/java/javax/crypto/spec/
DChaCha20ParameterSpec.java50 private final int counter; field in ChaCha20ParameterSpec
63 public ChaCha20ParameterSpec(byte[] nonce, int counter) { in ChaCha20ParameterSpec()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java1039 final AtomicLong counter = new AtomicLong(); in testCanBeCancelledEvenIfTaskKeepsItPermanentlyBusy() local
1077 final AtomicLong counter = new AtomicLong(); in testTaskNotCancelledWhenTimerCancelled() local
1099 final AtomicLong counter = new AtomicLong(); in testTaskNotCancelledWhenTimerCancelledAndPurged() local
1121 private final AtomicLong counter; field in TimerTest.IncrementCounterTaskAndPossiblyThrowAfter
1127 AtomicLong counter, int incrementAmount, boolean willThrow) { in IncrementCounterTaskAndPossiblyThrowAfter()
1166 final AtomicLong counter = new AtomicLong(); in testTimerCancelledAfterException() local
1223 final AtomicLong counter = new AtomicLong(); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge() local
/libcore/luni/src/test/java/tests/javax/crypto/spec/
DChaCha20ParameterSpecTest.java40 int counter = 1234567890; in constructor_withValidValues() local
/libcore/ojluni/annotations/flagged_api/javax/crypto/spec/
DChaCha20ParameterSpec.annotated.java33 public ChaCha20ParameterSpec(byte[] nonce, int counter) { throw new RuntimeException("Stub!"); } in ChaCha20ParameterSpec()
/libcore/luni/src/test/java/libcore/dalvik/system/
DZipPathValidatorTest.java88 int counter = 0; in testZipFileCallback() local
113 int counter = 0; in testZipInputStreamCallback() local
/libcore/ojluni/src/test/java/util/Timer/
DAutoStop.java40 static volatile int counter = 0; field in AutoStop
DArgs.java62 TimerTask counter(final CountDownLatch latch) { in counter() method in Args
/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/lang/StackWalker/
DWalkFunction.java110 private static <T> Function<Stream<T>, Long> counter() { in counter() method
DVerifyStackTrace.java283 public void recordSTE(long counter, StringBuilder s, StackFrame f) { in recordSTE()
296 final AtomicLong counter = new AtomicLong(); in test() local
/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
/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/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/main/java/java/security/
DSecureRandom.java1116 private long counter; field in SecureRandom

12