Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
DAtomicIntegerFieldUpdaterTest.java36 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a = in checkPrivateAccess() local
46 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a = in checkCompareAndSetProtectedSub() local
63 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a = in checkPackageAccess() local
73 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a = in checkPrivateAccess() local
142 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetSet() local
156 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetLazySet() local
170 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSet() local
187 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSetProtected() local
215 final AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSetInMultipleThreads() local
236 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testWeakCompareAndSet() local
[all …]
DAtomicLongFieldUpdaterTest.java36 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a = in checkPrivateAccess() local
46 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a = in checkCompareAndSetProtectedSub() local
63 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a = in checkPackageAccess() local
73 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a = in checkPrivateAccess() local
142 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetSet() local
156 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetLazySet() local
170 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSet() local
187 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSetProtected() local
215 final AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSetInMultipleThreads() local
236 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testWeakCompareAndSet() local
[all …]
DAtomicReferenceFieldUpdaterTest.java38 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest,Integer> a = in checkPrivateAccess() local
48 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest,Integer> a = in checkCompareAndSetProtectedSub() local
65 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest,Integer> a = in checkPackageAccess() local
75 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest,Integer> a = in checkPrivateAccess() local
154 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testGetSet() local
168 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testGetLazySet() local
182 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testCompareAndSet() local
200 final AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testCompareAndSetInMultipleThreads() local
221 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer> a; in testWeakCompareAndSet() local
235 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
/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/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java46 public static void sort(int @libcore.util.NonNull [] a) { throw new RuntimeException("Stub!"); } in sort()
48 public static void sort(int @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Run… in sort()
50 public static void sort(long @libcore.util.NonNull [] a) { throw new RuntimeException("Stub!"); } in sort()
52 public static void sort(long @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Ru… in sort()
54 public static void sort(short @libcore.util.NonNull [] a) { throw new RuntimeException("Stub!"); } in sort()
56 public static void sort(short @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new R… in sort()
58 public static void sort(char @libcore.util.NonNull [] a) { throw new RuntimeException("Stub!"); } in sort()
60 public static void sort(char @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Ru… in sort()
62 public static void sort(byte @libcore.util.NonNull [] a) { throw new RuntimeException("Stub!"); } in sort()
64 public static void sort(byte @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Ru… in sort()
[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/ojluni/annotations/mmodule/java/lang/
DMath.annotated.java37 public static native double sin(double a); in sin()
39 public static native double cos(double a); in cos()
41 public static native double tan(double a); in tan()
43 public static native double asin(double a); in asin()
45 public static native double acos(double a); in acos()
47 public static native double atan(double a); in atan()
53 public static native double exp(double a); in exp()
55 public static native double log(double a); in log()
57 public static native double log10(double a); in log10()
59 public static native double sqrt(double a); in sqrt()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrays.java42 public static void sort(int[] a) { in sort()
46 public static void sort(int[] a, int fromIndex, int toIndex) { in sort()
50 public static void sort(long[] a) { in sort()
54 public static void sort(long[] a, int fromIndex, int toIndex) { in sort()
58 public static void sort(short[] a) { in sort()
62 public static void sort(short[] a, int fromIndex, int toIndex) { in sort()
66 public static void sort(char[] a) { in sort()
70 public static void sort(char[] a, int fromIndex, int toIndex) { in sort()
74 public static void sort(byte[] a) { in sort()
78 public static void sort(byte[] a, int fromIndex, int toIndex) { in sort()
[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.java148 public static native double sin(double a); in sin()
162 public static native double cos(double a); in cos()
178 public static native double tan(double a); in tan()
195 public static native double asin(double a); in asin()
210 public static native double acos(double a); in acos()
226 public static native double atan(double a); in atan()
275 public static native double exp(double a); in exp()
295 public static native double log(double a); in log()
319 public static native double log10(double a); in log10()
339 public static native double sqrt(double a); in sqrt()
[all …]
/libcore/ojluni/src/main/java/java/util/
DArrays.java146 public static void sort(int[] a) { in sort()
170 public static void sort(int[] a, int fromIndex, int toIndex) { in sort()
186 public static void sort(long[] a) { in sort()
210 public static void sort(long[] a, int fromIndex, int toIndex) { in sort()
226 public static void sort(short[] a) { in sort()
250 public static void sort(short[] a, int fromIndex, int toIndex) { in sort()
266 public static void sort(char[] a) { in sort()
290 public static void sort(char[] a, int fromIndex, int toIndex) { in sort()
306 public static void sort(byte[] a) { in sort()
330 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 …]

12345678910>>...13