Home
last modified time | relevance | path

Searched defs:y (Results 1 – 25 of 164) sorted by relevance

1234567

/libcore/ojluni/src/test/java/lang/Math/
DDivModTests.java88 static void testIntFloorDivMod(int x, int y, Object divExpected, Object modExpected) { in testIntFloorDivMod()
96 static void testIntFloorDiv(int x, int y, Object expected) { in testIntFloorDiv()
111 static void testIntFloorMod(int x, int y, Object expected) { in testIntFloorMod()
178 static void testLongFloorDivMod(long x, long y, Object divExpected, Object modExpected) { in testLongFloorDivMod()
192 static void testLongFloorDiv(long x, long y, Object expected) { in testLongFloorDiv()
213 static void testLongFloorMod(long x, long y, Object expected) { in testLongFloorMod()
283 static void testLongIntFloorDivMod(long x, int y, Object divExpected, Object modExpected) { in testLongIntFloorDivMod()
297 static void testLongIntFloorDiv(long x, int y, Object expected) { in testLongIntFloorDiv()
318 static void testLongIntFloorMod(long x, int y, Object expected) { in testLongIntFloorMod()
355 static Object doFloorDiv(int x, int y) { in doFloorDiv()
[all …]
DMultiplicationTests.java35 private static long multiplyHighBigInt(long x, long y) { in multiplyHighBigInt()
64 long y = xy[1]; in testMultiplyHigh() local
DExactArithTests.java75 static void testIntegerExact(int x, int y) { in testIntegerExact()
213 static void testLongExactTwice(long x, long y) { in testLongExactTwice()
227 static void testLongExact(long x, long y) { in testLongExact()
319 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult()
377 static void testLongIntExact(long x, int y) { in testLongIntExact()
/libcore/benchmarks/src/benchmarks/regression/
DBigIntegerBenchmark.java26 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/
DTCKIsoChronology.java346 …public void test_resolve_yearOfEra(ResolverStyle style, Integer e, Integer yoe, Integer y, ChronoF… in test_resolve_yearOfEra()
434 …public void test_resolve_ymd_lenient(int y, int m, int d, LocalDate expected, Object smart, boolea… in test_resolve_ymd_lenient()
445 …public void test_resolve_ymd_smart(int y, int m, int d, LocalDate expected, Object smart, boolean … in test_resolve_ymd_smart()
468 …public void test_resolve_ymd_strict(int y, int m, int d, LocalDate expected, Object smart, boolean… in test_resolve_ymd_strict()
518 …public void test_resolve_yd_lenient(int y, int d, LocalDate expected, boolean smart, boolean stric… in test_resolve_yd_lenient()
528 …public void test_resolve_yd_smart(int y, int d, LocalDate expected, boolean smart, boolean strict)… in test_resolve_yd_smart()
547 …public void test_resolve_yd_strict(int y, int d, LocalDate expected, boolean smart, boolean strict… in test_resolve_yd_strict()
625 …public void test_resolve_ymaa_lenient(int y, int m, int w, int d, LocalDate expected, boolean smar… in test_resolve_ymaa_lenient()
637 …public void test_resolve_ymaa_smart(int y, int m, int w, int d, LocalDate expected, boolean smart,… in test_resolve_ymaa_smart()
658 …public void test_resolve_ymaa_strict(int y, int m, int w, int d, LocalDate expected, boolean smart… in test_resolve_ymaa_strict()
[all …]
DTCKThaiBuddhistChronology.java597 …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 …]
DTCKHijrahChronology.java370 …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()
DTCKMinguoChronology.java621 …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 …]
DTCKJapaneseChronology.java266 public void test_createYmd(int y, int moy, int dom, int doy, LocalDate iso) { in test_createYmd()
274 public void test_createYd(int y, int moy, int dom, int doy, LocalDate iso) { in test_createYd()
282 public void test_createByProleptic_isEqual(int y, int moy, int dom, int doy, LocalDate iso) { in test_createByProleptic_isEqual()
289 …public void test_createByProleptic_chronologyTemporalFactory(int y, int moy, int dom, int doy, Loc… in test_createByProleptic_chronologyTemporalFactory()
296 public void test_createByProleptic_dateFrom(int y, int moy, int dom, int doy, LocalDate iso) { in test_createByProleptic_dateFrom()
303 public void test_createByProleptic_query(int y, int moy, int dom, int doy, LocalDate iso) { in test_createByProleptic_query()
309 public void test_createByProleptic_epochDay(int y, int moy, int dom, int doy, LocalDate iso) { in test_createByProleptic_epochDay()
886 …public void test_resolve_ymd_lenient(int y, int m, int d, JapaneseDate expected, Object smart, boo… in test_resolve_ymd_lenient()
897 …public void test_resolve_ymd_smart(int y, int m, int d, JapaneseDate expected, Object smart, boole… in test_resolve_ymd_smart()
920 …public void test_resolve_ymd_strict(int y, int m, int d, JapaneseDate expected, Object smart, bool… in test_resolve_ymd_strict()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java523 public static native double atan2(double y, double x); in atan2()
737 public static int addExact(int x, int y) { in addExact()
752 public static long addExact(long x, long y) { in addExact()
767 public static int subtractExact(int x, int y) { in subtractExact()
782 public static long subtractExact(long x, long y) { in subtractExact()
797 public static int multiplyExact(int x, int y) { in multiplyExact()
812 public static long multiplyExact(long x, int y) { in multiplyExact()
827 public static long multiplyExact(long x, long y) { in multiplyExact()
854 public static long multiplyFull(int x, int y) { in multiplyFull()
868 public static long multiplyHigh(long x, long y) { in multiplyHigh()
[all …]
DMath.java520 public static native double atan2(double y, double x); in atan2()
822 public static int addExact(int x, int y) { in addExact()
841 public static long addExact(long x, long y) { in addExact()
860 public static int subtractExact(int x, int y) { in subtractExact()
880 public static long subtractExact(long x, long y) { in subtractExact()
900 public static int multiplyExact(int x, int y) { in multiplyExact()
918 public static long multiplyExact(long x, int y) { in multiplyExact()
932 public static long multiplyExact(long x, long y) { in multiplyExact()
1074 public static long multiplyFull(int x, int y) { in multiplyFull()
1087 public static long multiplyHigh(long x, long y) { in multiplyHigh()
[all …]
/libcore/ojluni/src/test/java/lang/StrictMath/
DExactArithTests.java99 static void testIntegerExact(int x, int y) { in testIntegerExact()
188 static void testLongExactTwice(long x, long y) { in testLongExactTwice()
202 static void testLongExact(long x, long y) { in testLongExact()
261 static void checkResult(String message, long x, long y, long result, BigInteger expected) { in checkResult()
320 static void testLongIntExact(long x, int y) { in testLongIntExact()
DMultiplicationTests.java58 private static long multiplyHighBigInt(long x, long y) { in multiplyHighBigInt()
64 private static boolean check(long x, long y) { in check()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DCalendarUtils.java62 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/
DDHPublicKeySpec.java46 private BigInteger y; field in DHPublicKeySpec
61 public DHPublicKeySpec(BigInteger y, BigInteger p, BigInteger g) { in DHPublicKeySpec()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DCallSitesTest.java107 int y = (int) site.getTarget().invokeExact(2, 6); in commonMutableCallSitesTest() local
136 private static int add2(int x, int y) { in add2()
140 private static int add3(int x, int y, int z) { in add3()
144 private static int sub2(int x, int y) { in sub2()
/libcore/ojluni/src/main/java/java/security/spec/
DECPoint.java42 private final BigInteger y; field in ECPoint
63 public ECPoint(BigInteger x, BigInteger y) { in ECPoint()
DDSAPublicKeySpec.java47 private BigInteger y; field in DSAPublicKeySpec
63 public DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, in DSAPublicKeySpec()
/libcore/luni/src/main/java/libcore/util/
DFP16.java303 public static int compare(short x, short y) { in compare()
500 public static short min(short x, short y) { in min()
529 public static short max(short x, short y) { in max()
555 public static boolean less(short x, short y) { in less()
577 public static boolean lessEquals(short x, short y) { in lessEquals()
599 public static boolean greater(short x, short y) { in greater()
621 public static boolean greaterEquals(short x, short y) { in greaterEquals()
643 public static boolean equals(short x, short y) { in equals()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarUtils.java135 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/main/java/java/time/chrono/
DAbstractChronology.java552 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYMD() local
572 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYD() local
582 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYMAA() local
600 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYMAD() local
618 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYAA() local
634 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYAD() local
/libcore/luni/src/test/java/libcore/java/lang/
DShortTest.java65 final short y = -2; // 65534 in testCompareUnsigned() local
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalDate.java204 private void check(LocalDate test, int y, int m, int d) { in check()
205 assertEquals(test.getYear(), y); in check() local
DTCKLocalDateTime.java228 private void check(LocalDateTime test, int y, int m, int d, int h, int mi, int s, int n) { in check()
229 assertEquals(test.getYear(), y); in check() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DArrayTest.java62 Integer[] y = new Integer[]{ 1 }; in test_getLjava_lang_ObjectI() local
489 int[] y = { 2 }; in test_newInstanceLjava_lang_Class$I() local

1234567