Home
last modified time | relevance | path

Searched defs:a (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/libcore/jsr166-tests/src/test/java/jsr166/
DCountedCompleterTest.java55 private void testInvokeOnPool(ForkJoinPool pool, ForkJoinTask a) { in testInvokeOnPool()
75 void checkNotDone(CountedCompleter a) { in checkNotDone()
90 void checkCompletedNormally(CountedCompleter<?> a) { in checkCompletedNormally()
629 ForkJoinTask a = new CheckedRecursiveAction() { in testInvoke() local
636 testInvokeOnPool(mainPool(), a); in testInvoke() local
645 ForkJoinTask a = new CheckedRecursiveAction() { in testQuietlyInvoke() local
652 testInvokeOnPool(mainPool(), a); in testQuietlyInvoke() local
659 ForkJoinTask a = new CheckedRecursiveAction() { in testForkJoin() local
667 testInvokeOnPool(mainPool(), a); in testForkJoin() local
674 ForkJoinTask a = new CheckedRecursiveAction() { in testForkGet() local
[all …]
DRecursiveActionTest.java52 private void testInvokeOnPool(ForkJoinPool pool, RecursiveAction a) { in testInvokeOnPool()
62 void checkNotDone(RecursiveAction a) { in checkNotDone()
93 void checkCompletedNormally(RecursiveAction a) { in checkCompletedNormally()
111 void checkCancelled(RecursiveAction a) { in checkCancelled()
138 void checkCompletedAbnormally(RecursiveAction a, Throwable t) { in checkCompletedAbnormally()
217 RecursiveAction a = new CheckedRecursiveAction() { in testInvoke() local
224 testInvokeOnPool(mainPool(), a); in testInvoke() local
233 RecursiveAction a = new CheckedRecursiveAction() { in testQuietlyInvoke() local
240 testInvokeOnPool(mainPool(), a); in testQuietlyInvoke() local
247 RecursiveAction a = new CheckedRecursiveAction() { in testForkJoin() local
[all …]
DRecursiveTaskTest.java48 private <T> T testInvokeOnPool(ForkJoinPool pool, RecursiveTask<T> a) { in testInvokeOnPool()
59 void checkNotDone(RecursiveTask a) { in checkNotDone()
90 <T> void checkCompletedNormally(RecursiveTask<T> a, T expected) { in checkCompletedNormally()
112 void checkCompletesNormally(RecursiveTask<Integer> a, int expected) { in checkCompletesNormally()
122 void checkCompletedNormally(RecursiveTask<Integer> a, int expected) { in checkCompletedNormally()
128 void checkCancelled(RecursiveTask a) { in checkCancelled()
155 void checkCompletedAbnormally(RecursiveTask a, Throwable t) { in checkCompletedAbnormally()
234 RecursiveTask<Integer> a = new CheckedRecursiveTask<Integer>() { in testInvoke() local
251 RecursiveTask<Integer> a = new CheckedRecursiveTask<Integer>() { in testQuietlyInvoke() local
265 RecursiveTask<Integer> a = new CheckedRecursiveTask<Integer>() { in testForkJoin() local
[all …]
DAtomic8Test.java73 AtomicLong a = new AtomicLong(1L); in testLongGetAndUpdate() local
84 AtomicLong a = new AtomicLong(1L); in testLongUpdateAndGet() local
94 AtomicLong a = new AtomicLong(1L); in testLongGetAndAccumulate() local
105 AtomicLong a = new AtomicLong(1L); in testLongAccumulateAndGet() local
116 AtomicInteger a = new AtomicInteger(1); in testIntGetAndUpdate() local
127 AtomicInteger a = new AtomicInteger(1); in testIntUpdateAndGet() local
138 AtomicInteger a = new AtomicInteger(1); in testIntGetAndAccumulate() local
149 AtomicInteger a = new AtomicInteger(1); in testIntAccumulateAndGet() local
160 AtomicReference<Integer> a = new AtomicReference<Integer>(one); in testReferenceGetAndUpdate() local
171 AtomicReference<Integer> a = new AtomicReference<Integer>(one); in testReferenceUpdateAndGet() local
[all …]
DForkJoinPool8Test.java67 private void checkInvoke(ForkJoinTask a) { in checkInvoke()
73 void checkNotDone(ForkJoinTask a) { in checkNotDone()
104 void checkCompletedNormally(ForkJoinTask a) { in checkCompletedNormally()
122 void checkCancelled(ForkJoinTask a) { in checkCancelled()
149 void checkCompletedAbnormally(ForkJoinTask a, Throwable t) { in checkCompletedAbnormally()
228 RecursiveAction a = new CheckedRecursiveAction() { in testInvoke() local
244 RecursiveAction a = new CheckedRecursiveAction() { in testQuietlyInvoke() local
258 RecursiveAction a = new CheckedRecursiveAction() { in testForkJoin() local
273 RecursiveAction a = new CheckedRecursiveAction() { in testJoinIgnoresInterrupts() local
350 RecursiveAction a = new CheckedRecursiveAction() { in testForkGet() local
[all …]
DAtomicLongFieldUpdaterTest.java145 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetSet() local
159 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetLazySet() local
173 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSet() local
190 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSetProtected() local
219 final AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSetInMultipleThreads() local
240 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testWeakCompareAndSet() local
254 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndSet() local
266 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndAdd() local
279 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndDecrement() local
291 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndIncrement() local
[all …]
DAtomicIntegerFieldUpdaterTest.java145 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetSet() local
159 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetLazySet() local
173 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSet() local
190 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSetProtected() local
219 final AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSetInMultipleThreads() local
240 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testWeakCompareAndSet() local
254 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndSet() local
266 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndAdd() local
279 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndDecrement() local
291 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndIncrement() local
[all …]
DAtomicReferenceFieldUpdaterTest.java157 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testGetSet() local
171 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testGetLazySet() local
185 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testCompareAndSet() local
203 final AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testCompareAndSetInMultipleThreads() local
224 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testWeakCompareAndSet() local
238 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testGetAndSet() local
DForkJoinTask8Test.java80 private void testInvokeOnPool(ForkJoinPool pool, RecursiveAction a) { in testInvokeOnPool()
100 void checkNotDone(ForkJoinTask a) { in checkNotDone()
117 <T> void checkCompletedNormally(ForkJoinTask<T> a) { in checkCompletedNormally()
121 <T> void checkCompletedNormally(ForkJoinTask<T> a, T expected) { in checkCompletedNormally()
887 testInvokeOnPool(pool, a); in testInvokeOnPool() argument
DForkJoinTaskTest.java57 private void testInvokeOnPool(ForkJoinPool pool, RecursiveAction a) { in testInvokeOnPool()
77 void checkNotDone(ForkJoinTask a) { in checkNotDone()
92 <T> void checkCompletedNormally(ForkJoinTask<T> a) { in checkCompletedNormally()
96 <T> void checkCompletedNormally(ForkJoinTask<T> a, T expected) { in checkCompletedNormally()
/libcore/ojluni/src/main/native/
Djlong_md.h33 #define jlong_high(a) ((jint)((a)>>32)) argument
34 #define jlong_low(a) ((jint)(a)) argument
35 #define jlong_add(a, b) ((a) + (b)) argument
36 #define jlong_and(a, b) ((a) & (b)) argument
37 #define jlong_div(a, b) ((a) / (b)) argument
38 #define jlong_mul(a, b) ((a) * (b)) argument
39 #define jlong_neg(a) (-(a)) argument
40 #define jlong_not(a) (~(a)) argument
41 #define jlong_or(a, b) ((a) | (b)) argument
42 #define jlong_shl(a, n) ((a) << (n)) argument
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DMathTest.java37 private void testIntExact(int a, int b) { in testIntExact()
46 private void testAddExactI(int a, int b) { in testAddExactI()
57 private void testSubtractExactI(int a, int b) { in testSubtractExactI()
69 private void testMultiplyExactI(int a, int b) { in testMultiplyExactI()
80 private void testIncrementExactI(int a) { in testIncrementExactI()
91 private void testDecrementExactI(int a) { in testDecrementExactI()
102 private void testNegateExactI(int a) { in testNegateExactI()
125 private void testLongExact(long a, long b) { in testLongExact()
135 private void testAddExactL(long a, long b) { in testAddExactL()
146 private void testSubtractExactL(long a, long b) { in testSubtractExactL()
[all …]
DStrictMathTest.java37 private void testIntExact(int a, int b) { in testIntExact()
43 private void testAddExactI(int a, int b) { in testAddExactI()
54 private void testSubtractExactI(int a, int b) { in testSubtractExactI()
66 private void testMultiplyExactI(int a, int b) { in testMultiplyExactI()
89 private void testLongExact(long a, long b) { in testLongExact()
96 private void testAddExactL(long a, long b) { in testAddExactL()
107 private void testSubtractExactL(long a, long b) { in testSubtractExactL()
118 private void testMultiplyExactL(long a, long b) { in testMultiplyExactL()
129 private void testToIntExactL(long a) { in testToIntExactL()
151 private void testFloorDivModI(int a, int b) { in testFloorDivModI()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConvertTest.java37 String a = "-123809648392384754573567356745735.63567890295784902768787678287E+21"; in testDoubleValueNeg() local
47 String a = "123809648392384754573567356745735.63567890295784902768787678287E+21"; in testDoubleValuePos() local
57 String a = "123809648392384754573567356745735.63567890295784902768787678287E+400"; in testDoubleValuePosInfinity() local
67 String a = "-123809648392384754573567356745735.63567890295784902768787678287E+400"; in testDoubleValueNegInfinity() local
77 String a = "-123809648392384754573567356745735.63567890295784902768787678287E-400"; in testDoubleValueMinusZero() local
88 String a = "123809648392384754573567356745735.63567890295784902768787678287E-400"; in testDoubleValuePlusZero() local
99 String a = "-1238096483923847.6356789029578E+21"; in testFloatValueNeg() local
109 String a = "1238096483923847.6356789029578E+21"; in testFloatValuePos() local
119 String a = "123809648373567356745735.6356789787678287E+200"; in testFloatValuePosInfinity() local
129 String a = "-123809648392384755735.63567887678287E+200"; in testFloatValueNegInfinity() local
[all …]
DBigDecimalConstructorsTest.java69 String a = "1231212478987482988429808779810457634781384756794987"; in testConstrBI() local
87 String a = "1231212478987482988429808779810457634781384756794987"; in testConstrBIScale() local
99 String a = "1231212478987482988429808779810457634781384756794987"; in testConstrBigIntegerMathContext() local
115 String a = "1231212478987482988429808779810457634781384756794987"; in testConstrBigIntegerScaleMathContext() local
242 double a = Double.NaN; in testConstrDoubleNaN() local
254 double a = Double.POSITIVE_INFINITY; in testConstrDoublePosInfinity() local
266 double a = Double.NEGATIVE_INFINITY; in testConstrDoubleNegInfinity() local
278 double a = 732546982374982347892379283571094797.287346782359284756; in testConstrDouble() local
290 double a = 732546982374982347892379283571094797.287346782359284756; in testConstrDoubleMathContext() local
305 double a = 1.E-1; in testConstrDouble01() local
[all …]
DBigDecimalScaleOperationsTest.java35 String a = "1231212478987482988429808779810457634781384756794987"; in testScaleDefault() local
45 String a = "1231212478987482988429808779810457634781384756794987"; in testScaleNeg() local
56 String a = "1231212478987482988429808779810457634781384756794987"; in testScalePos() local
67 String a = "1231212478987482988429808779810457634781384756794987"; in testScaleZero() local
78 String a = "1231212478987482988429808779810457634781384756794987"; in testUnscaledValue() local
89 String a = "1231212478987482988429808779810457634781384756794987"; in testSetScaleGreater() local
102 String a = "2.345726458768760000E+10"; in testSetScaleLess() local
114 String a = "1231212478987482988429808779810457634781384756794987"; in testSetScaleException() local
130 String a = "1231212478987482988429808779810457634781384756794987"; in testSetScaleSame() local
143 String a = "1231212478987482988429808779810457634781384756794987"; in testSetScaleRoundUp() local
[all …]
DBigDecimalCompareTest.java40 String a = "-123809648392384754573567356745735.63567890295784902768787678287E+21"; in testAbsNeg() local
50 String a = "123809648392384754573567356745735.63567890295784902768787678287E+21"; in testAbsPos() local
60 String a = "-123809648392384754573567356745735.63567890295784902768787678287E+21"; in testAbsMathContextNeg() local
76 String a = "123809648392384754573567356745735.63567890295784902768787678287E+21"; in testAbsMathContextPos() local
92 String a = "12380964839238475457356735674573563567890295784902768787678287"; in testCompareEqualScale1() local
106 String a = "12380964839238475457356735674573563567890295784902768787678287"; in testCompareEqualScale2() local
120 String a = "12380964839238475457356735674573563567890295784902768787678287"; in testCompareGreaterScale1() local
134 String a = "12380964839238475457356735674573563567890295784902768787678287"; in testCompareGreaterScale2() local
148 String a = "12380964839238475457356735674573563567890295784902768787678287"; in testCompareLessScale1() local
162 String a = "12380964839238475457356735674573"; in testCompareLessScale2() local
[all …]
/libcore/luni/src/main/java/java/math/
DNativeBN.java24 public static native void BN_free(long a); in BN_free()
27 public static native int BN_cmp(long a, long b); in BN_cmp()
33 public static native void putLongInt(long a, long dw); in putLongInt()
34 public static native void putULongInt(long a, long dw, boolean neg); in putULongInt()
36 public static native int BN_dec2bn(long a, String str); in BN_dec2bn()
39 public static native int BN_hex2bn(long a, String str); in BN_hex2bn()
52 public static native long longInt(long a); in longInt()
55 public static native String BN_bn2dec(long a); in BN_bn2dec()
58 public static native String BN_bn2hex(long a); in BN_bn2hex()
61 public static native byte[] BN_bn2bin(long a); in BN_bn2bin()
[all …]
/libcore/luni/src/test/java/tests/security/spec/
DEllipticCurveTest.java45 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() local
79 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() local
126 BigInteger a = BigInteger.valueOf(24L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray03() local
187 BigInteger a = BigInteger.valueOf(32L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray04() local
231 BigInteger a = BigInteger.valueOf(0L); in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray05() local
253 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger01() local
285 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger02() local
329 BigInteger a = BigInteger.valueOf(24L); in testEllipticCurveECFieldBigIntegerBigInteger03() local
386 BigInteger a = BigInteger.valueOf(32L); in testEllipticCurveECFieldBigIntegerBigInteger04() local
428 BigInteger a = BigInteger.valueOf(5L); in testGetA() local
[all …]
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java110 public static native double sin(double a); in sin()
120 public static native double cos(double a); in cos()
132 public static native double tan(double a); in tan()
145 public static native double asin(double a); in asin()
156 public static native double acos(double a); in acos()
168 public static native double atan(double a); in atan()
215 public static native double exp(double a); in exp()
231 public static native double log(double a); in log()
252 public static native double log10(double a); in log10()
270 public static native double sqrt(double a); in sqrt()
[all …]
DMath.java141 public static native double sin(double a); in sin()
155 public static native double cos(double a); in cos()
171 public static native double tan(double a); in tan()
188 public static native double asin(double a); in asin()
203 public static native double acos(double a); in acos()
219 public static native double atan(double a); in atan()
268 public static native double exp(double a); in exp()
288 public static native double log(double a); in log()
312 public static native double log10(double a); in log10()
332 public static native double sqrt(double a); in sqrt()
[all …]
/libcore/ojluni/src/main/java/java/util/
DArrays.java160 public static void sort(int[] a) { in sort()
184 public static void sort(int[] a, int fromIndex, int toIndex) { in sort()
200 public static void sort(long[] a) { in sort()
224 public static void sort(long[] a, int fromIndex, int toIndex) { in sort()
240 public static void sort(short[] a) { in sort()
264 public static void sort(short[] a, int fromIndex, int toIndex) { in sort()
280 public static void sort(char[] a) { in sort()
304 public static void sort(char[] a, int fromIndex, int toIndex) { in sort()
320 public static void sort(byte[] a) { in sort()
344 public static void sort(byte[] a, int fromIndex, int toIndex) { in sort()
[all …]
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalArithmeticTest.java30 BigDecimal a, b, res; in testAddMathContextNonTrivial() local
55 BigDecimal a, b, res; in testSubtractMathContextNonTrivial() local
78 BigDecimal a, b, res; in testMultiplyMathContextNonTrivial() local
94 BigDecimal a, b, res; in testPowNonTrivial() local
112 String a = "123121247898748298842980"; in testPowMathContext() local
126 BigDecimal a, b, res; in testPowMathContextNonTrivial() local
191 BigDecimal a, b, res; in testDivideINonTrivial() local
218 BigDecimal a, b, res; in testDivideIINonTrivial() local
246 BigDecimal a, b, res; in testDivideScaleRoundingModeNonTrivial() local
276 BigDecimal a, b, res; in testDivideMathContextNonTrivial() local
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidByteArrayInputStreamTest.java33 ByteArrayInputStream a = new ByteArrayInputStream(str.getBytes()); in testByteArrayInputStream() local
44 public static String read(InputStream a) throws IOException { in read()
55 public static String read(InputStream a, int x) throws IOException { in read()
64 public static String skipRead(InputStream a) throws IOException { in skipRead()
76 public static String markRead(InputStream a, int x, int y) throws IOException { in markRead()
DOldAndroidCharArrayReaderTest.java32 CharArrayReader a = new CharArrayReader(str.toCharArray()); in testCharArrayReader() local
43 public static String read(Reader a) throws IOException { in read()
54 public static String read(Reader a, int x) throws IOException { in read()
63 public static String skipRead(Reader a) throws IOException { in skipRead()
75 public static String markRead(Reader a, int x, int y) throws IOException { in markRead()

12345678910>>...12