/libcore/ojluni/src/test/java/lang/Math/ |
D | DivModTests.java | 115 static void testIntFloorDivMod(int x, int y, Object divExpected, Object modExpected) { in testIntFloorDivMod() 123 static void testIntFloorDiv(int x, int y, Object expected) { in testIntFloorDiv() 138 static void testIntFloorMod(int x, int y, Object expected) { in testIntFloorMod() 209 static void testLongFloorDivMod(long x, long y, Object divExpected, Object modExpected) { in testLongFloorDivMod() 223 static void testLongFloorDiv(long x, long y, Object expected) { in testLongFloorDiv() 244 static void testLongFloorMod(long x, long y, Object expected) { in testLongFloorMod() 318 static void testLongIntFloorDivMod(long x, int y, Object divExpected, Object modExpected) { in testLongIntFloorDivMod() 332 static void testLongIntFloorDiv(long x, int y, Object expected) { in testLongIntFloorDiv() 353 static void testLongIntFloorMod(long x, int y, Object expected) { in testLongIntFloorMod() 388 static Object doFloorDiv(int x, int y) { in doFloorDiv() [all …]
|
D | MultiplicationTests.java | 51 private static long multiplyHighBigInt(long x, long y) { in multiplyHighBigInt() 57 private static long unsignedMultiplyHigh(long x, long y) { in unsignedMultiplyHigh() 72 BiFunction<Long,Long,Long> multiply, long x, long y) { in check() 84 private static boolean checkSigned(long x, long y) { in checkSigned() 90 private static boolean checkUnsigned(long x, long y) { in checkUnsigned() 97 private static boolean checkStrictMathUnsigned(long x, long y) { in checkStrictMathUnsigned()
|
D | PowTests.java | 235 static double f1(double y) { in f1() 241 static double f2(double y) { in f2() 245 static double f3(double x, double y) { in f3() 265 static double f3ns(double x, double y) { in f3ns()
|
D | ExactArithTests.java | 99 static void testIntegerExact(int x, int y) { in testIntegerExact() 340 static void testLongExactTwice(long x, long y) { in testLongExactTwice() 353 static void testLongExact(long x, long y) { in testLongExact() 539 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult() 596 static void testLongIntExact(long x, int y) { in testLongIntExact()
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | LargeValueExceptions.java | 73 BigInteger y = x.multiply(x); in squareNoOverflow() local 80 BigInteger y = x.multiply(x); in squareIndefiniteOverflowSuccess() local 87 BigInteger y = x.multiply(x); in squareIndefiniteOverflowFailure() local 97 BigInteger y = x.multiply(x); in squareDefiniteOverflow() local 108 BigInteger y = ONE.shiftLeft(halfMaxBits - 1).subtract(ONE); in multiplyNoOverflow() local 118 BigInteger y = ONE.shiftLeft((int)(MAX_BITS/2) - 1); in multiplyIndefiniteOverflowSuccess() local 134 BigInteger y = ONE.shiftLeft((int)(MAX_BITS/2)).subtract(ONE); in multiplyIndefiniteOverflowFailure() local 157 BigInteger y = new BigInteger(1, ymag); in multiplyDefiniteOverflow() local 174 BigInteger y = x.pow(exponent); in powOverflow1() local 182 BigInteger y = x.pow(exponent); in powOverflow2() local [all …]
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | RacingCollections.java | 304 private static void describe(Class<?> k, Object x, Object y) { in describe() 317 frob(unmodifiableMap(x), y); in realMain() local 318 frob(synchronizedMap(x), y); in realMain() local 320 frob(checkedMap(x, Integer.class, Boolean.class), y); in realMain() local 331 frob(unmodifiableSet(x), y); in realMain() local 332 frob(synchronizedSet(x), y); in realMain() local 334 frob(checkedSet(x, Integer.class), y); in realMain() local 342 frob(unmodifiableList(x), y); in realMain() local 343 frob(synchronizedList(x), y); in realMain() local 345 frob(checkedList(x, Integer.class), y); in realMain() local [all …]
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | StrictMath.annotated.java | 68 public static native double atan2(double y, double x); in atan2() 78 public static int addExact(int x, int y) { throw new RuntimeException("Stub!"); } in addExact() 80 public static long addExact(long x, long y) { throw new RuntimeException("Stub!"); } in addExact() 82 public static int subtractExact(int x, int y) { throw new RuntimeException("Stub!"); } in subtractExact() 84 public static long subtractExact(long x, long y) { throw new RuntimeException("Stub!"); } in subtractExact() 86 public static int multiplyExact(int x, int y) { throw new RuntimeException("Stub!"); } in multiplyExact() 88 public static long multiplyExact(long x, int y) { throw new RuntimeException("Stub!"); } in multiplyExact() 90 public static long multiplyExact(long x, long y) { throw new RuntimeException("Stub!"); } in multiplyExact() 93 public static int divideExact(int x, int y) { throw new RuntimeException("Stub!"); } in divideExact() 96 public static long divideExact(long x, long y) { throw new RuntimeException("Stub!"); } in divideExact() [all …]
|
D | Math.annotated.java | 69 public static native double atan2(double y, double x); in atan2() 79 public static int addExact(int x, int y) { throw new RuntimeException("Stub!"); } in addExact() 81 public static long addExact(long x, long y) { throw new RuntimeException("Stub!"); } in addExact() 83 public static int subtractExact(int x, int y) { throw new RuntimeException("Stub!"); } in subtractExact() 85 public static long subtractExact(long x, long y) { throw new RuntimeException("Stub!"); } in subtractExact() 87 public static int multiplyExact(int x, int y) { throw new RuntimeException("Stub!"); } in multiplyExact() 89 public static long multiplyExact(long x, int y) { throw new RuntimeException("Stub!"); } in multiplyExact() 91 public static long multiplyExact(long x, long y) { throw new RuntimeException("Stub!"); } in multiplyExact() 94 public static int divideExact(int x, int y) { throw new RuntimeException("Stub!"); } in divideExact() 97 public static long divideExact(long x, long y) { throw new RuntimeException("Stub!"); } in divideExact() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 631 public static native double atan2(double y, double x); in atan2() 861 public static int addExact(int x, int y) { in addExact() 876 public static long addExact(long x, long y) { in addExact() 891 public static int subtractExact(int x, int y) { in subtractExact() 906 public static long subtractExact(long x, long y) { in subtractExact() 921 public static int multiplyExact(int x, int y) { in multiplyExact() 936 public static long multiplyExact(long x, int y) { in multiplyExact() 951 public static long multiplyExact(long x, long y) { in multiplyExact() 978 public static int divideExact(int x, int y) { in divideExact() 1005 public static long divideExact(long x, long y) { in divideExact() [all …]
|
D | Math.java | 721 public static native double atan2(double y, double x); in atan2() 1055 public static int addExact(int x, int y) { in addExact() 1075 public static long addExact(long x, long y) { in addExact() 1095 public static int subtractExact(int x, int y) { in subtractExact() 1116 public static long subtractExact(long x, long y) { in subtractExact() 1137 public static int multiplyExact(int x, int y) { in multiplyExact() 1155 public static long multiplyExact(long x, int y) { in multiplyExact() 1170 public static long multiplyExact(long x, long y) { in multiplyExact() 1208 public static int divideExact(int x, int y) { in divideExact() 1238 public static long divideExact(long x, long y) { in divideExact() [all …]
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | PermuteArgsTest.java | 62 static Object list2I(int x, int y) { in list2I() 65 static Object list3I(int x, int y, int z) { in list3I() 68 static Object list4I(int w, int x, int y, int z) { in list4I() 71 static Object list2J(long x, long y) { in list2J() 74 static Object list3J(long x, long y, long z) { in list3J() 77 static Object list4J(long w, long x, long y, long z) { in list4J() 80 static Object list2I2J(int w, int x, long y, long z) { in list2I2J() 83 static Object list2J2I(long w, long x, int y, int z) { in list2J2I() 86 static Object listLJJ(Object x, long y, long z) { in listLJJ() 89 static Object listJLJ(long x, Object y, long z) { in listJLJ() [all …]
|
D | MethodHandlesCastFailureTest.java | 76 static void trace(String x, Object y) { in trace() 141 Object y = identity.invokeExact(x); in testCastFailure() local 147 Object y = identity.invokeExact(x); in testCastFailure() local
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | BigIntegerBenchmark.java | 26 BigInteger y = new BigInteger(1024, r); in timeRandomDivision() local 35 BigInteger y = new BigInteger(1024, r); in timeRandomGcd() local 44 BigInteger y = new BigInteger(1024, r); in timeRandomMultiplication() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKIsoChronology.java | 354 …public void test_resolve_yearOfEra(ResolverStyle style, Integer e, Integer yoe, Integer y, ChronoF… in test_resolve_yearOfEra() 442 …public void test_resolve_ymd_lenient(int y, int m, int d, LocalDate expected, Object smart, boolea… in test_resolve_ymd_lenient() 453 …public void test_resolve_ymd_smart(int y, int m, int d, LocalDate expected, Object smart, boolean … in test_resolve_ymd_smart() 476 …public void test_resolve_ymd_strict(int y, int m, int d, LocalDate expected, Object smart, boolean… in test_resolve_ymd_strict() 526 …public void test_resolve_yd_lenient(int y, int d, LocalDate expected, boolean smart, boolean stric… in test_resolve_yd_lenient() 536 …public void test_resolve_yd_smart(int y, int d, LocalDate expected, boolean smart, boolean strict)… in test_resolve_yd_smart() 555 …public void test_resolve_yd_strict(int y, int d, LocalDate expected, boolean smart, boolean strict… in test_resolve_yd_strict() 633 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, LocalDate expected, boolean smar… in test_resolve_ymaa_lenient() 645 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, LocalDate expected, boolean smart,… in test_resolve_ymaa_smart() 666 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, LocalDate expected, boolean smart… in test_resolve_ymaa_strict() [all …]
|
D | TCKThaiBuddhistChronology.java | 597 …public void test_resolve_yearOfEra(ResolverStyle style, Integer e, Integer yoe, Integer y, ChronoF… in test_resolve_yearOfEra() 685 …public void test_resolve_ymd_lenient(int y, int m, int d, ThaiBuddhistDate expected, Object smart,… in test_resolve_ymd_lenient() 696 …public void test_resolve_ymd_smart(int y, int m, int d, ThaiBuddhistDate expected, Object smart, b… in test_resolve_ymd_smart() 719 …public void test_resolve_ymd_strict(int y, int m, int d, ThaiBuddhistDate expected, Object smart, … in test_resolve_ymd_strict() 769 …public void test_resolve_yd_lenient(int y, int d, ThaiBuddhistDate expected, boolean smart, boolea… in test_resolve_yd_lenient() 779 …public void test_resolve_yd_smart(int y, int d, ThaiBuddhistDate expected, boolean smart, boolean … in test_resolve_yd_smart() 798 …public void test_resolve_yd_strict(int y, int d, ThaiBuddhistDate expected, boolean smart, boolean… in test_resolve_yd_strict() 876 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, ThaiBuddhistDate expected, boole… in test_resolve_ymaa_lenient() 888 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, ThaiBuddhistDate expected, boolean… in test_resolve_ymaa_smart() 909 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, ThaiBuddhistDate expected, boolea… in test_resolve_ymaa_strict() [all …]
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | EdECPoint.java | 51 private final BigInteger y; field in EdECPoint 61 public EdECPoint(boolean xOdd, BigInteger y) { in EdECPoint()
|
D | ECPoint.java | 42 private final BigInteger y; field in ECPoint 63 public ECPoint(BigInteger x, BigInteger y) { in ECPoint()
|
D | DSAPublicKeySpec.java | 47 private BigInteger y; field in DSAPublicKeySpec 63 public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, in DSAPublicKeySpec()
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExactArithTests.java | 72 static void testIntegerExact(int x, int y) { in testIntegerExact() 205 static void testLongExactTwice(long x, long y) { in testLongExactTwice() 219 static void testLongExact(long x, long y) { in testLongExact() 310 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult() 371 static void testLongIntExact(long x, int y) { in testLongIntExact()
|
D | MultiplicationTests.java | 61 private static long multiplyHighBigInt(long x, long y) { in multiplyHighBigInt() 67 private static boolean check(long x, long y) { in check()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | CalendarUtils.java | 62 public static final long mod(long x, long y) { in mod() 67 public static final int mod(int x, int y) { in mod() 71 public static final int amod(int x, int y) { in amod() 75 public static final long amod(long x, long y) { in amod()
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | DHPublicKeySpec.java | 46 private BigInteger y; field in DHPublicKeySpec 61 public DHPublicKeySpec(BigInteger y, BigInteger p, BigInteger g) { in DHPublicKeySpec()
|
/libcore/luni/src/main/java/libcore/util/ |
D | FP16.java | 281 public static int compare(short x, short y) { in compare() 473 public static short min(short x, short y) { in min() 501 public static short max(short x, short y) { in max() 526 public static boolean less(short x, short y) { in less() 547 public static boolean lessEquals(short x, short y) { in lessEquals() 568 public static boolean greater(short x, short y) { in greater() 589 public static boolean greaterEquals(short x, short y) { in greaterEquals() 610 public static boolean equals(short x, short y) { in equals()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarUtils.java | 135 public static final long mod(long x, long y) { in mod() 139 public static final int mod(int x, int y) { in mod() 143 public static final int amod(int x, int y) { in amod() 148 public static final long amod(long x, long y) { in amod()
|
/libcore/ojluni/src/test/java/util/BitSet/ |
D | ImportExport.java | 40 void equal(byte[] x, byte[] y) { in equal() 44 void equal(long[] x, long[] y) { in equal() 149 void equal(Object x, Object y) { in equal()
|