Home
last modified time | relevance | path

Searched defs:min (Results 1 – 25 of 84) sorted by relevance

1234

/libcore/ojluni/src/test/java/lang/Math/
DClamp.java71 int min = Math.toIntExact(test[1]); in testIntClamp() local
79 int min = Math.toIntExact(test[1]); in testIntClamp() local
111 long min = test[1]; in testLongClamp() local
119 long min = test[1]; in testLongClamp() local
175 double min = test[1]; in testDoubleClamp() local
183 double min = test[1]; in testDoubleClamp() local
239 float min = test[1]; in testFloatClamp() local
247 float min = test[1]; in testFloatClamp() local
/libcore/ojluni/src/main/java/java/util/
DIntSummaryStatistics.java68 private int min = Integer.MAX_VALUE; field in IntSummaryStatistics
108 public IntSummaryStatistics(long count, int min, int max, long sum) in IntSummaryStatistics()
DLongSummaryStatistics.java69 private long min = Long.MAX_VALUE; field in LongSummaryStatistics
109 public LongSummaryStatistics(long count, long min, long max, long sum) in LongSummaryStatistics()
DDoubleSummaryStatistics.java71 private double min = Double.POSITIVE_INFINITY; field in DoubleSummaryStatistics
111 public DoubleSummaryStatistics(long count, double min, double max, double sum) in DoubleSummaryStatistics()
/libcore/luni/src/test/java/libcore/java/lang/
DLongTest.java39 final long min = Long.MIN_VALUE; in testCompare() local
DShortTest.java21 final short min = Short.MIN_VALUE; in test_compare() local
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNumberParser.java96 …public void test_parse_error(TemporalField field, int min, int max, SignStyle style, String text, … in test_parse_error()
308 …public void test_parseSignsStrict(String input, int min, int max, SignStyle style, int parseLen, I… in test_parseSignsStrict()
417 …public void test_parseSignsLenient(String input, int min, int max, SignStyle style, int parseLen, … in test_parseSignsLenient()
508 …public void test_parseDigitsLenient(String input, int min, int max, SignStyle style, int parseLen,… in test_parseDigitsLenient()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatters.java451 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoLocalTime()
468 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_parse_isoLocalTime()
521 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoOffsetTime()
538 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_parse_isoOffsetTime()
591 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoTime()
608 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_parse_isoTime()
672 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoLocalDateTime()
690 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_parse_isoLocalDateTime()
751 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoOffsetDateTime()
769 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_parse_isoOffsetDateTime()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DTreeSetTest.java740 void mutateSet(NavigableSet<Integer> set, int min, int max) { in mutateSet()
765 void mutateSubSet(NavigableSet<Integer> set, int min, int max) { in mutateSubSet()
807 int min, int max, boolean ascending) { in bashSubSet()
809 check(set.descendingSet(), min, max, !ascending); in bashSubSet() local
813 check(set.descendingSet(), min, max, !ascending); in bashSubSet() local
827 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
850 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
888 final int min, final int max, final boolean ascending) { in check()
DConcurrentSkipListSetTest.java743 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { in mutateSet()
768 void mutateSubSet(NavigableSet<Integer> set, int min, int max, in mutateSubSet()
811 int min, int max, boolean ascending, in bashSubSet()
814 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() local
818 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() local
832 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
855 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
893 final int min, final int max, final boolean ascending, in check()
DTimeUnit8Test.java169 Duration min = Duration.of(Long.MIN_VALUE, cu); in testConvertDuration_nearOverflow() local
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSetTest.java712 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { in mutateSet()
737 void mutateSubSet(NavigableSet<Integer> set, int min, int max, in mutateSubSet()
780 int min, int max, boolean ascending, in bashSubSet()
783 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() local
787 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() local
801 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
824 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
862 final int min, final int max, final boolean ascending, in check()
DTreeSetTest.java716 void mutateSet(NavigableSet<Integer> set, int min, int max) { in mutateSet()
741 void mutateSubSet(NavigableSet<Integer> set, int min, int max) { in mutateSubSet()
783 int min, int max, boolean ascending) { in bashSubSet()
785 check(set.descendingSet(), min, max, !ascending); in bashSubSet() local
789 check(set.descendingSet(), min, max, !ascending); in bashSubSet() local
803 bashSubSet(hm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
826 bashSubSet(tm.descendingSet(), min, midPoint - (incl ? 0 : 1), in bashSubSet() local
864 final int min, final int max, final boolean ascending) { in check()
/libcore/ojluni/annotations/flagged_api/java/lang/
DStrictMath.annotated.java181 public static int min(int a, int b) { throw new RuntimeException("Stub!"); } in min() method in StrictMath
183 public static long min(long a, long b) { throw new RuntimeException("Stub!"); } in min() method in StrictMath
185 public static float min(float a, float b) { throw new RuntimeException("Stub!"); } in min() method in StrictMath
187 public static double min(double a, double b) { throw new RuntimeException("Stub!"); } in min() method in StrictMath
190 public static int clamp(long value, int min, int max) { throw new RuntimeException("Stub!"); } in clamp()
193 public static long clamp(long value, long min, long max) { throw new RuntimeException("Stub!"); } in clamp()
196 public static double clamp(double value, double min, double max) { throw new RuntimeException("Stub… in clamp()
199 public static float clamp(float value, float min, float max) { throw new RuntimeException("Stub!");… in clamp()
DMath.annotated.java182 public static int min(int a, int b) { throw new RuntimeException("Stub!"); } in min() method in Math
184 public static long min(long a, long b) { throw new RuntimeException("Stub!"); } in min() method in Math
186 public static float min(float a, float b) { throw new RuntimeException("Stub!"); } in min() method in Math
188 public static double min(double a, double b) { throw new RuntimeException("Stub!"); } in min() method in Math
191 public static int clamp(long value, int min, int max) { throw new RuntimeException("Stub!"); } in clamp()
194 public static long clamp(long value, long min, long max) { throw new RuntimeException("Stub!"); } in clamp()
197 public static double clamp(double value, double min, double max) { throw new RuntimeException("Stub… in clamp()
200 public static float clamp(float value, float min, float max) { throw new RuntimeException("Stub!");… in clamp()
/libcore/ojluni/src/main/java/java/time/temporal/
DValueRange.java126 public static ValueRange of(long min, long max) { in of()
147 public static ValueRange of(long min, long maxSmallest, long maxLargest) { in of()
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java1798 public static int min(int a, int b) { in min() method in StrictMath
1812 public static long min(long a, long b) { in min() method in StrictMath
1831 public static float min(float a, float b) { in min() method in StrictMath
1850 public static double min(double a, double b) { in min() method in StrictMath
1873 public static int clamp(long value, int min, int max) { in clamp()
1891 public static long clamp(long value, long min, long max) { in clamp()
1915 public static double clamp(double value, double min, double max) { in clamp()
1939 public static float clamp(float value, float min, float max) { in clamp()
DMath.java2261 public static int min(int a, int b) { in min() method in Math
2275 public static long min(long a, long b) { in min() method in Math
2298 public static float min(float a, float b) { in min() method in Math
2329 public static double min(double a, double b) { in min() method in Math
2360 public static int clamp(long value, int min, int max) { in clamp()
2381 public static long clamp(long value, long min, long max) { in clamp()
2408 public static double clamp(double value, double min, double max) { in clamp()
2449 public static float clamp(float value, float min, float max) { in clamp()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DAppendStringBuffer.java68 private static StringBuffer generateTestBuffer(int min, int max) { in generateTestBuffer()
/libcore/ojluni/src/test/java/lang/StringBuffer/
DAppendStringBuilder.java67 private static StringBuilder generateTestBuilder(int min, int max) { in generateTestBuilder()
DAppendSB.java68 private static StringBuffer generateTestBuffer(int min, int max) { in generateTestBuffer()
DTrim.java114 private static StringBuffer generateTestBuffer(int min, int max) { in generateTestBuffer()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java1559 int min = 0; in test_plusMinutes_one() local
1568 assertEquals(t.getMinute(), min); in test_plusMinutes_one() local
1576 int min; in test_plusMinutes_fromZero() local
1593 assertEquals(t.getMinute(), min); in test_plusMinutes_fromZero() local
1635 int min = 0; in test_plusSeconds_one() local
1649 assertEquals(t.getMinute(), min); in test_plusSeconds_one() local
1660 int min = 59; in plusSeconds_fromZero() local
1696 public void test_plusSeconds_fromZero(int seconds, int hour, int min, int sec) { in test_plusSeconds_fromZero()
1736 int min = 0; in test_plusNanos_halfABillion() local
1755 assertEquals(t.getMinute(), min); in test_plusNanos_halfABillion() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DByteTest.java357 final Byte min = new Byte(Byte.MIN_VALUE); in test_compareToLjava_lang_Byte() local
/libcore/ojluni/src/main/native/
DSocketOutputStream.c41 #define min(a, b) ((a) < (b) ? (a) : (b)) macro

1234