Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 7 of 7) 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
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicIntegerArrayTest.java305 class Counter extends CheckedRunnable { class in AtomicIntegerArrayTest
308 Counter(AtomicIntegerArray a) { aa = a; } in Counter() method in AtomicIntegerArrayTest.Counter
336 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()
337 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
DAtomicLongArrayTest.java304 class Counter extends CheckedRunnable { class in AtomicLongArrayTest
307 Counter(AtomicLongArray a) { aa = a; } in Counter() method in AtomicLongArrayTest.Counter
335 Counter c1 = new Counter(aa); in testCountingInMultipleThreads()
336 Counter c2 = new Counter(aa); in testCountingInMultipleThreads()
DFutureTaskTest.java250 class Counter extends CheckedRunnable { class in FutureTaskTest