/libcore/ojluni/src/test/java/lang/Math/ |
D | DivModTests.java | 90 static void testIntFloorDivMod(int x, int y, Object divExpected, Object modExpected) { in testIntFloorDivMod() 98 static void testIntFloorDiv(int x, int y, Object expected) { in testIntFloorDiv() 114 static void testIntFloorMod(int x, int y, Object expected) { in testIntFloorMod() 184 static void testLongFloorDivMod(long x, long y, Object divExpected, Object modExpected) { in testLongFloorDivMod() 197 static void testLongFloorDiv(long x, long y, Object expected) { in testLongFloorDiv() 218 static void testLongFloorMod(long x, long y, Object expected) { in testLongFloorMod() 291 static void testLongIntFloorDivMod(long x, int y, Object divExpected, Object modExpected) { in testLongIntFloorDivMod() 304 static void testLongIntFloorDiv(long x, int y, Object expected) { in testLongIntFloorDiv() 325 static void testLongIntFloorMod(long x, int y, Object expected) { in testLongIntFloorMod() 365 static Object doFloorDiv(int x, int y) { in doFloorDiv() [all …]
|
D | MultiplicationTests.java | 35 private static long multiplyHighBigInt(long x, long y) { in multiplyHighBigInt() 64 long y = xy[1]; in testMultiplyHigh() local
|
D | ExactArithTests.java | 74 static void testIntegerExact(int x, int y) { in testIntegerExact() 219 static void testLongExactTwice(long x, long y) { in testLongExactTwice() 233 static void testLongExact(long x, long y) { in testLongExact() 330 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult() 389 static void testLongIntExact(long x, int y) { in testLongIntExact()
|
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()
|
/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
|
D | RicochetTest.java | 418 Object x = "x", y = "y"; in testRecursion() local 441 Object recursiveFunction(Object x, Object y) throws Throwable { in recursiveFunction() 474 private static void assertEqualFunction(MethodHandle x, MethodHandle y) throws Throwable { in assertEqualFunction() 492 …private static void assertEqualFunctionAt(Object v, MethodHandle x, MethodHandle y) throws Throwab… in assertEqualFunctionAt() 546 private static int opI2(int x, int y) { return opI(x, y); } // x*100 + y%100 in opI2() 547 private static int opI3(int x, int y, int z) { return opI(x, y, z); } in opI3() 548 private static int opI4(int w, int x, int y, int z) { return opI(w, x, y, z); } in opI4() 551 private static long opJ3(long x, long y, long z) { return (long) opI3((int)x, (int)y, (int)z); } in opJ3() 552 private static long opJ2(long x, long y) { return (long) opI2((int)x, (int)y); } in opJ2() 554 private static Object opL2(Object x, Object y) { return (Object) opI2((int)x, (int)y); } in opL2() [all …]
|
/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 …]
|
D | TCKHijrahChronology.java | 370 …public void test_resolve_ymd_lenient(int y, int m, int d, HijrahDate expected, Object smart, boole… in test_resolve_ymd_lenient() 391 …public void test_resolve_ymd_smart(int y, int m, int d, HijrahDate expected, Object smart, boolean… in test_resolve_ymd_smart() 414 …public void test_resolve_ymd_strict(int y, int m, int d, HijrahDate expected, Object smart, boolea… in test_resolve_ymd_strict() 484 …public void test_resolve_yd_lenient(int y, int d, HijrahDate expected, boolean smart, boolean stri… in test_resolve_yd_lenient() 494 …public void test_resolve_yd_smart(int y, int d, HijrahDate expected, boolean smart, boolean strict… in test_resolve_yd_smart() 513 …public void test_resolve_yd_strict(int y, int d, HijrahDate expected, boolean smart, boolean stric… in test_resolve_yd_strict() 532 private static HijrahDate date(int y, int m, int d) { in date() 536 private static HijrahDate dateYearDay(int y, int doy) { in dateYearDay()
|
D | TCKMinguoChronology.java | 621 …public void test_resolve_yearOfEra(ResolverStyle style, Integer e, Integer yoe, Integer y, ChronoF… in test_resolve_yearOfEra() 709 …public void test_resolve_ymd_lenient(int y, int m, int d, MinguoDate expected, Object smart, boole… in test_resolve_ymd_lenient() 720 …public void test_resolve_ymd_smart(int y, int m, int d, MinguoDate expected, Object smart, boolean… in test_resolve_ymd_smart() 743 …public void test_resolve_ymd_strict(int y, int m, int d, MinguoDate expected, Object smart, boolea… in test_resolve_ymd_strict() 793 …public void test_resolve_yd_lenient(int y, int d, MinguoDate expected, boolean smart, boolean stri… in test_resolve_yd_lenient() 803 …public void test_resolve_yd_smart(int y, int d, MinguoDate expected, boolean smart, boolean strict… in test_resolve_yd_smart() 822 …public void test_resolve_yd_strict(int y, int d, MinguoDate expected, boolean smart, boolean stric… in test_resolve_yd_strict() 900 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, MinguoDate expected, boolean sma… in test_resolve_ymaa_lenient() 912 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, MinguoDate expected, boolean smart… in test_resolve_ymaa_smart() 933 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, MinguoDate expected, boolean smar… in test_resolve_ymaa_strict() [all …]
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExactArithTests.java | 97 static void testIntegerExact(int x, int y) { in testIntegerExact() 190 static void testLongExactTwice(long x, long y) { in testLongExactTwice() 204 static void testLongExact(long x, long y) { in testLongExact() 269 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult() 330 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/src/main/java/java/lang/ |
D | StrictMath.java | 538 public static native double atan2(double y, double x); in atan2() 758 public static int addExact(int x, int y) { in addExact() 773 public static long addExact(long x, long y) { in addExact() 788 public static int subtractExact(int x, int y) { in subtractExact() 803 public static long subtractExact(long x, long y) { in subtractExact() 818 public static int multiplyExact(int x, int y) { in multiplyExact() 833 public static long multiplyExact(long x, int y) { in multiplyExact() 848 public static long multiplyExact(long x, long y) { in multiplyExact() 875 public static long multiplyFull(int x, int y) { in multiplyFull() 889 public static long multiplyHigh(long x, long y) { in multiplyHigh() [all …]
|
D | Math.java | 649 public static native double atan2(double y, double x); in atan2() 971 public static int addExact(int x, int y) { in addExact() 991 public static long addExact(long x, long y) { in addExact() 1011 public static int subtractExact(int x, int y) { in subtractExact() 1032 public static long subtractExact(long x, long y) { in subtractExact() 1053 public static int multiplyExact(int x, int y) { in multiplyExact() 1071 public static long multiplyExact(long x, int y) { in multiplyExact() 1086 public static long multiplyExact(long x, long y) { in multiplyExact() 1234 public static long multiplyFull(int x, int y) { in multiplyFull() 1248 public static long multiplyHigh(long x, long y) { in multiplyHigh() [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/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/annotations/sdk/nullability/java/security/spec/ |
D | EdECPoint.annotated.java | 34 …public EdECPoint(boolean xOdd, @libcore.util.NonNull BigInteger y) { throw new RuntimeException("S… in EdECPoint()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | CallSitesTest.java | 256 int y = (int) site.getTarget().invokeExact(2, 6); in commonMutableCallSitesTest() local 285 public static int add2(int x, int y) { in add2() 289 public static int add3(int x, int y, int z) { in add3() 293 public static int sub2(int x, int y) { in sub2()
|