Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java272 Counter [] countersNotYeld = new Counter[10]; in test_yield()
275 countersNotYeld[i] = new Counter(false); in test_yield()
277 Counter countersYeld = new Counter(true); in test_yield()
282 for(Counter c:countersNotYeld) { in test_yield()
287 class Counter extends Thread { class in OldThreadTest
291 public Counter(boolean isDoYield) { in Counter() method in OldThreadTest.Counter
/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicIntegerArrayTest.java282 class Counter extends CheckedRunnable { class in AtomicIntegerArrayTest
285 Counter(AtomicIntegerArray a) { aa = a; } in Counter() method in AtomicIntegerArrayTest.Counter
313 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()
314 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
DAtomicLongArrayTest.java281 class Counter extends CheckedRunnable { class in AtomicLongArrayTest
284 Counter(AtomicLongArray a) { aa = a; } in Counter() method in AtomicLongArrayTest.Counter
312 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()
313 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
DFutureTaskTest.java227 class Counter extends CheckedRunnable { class in FutureTaskTest