Home
last modified time | relevance | path

Searched refs:MIN_VALUE (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/external/v8/test/mjsunit/es6/
Darray-length.js12 var o = { length: Number.MIN_VALUE };
18 var o = { length: Number.MIN_VALUE };
24 var o = { length: Number.MIN_VALUE };
30 var o = { length: Number.MIN_VALUE };
44 var o = { length: Number.MIN_VALUE };
54 var o = { 0: 'foo', length: Number.MIN_VALUE }
57 assertEquals(Number.MIN_VALUE, result.length);
58 assertEquals(Number.MIN_VALUE, o.length);
62 var o = { 0: "foo", length: Number.MIN_VALUE }
78 var o = { length: Number.MIN_VALUE };
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java638 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestIndexOf()
640 int[] valid = {UnicodeSet.MIN_VALUE, UnicodeSet.MIN_VALUE+1, in TestIndexOf()
683 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int_int()
699 us.add(UnicodeSet.MIN_VALUE, invalid[i]); in TestAdd_int_int()
707 if(!(us.add(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE).equals(us))) in TestAdd_int_int()
709 + "the same object because start of value " + (UnicodeSet.MIN_VALUE+1) in TestAdd_int_int()
710 + " is greater than end of value " + UnicodeSet.MIN_VALUE); in TestAdd_int_int()
724 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int()
791 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestRetain_int_int()
807 us.retain(UnicodeSet.MIN_VALUE, invalid[i]); in TestRetain_int_int()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java642 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestIndexOf()
644 int[] valid = {UnicodeSet.MIN_VALUE, UnicodeSet.MIN_VALUE+1, in TestIndexOf()
687 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int_int()
703 us.add(UnicodeSet.MIN_VALUE, invalid[i]); in TestAdd_int_int()
711 if(!(us.add(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE).equals(us))) in TestAdd_int_int()
713 + "the same object because start of value " + (UnicodeSet.MIN_VALUE+1) in TestAdd_int_int()
714 + " is greater than end of value " + UnicodeSet.MIN_VALUE); in TestAdd_int_int()
728 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int()
795 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestRetain_int_int()
811 us.retain(UnicodeSet.MIN_VALUE, invalid[i]); in TestRetain_int_int()
[all …]
/external/v8/test/mjsunit/
Dnumber-limits.js34 var mulBelowMin = Number.MIN_VALUE * (1 - eps);
35 var addBelowMin = Number.MIN_VALUE - eps;
40 assertTrue(mulBelowMin == Number.MIN_VALUE ||
42 assertTrue(addBelowMin == Number.MIN_VALUE ||
Dmath-abs.js59 assertEquals(Number.MIN_VALUE, Math.abs(Number.MIN_VALUE));
60 assertEquals(Number.MIN_VALUE, Math.abs(-Number.MIN_VALUE));
Dnumber-is.js32 assertTrue(Number.isFinite(Number.MIN_VALUE));
51 assertFalse(Number.isNaN(Number.MIN_VALUE));
75 assertFalse(Number.isInteger(Number.MIN_VALUE));
101 assertFalse(Number.isSafeInteger(Number.MIN_VALUE));
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DLongsTest.java20 import static java.lang.Long.MIN_VALUE;
50 { MIN_VALUE, (long) -1, (long) 0, (long) 1, MAX_VALUE };
144 assertEquals(MIN_VALUE, Longs.max(MIN_VALUE)); in testMax()
160 assertEquals(MIN_VALUE, Longs.min(MIN_VALUE)); in testMin()
272 new long[] {MIN_VALUE}, in testLexicographicalComparator()
273 new long[] {MIN_VALUE, MIN_VALUE}, in testLexicographicalComparator()
274 new long[] {MIN_VALUE, (long) 1}, in testLexicographicalComparator()
276 new long[] {(long) 1, MIN_VALUE}, in testLexicographicalComparator()
424 tryParseAndAssertEquals(MIN_VALUE, Long.toString(MIN_VALUE)); in testTryParse()
434 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString())); in testTryParse()
[all …]
/external/smali/smali/src/test/java/
DLongLiteralTest.java42 Assert.assertTrue(LiteralTools.parseLong("0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
48 Assert.assertTrue(LiteralTools.parseLong("-0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
73 Assert.assertTrue(LiteralTools.parseLong("9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
80 Assert.assertTrue(LiteralTools.parseLong("-9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
109 Assert.assertTrue(LiteralTools.parseLong("01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
116 Assert.assertTrue(LiteralTools.parseLong("-01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
DShortLiteralTest.java44 Assert.assertTrue(LiteralTools.parseShort("0x8000") == Short.MIN_VALUE); in SuccessHexTests()
50 Assert.assertTrue(LiteralTools.parseShort("-0x8000") == Short.MIN_VALUE); in SuccessHexTests()
77 Assert.assertTrue(LiteralTools.parseShort("32768") == Short.MIN_VALUE); in SuccessDecTests()
85 Assert.assertTrue(LiteralTools.parseShort("-32768") == Short.MIN_VALUE); in SuccessDecTests()
115 Assert.assertTrue(LiteralTools.parseShort("0100000") == Short.MIN_VALUE); in SuccessOctTests()
123 Assert.assertTrue(LiteralTools.parseShort("-0100000") == Short.MIN_VALUE); in SuccessOctTests()
DByteLiteralTest.java44 Assert.assertTrue(LiteralTools.parseByte("0x80t") == Byte.MIN_VALUE); in SuccessHexTests()
50 Assert.assertTrue(LiteralTools.parseByte("-0x80") == Byte.MIN_VALUE); in SuccessHexTests()
77 Assert.assertTrue(LiteralTools.parseByte("128") == Byte.MIN_VALUE); in SuccessDecTests()
85 Assert.assertTrue(LiteralTools.parseByte("-128") == Byte.MIN_VALUE); in SuccessDecTests()
115 Assert.assertTrue(LiteralTools.parseByte("0200T") == Byte.MIN_VALUE); in SuccessOctTests()
123 Assert.assertTrue(LiteralTools.parseByte("-0200") == Byte.MIN_VALUE); in SuccessOctTests()
DIntLiteralTest.java43 Assert.assertTrue(LiteralTools.parseInt("0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
49 Assert.assertTrue(LiteralTools.parseInt("-0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
76 Assert.assertTrue(LiteralTools.parseInt("2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
84 Assert.assertTrue(LiteralTools.parseInt("-2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
119 Assert.assertTrue(LiteralTools.parseInt("020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
127 Assert.assertTrue(LiteralTools.parseInt("-020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
/external/guava/guava-tests/test/com/google/common/primitives/
DLongsTest.java20 import static java.lang.Long.MIN_VALUE;
53 { MIN_VALUE, (long) -1, (long) 0, (long) 1, MAX_VALUE };
155 assertEquals(MIN_VALUE, Longs.max(MIN_VALUE)); in testMax()
171 assertEquals(MIN_VALUE, Longs.min(MIN_VALUE)); in testMin()
283 new long[] {MIN_VALUE}, in testLexicographicalComparator()
284 new long[] {MIN_VALUE, MIN_VALUE}, in testLexicographicalComparator()
285 new long[] {MIN_VALUE, (long) 1}, in testLexicographicalComparator()
287 new long[] {(long) 1, MIN_VALUE}, in testLexicographicalComparator()
457 tryParseAndAssertEquals(MIN_VALUE, Long.toString(MIN_VALUE)); in testTryParse()
467 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString())); in testTryParse()
[all …]
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java68 return (i == Integer.MIN_VALUE) ? null : i - 1; in previous()
76 return Integer.MIN_VALUE; in minValue()
115 return (l == Long.MIN_VALUE) ? null : l - 1; in previous()
124 return Long.MIN_VALUE; in distance()
130 return Long.MIN_VALUE; in minValue()
163 BigInteger.valueOf(Long.MIN_VALUE);
/external/guava/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java46 MathPreconditions.checkPositive("int", Integer.MIN_VALUE); in testCheckPositive_minInt()
75 MathPreconditions.checkPositive("long", Long.MIN_VALUE); in testCheckPositive_minLong()
119 MathPreconditions.checkNonNegative("int", Integer.MIN_VALUE); in testCheckNonNegative_minInt()
145 MathPreconditions.checkNonNegative("long", Long.MIN_VALUE); in testCheckNonNegative_minLong()
185 MathPreconditions.checkNonNegative("float", Float.MIN_VALUE); in testCheckNonNegative_minFloat()
215 MathPreconditions.checkNonNegative("double", Double.MIN_VALUE); in testCheckNonNegative_minDouble()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DIntVector.java238 m_map[i] = java.lang.Integer.MIN_VALUE; in removeAllElements()
265 m_map[i] = java.lang.Integer.MIN_VALUE; in removeElement()
290 m_map[i] = java.lang.Integer.MIN_VALUE; in removeElementAt()
361 return java.lang.Integer.MIN_VALUE; in indexOf()
383 return java.lang.Integer.MIN_VALUE; in indexOf()
405 return java.lang.Integer.MIN_VALUE; in lastIndexOf()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSetValuesTest.java72 testField(classID, fieldInfo, new Value(Byte.MIN_VALUE)); in testField()
78 testField(classID, fieldInfo, new Value((char)Character.MIN_VALUE)); in testField()
81 testField(classID, fieldInfo, new Value((float)Float.MIN_VALUE)); in testField()
89 testField(classID, fieldInfo, new Value((double)Double.MIN_VALUE)); in testField()
97 testField(classID, fieldInfo, new Value((int)Integer.MIN_VALUE)); in testField()
102 testField(classID, fieldInfo, new Value((long)Long.MIN_VALUE)); in testField()
107 testField(classID, fieldInfo, new Value((short)Short.MIN_VALUE)); in testField()
/external/v8/test/mjsunit/asm/
Dmath-abs.js81 assertEquals(Number.MIN_VALUE, f(Number.MIN_VALUE));
82 assertEquals(Number.MIN_VALUE, f(-Number.MIN_VALUE));
/external/v8/test/mjsunit/harmony/
Dsimd.js192 test(Number.MIN_VALUE, 0);
200 test(Number.MIN_VALUE, 0);
201 test(-Number.MIN_VALUE, 0);
221 test(Number.MIN_VALUE, 0);
222 test(-Number.MIN_VALUE, 0);
239 test(Number.MIN_VALUE, 0);
240 test(-Number.MIN_VALUE, 0);
260 test(Number.MIN_VALUE, 0);
261 test(-Number.MIN_VALUE, 0);
278 test(Number.MIN_VALUE, 0);
[all …]
/external/skia/src/animator/
DSkDisplayNumber.cpp14 SK_PROPERTY(MIN_VALUE),
24 SK_MEMBER_PROPERTY(MIN_VALUE, Float),
47 case SK_PROPERTY(MIN_VALUE): in getProperty()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DContiguousSetTest.java73 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
76 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
77 ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers())); in testEquals()
79 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
103 ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers())); in testCreate_empty()
128 assertThat(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
132 assertThat(set.tailSet(Integer.MIN_VALUE, false)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
152 assertThat(set.subSet(Integer.MIN_VALUE, Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testSubSet()
178 assertEquals(Integer.MIN_VALUE, in testFirst()
254 assertEquals(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testRange_unboundedRange()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DIntTagTest.java40 assertEquals(Integer.MIN_VALUE, load(dump(Integer.MIN_VALUE))); in testInt()
48 assertEquals(Long.MIN_VALUE, load("-9223372036854775808")); in testBigInt()
/external/guava/guava-tests/test/com/google/common/collect/
DContiguousSetTest.java90 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
93 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
94 ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers())); in testEquals()
96 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals()
141 ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers())); in testCreate_empty()
166 assertThat(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
170 assertThat(set.tailSet(Integer.MIN_VALUE, false)).has().exactly(1, 2, 3).inOrder(); in testTailSet()
190 assertThat(set.subSet(Integer.MIN_VALUE, Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testSubSet()
216 assertEquals(Integer.MIN_VALUE, in testFirst()
292 assertEquals(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testRange_unboundedRange()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DFraction.java262 if (num == Integer.MIN_VALUE || den == Integer.MIN_VALUE) { in Fraction()
405 if (numerator==Integer.MIN_VALUE) { in negate()
609 if (denominator==Integer.MIN_VALUE && (numerator&1)==0) { in getReducedFraction()
613 if (numerator==Integer.MIN_VALUE || in getReducedFraction()
614 denominator==Integer.MIN_VALUE) { in getReducedFraction()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DChromosome.java33 private double fitness = Double.MIN_VALUE;
45 if (this.fitness == Double.MIN_VALUE) { in getFitness()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java106 if (s < Integer.MIN_VALUE || s > Integer.MAX_VALUE) { in addAndCheck()
148 if (Long.MIN_VALUE - b <= a) { in addAndCheck()
901 if ((u == Integer.MIN_VALUE) || (v == Integer.MIN_VALUE)) {
990 if ((u == Long.MIN_VALUE) || (v == Long.MIN_VALUE)){
1166 if (lcm == Integer.MIN_VALUE) {
1201 if (lcm == Long.MIN_VALUE){
1241 if (m < Integer.MIN_VALUE || m > Integer.MAX_VALUE) {
1274 if (Long.MIN_VALUE / b <= a) {
1328 return (direction < 0) ? -Double.MIN_VALUE : Double.MIN_VALUE;
1736 if (s < Integer.MIN_VALUE || s > Integer.MAX_VALUE) {
[all …]

12345678910>>...12