Home
last modified time | relevance | path

Searched defs:ai (Results 1 – 25 of 29) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicIntegerTest.java35 AtomicInteger ai = new AtomicInteger(1); in testConstructor() local
43 AtomicInteger ai = new AtomicInteger(); in testConstructor2() local
51 AtomicInteger ai = new AtomicInteger(1); in testGetSet() local
63 AtomicInteger ai = new AtomicInteger(1); in testGetLazySet() local
75 AtomicInteger ai = new AtomicInteger(1); in testCompareAndSet() local
90 final AtomicInteger ai = new AtomicInteger(1); in testCompareAndSetInMultipleThreads() local
109 AtomicInteger ai = new AtomicInteger(1); in testWeakCompareAndSet() local
121 AtomicInteger ai = new AtomicInteger(1); in testGetAndSet() local
131 AtomicInteger ai = new AtomicInteger(1); in testGetAndAdd() local
142 AtomicInteger ai = new AtomicInteger(1); in testGetAndDecrement() local
[all …]
DAtomicLongTest.java37 AtomicLong ai = new AtomicLong(1); in testConstructor() local
45 AtomicLong ai = new AtomicLong(); in testConstructor2() local
53 AtomicLong ai = new AtomicLong(1); in testGetSet() local
65 AtomicLong ai = new AtomicLong(1); in testGetLazySet() local
77 AtomicLong ai = new AtomicLong(1); in testCompareAndSet() local
92 final AtomicLong ai = new AtomicLong(1); in testCompareAndSetInMultipleThreads() local
111 AtomicLong ai = new AtomicLong(1); in testWeakCompareAndSet() local
123 AtomicLong ai = new AtomicLong(1); in testGetAndSet() local
133 AtomicLong ai = new AtomicLong(1); in testGetAndAdd() local
144 AtomicLong ai = new AtomicLong(1); in testGetAndDecrement() local
[all …]
DAtomicReferenceTest.java31 AtomicReference ai = new AtomicReference(one); in testConstructor() local
39 AtomicReference ai = new AtomicReference(); in testConstructor2() local
47 AtomicReference ai = new AtomicReference(one); in testGetSet() local
59 AtomicReference ai = new AtomicReference(one); in testGetLazySet() local
71 AtomicReference ai = new AtomicReference(one); in testCompareAndSet() local
86 final AtomicReference ai = new AtomicReference(one); in testCompareAndSetInMultipleThreads() local
105 AtomicReference ai = new AtomicReference(one); in testWeakCompareAndSet() local
117 AtomicReference ai = new AtomicReference(one); in testGetAndSet() local
142 AtomicReference<Integer> ai = new AtomicReference<Integer>(one); in testToString() local
DAtomicBooleanTest.java39 AtomicBoolean ai = new AtomicBoolean(); in testConstructor2() local
47 AtomicBoolean ai = new AtomicBoolean(true); in testGetSet() local
59 AtomicBoolean ai = new AtomicBoolean(true); in testGetLazySet() local
71 AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSet() local
87 final AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSetInMultipleThreads() local
104 AtomicBoolean ai = new AtomicBoolean(true); in testWeakCompareAndSet() local
117 AtomicBoolean ai = new AtomicBoolean(true); in testGetAndSet() local
141 AtomicBoolean ai = new AtomicBoolean(); in testToString() local
DAtomicMarkableReferenceTest.java31 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testConstructor() local
44 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testGetSet() local
66 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testAttemptMark() local
80 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testCompareAndSet() local
103 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testCompareAndSetInMultipleThreads() local
123 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testCompareAndSetInMultipleThreads2() local
144 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testWeakCompareAndSet() local
DAtomicStampedReferenceTest.java31 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testConstructor() local
44 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testGetSet() local
66 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testAttemptStamp() local
80 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSet() local
103 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSetInMultipleThreads() local
123 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSetInMultipleThreads2() local
144 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testWeakCompareAndSet() local
DLongAdderTest.java32 LongAdder ai = new LongAdder(); in testConstructor() local
40 LongAdder ai = new LongAdder(); in testAddAndSum() local
51 LongAdder ai = new LongAdder(); in testDecrementAndsum() local
62 LongAdder ai = new LongAdder(); in testIncrementAndsum() local
73 LongAdder ai = new LongAdder(); in testReset() local
84 LongAdder ai = new LongAdder(); in testSumThenReset() local
110 LongAdder ai = new LongAdder(); in testToString() local
120 LongAdder ai = new LongAdder(); in testIntValue() local
130 LongAdder ai = new LongAdder(); in testLongValue() local
140 LongAdder ai = new LongAdder(); in testFloatValue() local
[all …]
DDoubleAccumulatorTest.java32 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testConstructor() local
40 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testAccumulateAndGet() local
53 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testReset() local
64 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testGetThenReset() local
75 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testToString() local
85 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testIntValue() local
95 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testLongValue() local
105 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testFloatValue() local
115 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testDoubleValue() local
DLongAccumulatorTest.java32 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testConstructor() local
40 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testAccumulateAndGet() local
53 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testReset() local
64 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testGetThenReset() local
75 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testToString() local
85 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testIntValue() local
95 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testLongValue() local
105 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testFloatValue() local
115 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testDoubleValue() local
DDoubleAdderTest.java32 DoubleAdder ai = new DoubleAdder(); in testConstructor() local
40 DoubleAdder ai = new DoubleAdder(); in testAddAndSum() local
51 DoubleAdder ai = new DoubleAdder(); in testReset() local
62 DoubleAdder ai = new DoubleAdder(); in testSumThenReset() local
87 DoubleAdder ai = new DoubleAdder(); in testToString() local
97 DoubleAdder ai = new DoubleAdder(); in testIntValue() local
107 DoubleAdder ai = new DoubleAdder(); in testLongValue() local
117 DoubleAdder ai = new DoubleAdder(); in testFloatValue() local
127 DoubleAdder ai = new DoubleAdder(); in testDoubleValue() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicIntegerTest.java58 AtomicInteger ai = new AtomicInteger(1); in testConstructor() local
66 AtomicInteger ai = new AtomicInteger(); in testConstructor2() local
74 AtomicInteger ai = new AtomicInteger(1); in testGetSet() local
86 AtomicInteger ai = new AtomicInteger(1); in testGetLazySet() local
98 AtomicInteger ai = new AtomicInteger(1); in testCompareAndSet() local
113 final AtomicInteger ai = new AtomicInteger(1); in testCompareAndSetInMultipleThreads() local
132 AtomicInteger ai = new AtomicInteger(1); in testWeakCompareAndSet() local
144 AtomicInteger ai = new AtomicInteger(1); in testGetAndSet() local
154 AtomicInteger ai = new AtomicInteger(1); in testGetAndAdd() local
165 AtomicInteger ai = new AtomicInteger(1); in testGetAndDecrement() local
[all …]
DAtomicLongTest.java60 AtomicLong ai = new AtomicLong(1); in testConstructor() local
68 AtomicLong ai = new AtomicLong(); in testConstructor2() local
76 AtomicLong ai = new AtomicLong(1); in testGetSet() local
88 AtomicLong ai = new AtomicLong(1); in testGetLazySet() local
100 AtomicLong ai = new AtomicLong(1); in testCompareAndSet() local
115 final AtomicLong ai = new AtomicLong(1); in testCompareAndSetInMultipleThreads() local
134 AtomicLong ai = new AtomicLong(1); in testWeakCompareAndSet() local
146 AtomicLong ai = new AtomicLong(1); in testGetAndSet() local
156 AtomicLong ai = new AtomicLong(1); in testGetAndAdd() local
167 AtomicLong ai = new AtomicLong(1); in testGetAndDecrement() local
[all …]
DAtomicReferenceTest.java54 AtomicReference ai = new AtomicReference(one); in testConstructor() local
62 AtomicReference ai = new AtomicReference(); in testConstructor2() local
70 AtomicReference ai = new AtomicReference(one); in testGetSet() local
82 AtomicReference ai = new AtomicReference(one); in testGetLazySet() local
94 AtomicReference ai = new AtomicReference(one); in testCompareAndSet() local
109 final AtomicReference ai = new AtomicReference(one); in testCompareAndSetInMultipleThreads() local
128 AtomicReference ai = new AtomicReference(one); in testWeakCompareAndSet() local
140 AtomicReference ai = new AtomicReference(one); in testGetAndSet() local
165 AtomicReference<Integer> ai = new AtomicReference<>(one); in testToString() local
DAtomicBooleanTest.java62 AtomicBoolean ai = new AtomicBoolean(); in testConstructor2() local
70 AtomicBoolean ai = new AtomicBoolean(true); in testGetSet() local
82 AtomicBoolean ai = new AtomicBoolean(true); in testGetLazySet() local
94 AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSet() local
110 final AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSetInMultipleThreads() local
127 AtomicBoolean ai = new AtomicBoolean(true); in testWeakCompareAndSet() local
140 AtomicBoolean ai = new AtomicBoolean(); in testGetAndSet() local
167 AtomicBoolean ai = new AtomicBoolean(); in testToString() local
DAtomicMarkableReferenceTest.java54 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testConstructor() local
67 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testGetSet() local
89 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testAttemptMark() local
103 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testCompareAndSet() local
126 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testCompareAndSetInMultipleThreads() local
146 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testCompareAndSetInMultipleThreads2() local
167 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); in testWeakCompareAndSet() local
DLongAdderTest.java55 LongAdder ai = new LongAdder(); in testConstructor() local
63 LongAdder ai = new LongAdder(); in testAddAndSum() local
74 LongAdder ai = new LongAdder(); in testDecrementAndsum() local
85 LongAdder ai = new LongAdder(); in testIncrementAndsum() local
96 LongAdder ai = new LongAdder(); in testReset() local
107 LongAdder ai = new LongAdder(); in testSumThenReset() local
133 LongAdder ai = new LongAdder(); in testToString() local
143 LongAdder ai = new LongAdder(); in testIntValue() local
153 LongAdder ai = new LongAdder(); in testLongValue() local
163 LongAdder ai = new LongAdder(); in testFloatValue() local
[all …]
DAtomicStampedReferenceTest.java54 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testConstructor() local
67 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testGetSet() local
89 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testAttemptStamp() local
103 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSet() local
126 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSetInMultipleThreads() local
146 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testCompareAndSetInMultipleThreads2() local
167 AtomicStampedReference ai = new AtomicStampedReference(one, 0); in testWeakCompareAndSet() local
DLongAccumulatorTest.java55 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testConstructor() local
63 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testAccumulateAndGet() local
76 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testReset() local
87 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testGetThenReset() local
98 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testToString() local
108 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testIntValue() local
118 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testLongValue() local
128 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testFloatValue() local
138 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testDoubleValue() local
DDoubleAccumulatorTest.java55 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testConstructor() local
63 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testAccumulateAndGet() local
76 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testReset() local
87 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testGetThenReset() local
98 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testToString() local
108 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testIntValue() local
118 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testLongValue() local
128 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testFloatValue() local
138 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); in testDoubleValue() local
DDoubleAdderTest.java55 DoubleAdder ai = new DoubleAdder(); in testConstructor() local
63 DoubleAdder ai = new DoubleAdder(); in testAddAndSum() local
74 DoubleAdder ai = new DoubleAdder(); in testReset() local
85 DoubleAdder ai = new DoubleAdder(); in testSumThenReset() local
110 DoubleAdder ai = new DoubleAdder(); in testToString() local
120 DoubleAdder ai = new DoubleAdder(); in testIntValue() local
130 DoubleAdder ai = new DoubleAdder(); in testLongValue() local
140 DoubleAdder ai = new DoubleAdder(); in testFloatValue() local
150 DoubleAdder ai = new DoubleAdder(); in testDoubleValue() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributeListImplTest.java45 AttributeListImpl ai = new AttributeListImpl(empty); in testAttributeListImplAttributeList() local
134 AttributeListImpl ai = new AttributeListImpl(empty); in testGetLength() local
DAttributesImplTest.java50 AttributesImpl ai = new AttributesImpl(empty); in testAttributesImplAttributes() local
68 AttributesImpl ai = new AttributesImpl(empty); in testGetLength() local
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCountedCompleterTest.java46 AtomicInteger ai = new AtomicInteger(0); in chooseOne() field in CountedCompleterTest.Task
190 AtomicInteger ai = new AtomicInteger(0); in testHelpComplete() local
/libcore/ojluni/src/main/java/java/util/
DDualPivotQuicksort.java226 int ai = a[i + 1]; in sort() local
674 long ai = a[i + 1]; in sort() local
1158 short ai = a[i + 1]; in sort() local
1642 char ai = a[i + 1]; in sort() local
2222 float ai = a[i + 1]; in sort() local
2761 double ai = a[i + 1]; in sort() local
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DLongPrimitiveOpsTests.java72 AtomicLong ai = new AtomicLong(0); in testParForEach() local

12