/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ForkJoinTaskTest.java | 43 private void testInvokeOnPool(ForkJoinPool pool, RecursiveAction a) { in testInvokeOnPool() 65 void checkNotDone(ForkJoinTask a) { in checkNotDone() 80 <T> void checkCompletedNormally(ForkJoinTask<T> a) { in checkCompletedNormally() 84 <T> void checkCompletedNormally(ForkJoinTask<T> a, T expected) { in checkCompletedNormally() 381 RecursiveAction a = new CheckedRecursiveAction() { in testInvoke() local 388 testInvokeOnPool(mainPool(), a); in testInvoke() local 397 RecursiveAction a = new CheckedRecursiveAction() { in testQuietlyInvoke() local 404 testInvokeOnPool(mainPool(), a); in testQuietlyInvoke() local 411 RecursiveAction a = new CheckedRecursiveAction() { in testForkJoin() local 419 testInvokeOnPool(mainPool(), a); in testForkJoin() local [all …]
|
D | CountedCompleterTest.java | 46 private void testInvokeOnPool(ForkJoinPool pool, ForkJoinTask a) { in testInvokeOnPool() 68 void checkNotDone(CountedCompleter a) { in checkNotDone() 83 void checkCompletedNormally(CountedCompleter<?> a) { in checkCompletedNormally() 601 ForkJoinTask a = new CheckedRecursiveAction() { in testInvoke() local 608 testInvokeOnPool(mainPool(), a); in testInvoke() local 617 ForkJoinTask a = new CheckedRecursiveAction() { in testQuietlyInvoke() local 624 testInvokeOnPool(mainPool(), a); in testQuietlyInvoke() local 631 ForkJoinTask a = new CheckedRecursiveAction() { in testForkJoin() local 639 testInvokeOnPool(mainPool(), a); in testForkJoin() local 646 ForkJoinTask a = new CheckedRecursiveAction() { in testForkGet() local [all …]
|
D | RecursiveActionTest.java | 40 private void testInvokeOnPool(ForkJoinPool pool, RecursiveAction a) { in testInvokeOnPool() 52 void checkNotDone(RecursiveAction a) { in checkNotDone() 83 void checkCompletedNormally(RecursiveAction a) { in checkCompletedNormally() 101 void checkCancelled(RecursiveAction a) { in checkCancelled() 128 void checkCompletedAbnormally(RecursiveAction a, Throwable t) { in checkCompletedAbnormally() 207 RecursiveAction a = new CheckedRecursiveAction() { in testInvoke() local 214 testInvokeOnPool(mainPool(), a); in testInvoke() local 223 RecursiveAction a = new CheckedRecursiveAction() { in testQuietlyInvoke() local 230 testInvokeOnPool(mainPool(), a); in testQuietlyInvoke() local 237 RecursiveAction a = new CheckedRecursiveAction() { in testForkJoin() local [all …]
|
D | RecursiveTaskTest.java | 37 private <T> T testInvokeOnPool(ForkJoinPool pool, RecursiveTask<T> a) { in testInvokeOnPool() 50 void checkNotDone(RecursiveTask a) { in checkNotDone() 81 <T> void checkCompletedNormally(RecursiveTask<T> a, T expected) { in checkCompletedNormally() 103 void checkCompletesNormally(RecursiveTask<Integer> a, int expected) { in checkCompletesNormally() 113 void checkCompletedNormally(RecursiveTask<Integer> a, int expected) { in checkCompletedNormally() 119 void checkCancelled(RecursiveTask a) { in checkCancelled() 146 void checkCompletedAbnormally(RecursiveTask a, Throwable t) { in checkCompletedAbnormally() 225 RecursiveTask<Integer> a = new CheckedRecursiveTask<Integer>() { in testInvoke() local 242 RecursiveTask<Integer> a = new CheckedRecursiveTask<Integer>() { in testQuietlyInvoke() local 256 RecursiveTask<Integer> a = new CheckedRecursiveTask<Integer>() { in testForkJoin() local [all …]
|
D | AtomicLongFieldUpdaterTest.java | 60 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetSet() local 74 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetLazySet() local 88 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSet() local 106 final AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testCompareAndSetInMultipleThreads() local 127 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testWeakCompareAndSet() local 141 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndSet() local 153 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndAdd() local 166 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndDecrement() local 178 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testGetAndIncrement() local 194 AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; in testAddAndGet() local [all …]
|
D | AtomicIntegerFieldUpdaterTest.java | 60 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetSet() local 74 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetLazySet() local 88 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSet() local 106 final AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testCompareAndSetInMultipleThreads() local 127 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testWeakCompareAndSet() local 141 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndSet() local 153 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndAdd() local 166 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndDecrement() local 178 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testGetAndIncrement() local 194 AtomicIntegerFieldUpdater<AtomicIntegerFieldUpdaterTest> a; in testAddAndGet() local [all …]
|
D | AtomicReferenceFieldUpdaterTest.java | 71 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a; in testGetSet() local 85 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a; in testGetLazySet() local 99 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a; in testCompareAndSet() local 117 final AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a; in testCompareAndSetInMultipleThreads() local 138 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a; in testWeakCompareAndSet() local 152 AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a; in testGetAndSet() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalConvertTest.java | 37 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 …]
|
D | BigDecimalConstructorsTest.java | 69 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 …]
|
D | BigDecimalScaleOperationsTest.java | 35 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 …]
|
D | BigDecimalCompareTest.java | 40 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/native/ |
D | java_lang_StrictMath.cpp | 25 static jdouble StrictMath_sin(JNIEnv*, jclass, jdouble a) { in StrictMath_sin() 29 static jdouble StrictMath_cos(JNIEnv*, jclass, jdouble a) { in StrictMath_cos() 33 static jdouble StrictMath_tan(JNIEnv*, jclass, jdouble a) { in StrictMath_tan() 37 static jdouble StrictMath_asin(JNIEnv*, jclass, jdouble a) { in StrictMath_asin() 41 static jdouble StrictMath_acos(JNIEnv*, jclass, jdouble a) { in StrictMath_acos() 45 static jdouble StrictMath_atan(JNIEnv*, jclass, jdouble a) { in StrictMath_atan() 49 static jdouble StrictMath_exp(JNIEnv*, jclass, jdouble a) { in StrictMath_exp() 53 static jdouble StrictMath_log(JNIEnv*, jclass, jdouble a) { in StrictMath_log() 57 static jdouble StrictMath_sqrt(JNIEnv*, jclass, jdouble a) { in StrictMath_sqrt() 61 static jdouble StrictMath_IEEEremainder(JNIEnv*, jclass, jdouble a, jdouble b) { in StrictMath_IEEEremainder() [all …]
|
D | java_lang_Math.cpp | 26 static jdouble Math_sin(JNIEnv*, jclass, jdouble a) { in Math_sin() 30 static jdouble Math_cos(JNIEnv*, jclass, jdouble a) { in Math_cos() 34 static jdouble Math_tan(JNIEnv*, jclass, jdouble a) { in Math_tan() 38 static jdouble Math_asin(JNIEnv*, jclass, jdouble a) { in Math_asin() 42 static jdouble Math_acos(JNIEnv*, jclass, jdouble a) { in Math_acos() 46 static jdouble Math_atan(JNIEnv*, jclass, jdouble a) { in Math_atan() 50 static jdouble Math_exp(JNIEnv*, jclass, jdouble a) { in Math_exp() 54 static jdouble Math_log(JNIEnv*, jclass, jdouble a) { in Math_log() 58 static jdouble Math_IEEEremainder(JNIEnv*, jclass, jdouble a, jdouble b) { in Math_IEEEremainder() 62 static jdouble Math_floor(JNIEnv*, jclass, jdouble a) { in Math_floor() [all …]
|
/libcore/luni/src/main/java/java/math/ |
D | NativeBN.java | 24 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 …]
|
D | BigInt.java | 62 static int cmp(BigInt a, BigInt b) { in cmp() 170 void putBigEndian(byte[] a, boolean neg) { in putBigEndian() 175 void putLittleEndianInts(int[] a, boolean neg) { in putLittleEndianInts() 180 void putBigEndianTwosComplement(byte[] a) { in putBigEndianTwosComplement() 232 static BigInt shift(BigInt a, int n) { in shift() 250 static int remainderByPositiveInt(BigInt a, int w) { in remainderByPositiveInt() 254 static BigInt addition(BigInt a, BigInt b) { in addition() 260 void add(BigInt a) { in add() 264 static BigInt subtraction(BigInt a, BigInt b) { in subtraction() 271 static BigInt gcd(BigInt a, BigInt b) { in gcd() [all …]
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | EllipticCurveTest.java | 45 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/support/src/test/java/tests/resources/Package/ |
D | hyts_package.jar | ... info.java
package a.b.c
abstract a.b.c.package-info extends java ... |
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalArithmeticTest.java | 30 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 …]
|
D | OldBigDecimalScaleOperationsTest.java | 30 BigDecimal a = new BigDecimal("12345.6789012345678901234567890123456789"); in testMovePointRightEx() local 46 BigDecimal a = new BigDecimal("123456789012345678901234567890123456789E25"); in testMovePointRightEx2() local 55 BigDecimal a = new BigDecimal("12345.6789012345678901234567890123456789"); in testScaleByPowerOfTenEx() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldAndroidByteArrayInputStreamTest.java | 33 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()
|
D | OldAndroidCharArrayReaderTest.java | 32 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()
|
D | OldAndroidStringReaderTest.java | 30 StringReader a = new StringReader(str); in testStringReader() local 41 public static String read(Reader a) throws IOException { in read() 52 public static String read(Reader a, int x) throws IOException { in read() 61 public static String skipRead(Reader a) throws IOException { in skipRead() 73 public static String markRead(Reader a, int x, int y) throws IOException { in markRead()
|
D | OldAndroidPushbackInputStreamTest.java | 34 PushbackInputStream a = new PushbackInputStream(aa, 7); in testPushbackInputStream() local 58 public static String read(InputStream a) throws IOException { in read() 69 public static String read(InputStream a, int x) throws IOException { in read() 78 public static String skipRead(InputStream a) throws IOException { in skipRead() 90 public static String markRead(InputStream a, int x, int y) throws IOException { in markRead()
|
D | OldAndroidBufferedReaderTest.java | 37 BufferedReader a = new BufferedReader(aa, 5); in testBufferedReader() local 66 public static String read(Reader a) throws IOException { in read() 77 public static String read(Reader a, int x) throws IOException { in read() 86 public static String skipRead(Reader a) throws IOException { in skipRead() 98 public static String markRead(Reader a, int x, int y) throws IOException { in markRead()
|
/libcore/luni/src/main/java/java/util/ |
D | ArrayList.java | 97 Object[] a = collection.toArray(); in ArrayList() local 115 Object[] a = array; in add() local 144 Object[] a = array; in add() local 193 Object[] a = array; in addAll() local 233 Object[] a = array; in addAll() local 297 Object[] a = array; in ensureCapacity() local 335 Object[] a = array; in contains() local 354 Object[] a = array; in indexOf() local 373 Object[] a = array; in lastIndexOf() local 400 Object[] a = array; in remove() local [all …]
|