Home
last modified time | relevance | path

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

12345678910>>...19

/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
DWatcherImplTest.java80 private int mResult = Integer.MIN_VALUE;
123 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testCorrectResult()
126 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testCorrectResult()
145 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingPeerHandle()
148 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingPeerHandle()
151 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingPeerHandle()
169 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingWatchedHandle()
172 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingWatchedHandle()
175 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testClosingWatchedHandle()
193 Assert.assertEquals(Integer.MIN_VALUE, watcherResult.getResult()); in testInvalidHandle()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java648 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestIndexOf()
650 int[] valid = {UnicodeSet.MIN_VALUE, UnicodeSet.MIN_VALUE+1, in TestIndexOf()
695 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int_int()
711 us.add(UnicodeSet.MIN_VALUE, invalid[i]); in TestAdd_int_int()
719 if(!(us.add(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE).equals(us))) in TestAdd_int_int()
721 + "the same object because start of value " + (UnicodeSet.MIN_VALUE+1) in TestAdd_int_int()
722 + " is greater than end of value " + UnicodeSet.MIN_VALUE); in TestAdd_int_int()
737 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int()
807 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestRetain_int_int()
823 us.retain(UnicodeSet.MIN_VALUE, invalid[i]); in TestRetain_int_int()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java645 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestIndexOf()
647 int[] valid = {UnicodeSet.MIN_VALUE, UnicodeSet.MIN_VALUE+1, in TestIndexOf()
692 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int_int()
708 us.add(UnicodeSet.MIN_VALUE, invalid[i]); in TestAdd_int_int()
716 if(!(us.add(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE).equals(us))) in TestAdd_int_int()
718 + "the same object because start of value " + (UnicodeSet.MIN_VALUE+1) in TestAdd_int_int()
719 + " is greater than end of value " + UnicodeSet.MIN_VALUE); in TestAdd_int_int()
734 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestAdd_int()
804 int[] invalid = {UnicodeSet.MIN_VALUE-1, UnicodeSet.MIN_VALUE-2, in TestRetain_int_int()
820 us.retain(UnicodeSet.MIN_VALUE, invalid[i]); in TestRetain_int_int()
[all …]
/external/turbine/javatests/com/google/turbine/lower/testdata/
Dconst_arith.test6 public static final long S2 = -Short.MIN_VALUE;
7 public static final boolean B1 = -Short.MIN_VALUE < 0;
8 public static final boolean B2 = -Integer.MIN_VALUE < 0;
9 public static final boolean B3 = -Long.MIN_VALUE < 0L;
10 public static final boolean B4 = -Long.MIN_VALUE < 0l;
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDesugarLongCompareTest.java73 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MAX_VALUE, Long.MIN_VALUE)) in testCompareLongWithLambda()
77 assertThat(ClassCallingLongCompare.compareLongWithLambda(Long.MIN_VALUE, Long.MAX_VALUE)) in testCompareLongWithLambda()
87 ClassCallingLongCompare.compareLongWithMethodReference(Long.MAX_VALUE, Long.MIN_VALUE)) in testCompareLongWithMethodReference()
93 ClassCallingLongCompare.compareLongWithMethodReference(Long.MIN_VALUE, Long.MAX_VALUE)) in testCompareLongWithMethodReference()
104 Long.MAX_VALUE, Long.MIN_VALUE)) in testcompareLongByCallingLong_compare()
112 Long.MIN_VALUE, Long.MAX_VALUE)) in testcompareLongByCallingLong_compare()
124 Long.MAX_VALUE, Long.MIN_VALUE)) in testcompareLongByCallingLong_compare2()
132 Long.MIN_VALUE, Long.MAX_VALUE)) in testcompareLongByCallingLong_compare2()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DNumberNodesTest.java36 assertTrue(ShortNode.valueOf(Short.MIN_VALUE).canConvertToInt()); in testShort()
40 assertTrue(ShortNode.valueOf(Short.MIN_VALUE).canConvertToLong()); in testShort()
87 assertTrue(IntNode.valueOf(Integer.MIN_VALUE).canConvertToInt()); in testInt()
91 assertTrue(IntNode.valueOf(Integer.MIN_VALUE).canConvertToLong()); in testInt()
113 assertTrue(LongNode.valueOf(Integer.MIN_VALUE).canConvertToInt()); in testLong()
116 assertFalse(LongNode.valueOf(-1L + Integer.MIN_VALUE).canConvertToInt()); in testLong()
120 assertTrue(LongNode.valueOf(Long.MIN_VALUE).canConvertToLong()); in testLong()
165 assertTrue(DoubleNode.valueOf(Integer.MIN_VALUE).canConvertToInt()); in testDouble()
167 assertFalse(DoubleNode.valueOf(-1L + Integer.MIN_VALUE).canConvertToInt()); in testDouble()
171 assertTrue(DoubleNode.valueOf(Long.MIN_VALUE).canConvertToLong()); in testDouble()
[all …]
/external/smali/smali/src/test/java/org/jf/smali/
DShortLiteralTest.java47 Assert.assertTrue(LiteralTools.parseShort("0x8000") == Short.MIN_VALUE); in SuccessHexTests()
53 Assert.assertTrue(LiteralTools.parseShort("-0x8000") == Short.MIN_VALUE); in SuccessHexTests()
80 Assert.assertTrue(LiteralTools.parseShort("32768") == Short.MIN_VALUE); in SuccessDecTests()
88 Assert.assertTrue(LiteralTools.parseShort("-32768") == Short.MIN_VALUE); in SuccessDecTests()
118 Assert.assertTrue(LiteralTools.parseShort("0100000") == Short.MIN_VALUE); in SuccessOctTests()
126 Assert.assertTrue(LiteralTools.parseShort("-0100000") == Short.MIN_VALUE); in SuccessOctTests()
DByteLiteralTest.java47 Assert.assertTrue(LiteralTools.parseByte("0x80t") == Byte.MIN_VALUE); in SuccessHexTests()
53 Assert.assertTrue(LiteralTools.parseByte("-0x80") == Byte.MIN_VALUE); in SuccessHexTests()
80 Assert.assertTrue(LiteralTools.parseByte("128") == Byte.MIN_VALUE); in SuccessDecTests()
88 Assert.assertTrue(LiteralTools.parseByte("-128") == Byte.MIN_VALUE); in SuccessDecTests()
118 Assert.assertTrue(LiteralTools.parseByte("0200T") == Byte.MIN_VALUE); in SuccessOctTests()
126 Assert.assertTrue(LiteralTools.parseByte("-0200") == Byte.MIN_VALUE); in SuccessOctTests()
DLongLiteralTest.java45 Assert.assertTrue(LiteralTools.parseLong("0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
51 Assert.assertTrue(LiteralTools.parseLong("-0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
76 Assert.assertTrue(LiteralTools.parseLong("9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
83 Assert.assertTrue(LiteralTools.parseLong("-9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
112 Assert.assertTrue(LiteralTools.parseLong("01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
119 Assert.assertTrue(LiteralTools.parseLong("-01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
DIntLiteralTest.java46 Assert.assertTrue(LiteralTools.parseInt("0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
52 Assert.assertTrue(LiteralTools.parseInt("-0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
79 Assert.assertTrue(LiteralTools.parseInt("2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
87 Assert.assertTrue(LiteralTools.parseInt("-2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
122 Assert.assertTrue(LiteralTools.parseInt("020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
130 Assert.assertTrue(LiteralTools.parseInt("-020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
/external/guava/android/guava-tests/test/com/google/common/primitives/
DLongsTest.java20 import static java.lang.Long.MIN_VALUE;
49 private static final long[] VALUES = {MIN_VALUE, (long) -1, (long) 0, (long) 1, MAX_VALUE};
141 assertEquals(MIN_VALUE, Longs.max(MIN_VALUE)); in testMax()
156 assertEquals(MIN_VALUE, Longs.min(MIN_VALUE)); in testMin()
302 new long[] {MIN_VALUE}, in testLexicographicalComparator()
303 new long[] {MIN_VALUE, MIN_VALUE}, in testLexicographicalComparator()
304 new long[] {MIN_VALUE, (long) 1}, in testLexicographicalComparator()
306 new long[] {(long) 1, MIN_VALUE}, in testLexicographicalComparator()
531 tryParseAndAssertEquals(MIN_VALUE, Long.toString(MIN_VALUE)); in testTryParse()
544 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString())); in testTryParse()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DLongsTest.java20 import static java.lang.Long.MIN_VALUE;
49 private static final long[] VALUES = {MIN_VALUE, (long) -1, (long) 0, (long) 1, MAX_VALUE};
141 assertEquals(MIN_VALUE, Longs.max(MIN_VALUE)); in testMax()
156 assertEquals(MIN_VALUE, Longs.min(MIN_VALUE)); in testMin()
302 new long[] {MIN_VALUE}, in testLexicographicalComparator()
303 new long[] {MIN_VALUE, MIN_VALUE}, in testLexicographicalComparator()
304 new long[] {MIN_VALUE, (long) 1}, in testLexicographicalComparator()
306 new long[] {(long) 1, MIN_VALUE}, in testLexicographicalComparator()
531 tryParseAndAssertEquals(MIN_VALUE, Long.toString(MIN_VALUE)); in testTryParse()
544 Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString())); in testTryParse()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSetValuesTest.java71 testField(classID, fieldInfo, Value.createByte(Byte.MIN_VALUE)); in testField()
77 testField(classID, fieldInfo, Value.createChar(Character.MIN_VALUE)); in testField()
80 testField(classID, fieldInfo, Value.createFloat(Float.MIN_VALUE)); in testField()
88 testField(classID, fieldInfo, Value.createDouble(Double.MIN_VALUE)); in testField()
96 testField(classID, fieldInfo, Value.createInt(Integer.MIN_VALUE)); in testField()
101 testField(classID, fieldInfo, Value.createLong(Long.MIN_VALUE)); in testField()
106 testField(classID, fieldInfo, Value.createShort(Short.MIN_VALUE)); in testField()
/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/guava/android/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java48 MathPreconditions.checkPositive("int", Integer.MIN_VALUE); in testCheckPositive_minInt()
80 MathPreconditions.checkPositive("long", Long.MIN_VALUE); in testCheckPositive_minLong()
128 MathPreconditions.checkNonNegative("int", Integer.MIN_VALUE); in testCheckNonNegative_minInt()
156 MathPreconditions.checkNonNegative("long", Long.MIN_VALUE); in testCheckNonNegative_minLong()
199 MathPreconditions.checkNonNegative("float", Float.MIN_VALUE); in testCheckNonNegative_minFloat()
231 MathPreconditions.checkNonNegative("double", Double.MIN_VALUE); in testCheckNonNegative_minDouble()
/external/guava/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java48 MathPreconditions.checkPositive("int", Integer.MIN_VALUE); in testCheckPositive_minInt()
80 MathPreconditions.checkPositive("long", Long.MIN_VALUE); in testCheckPositive_minLong()
128 MathPreconditions.checkNonNegative("int", Integer.MIN_VALUE); in testCheckNonNegative_minInt()
156 MathPreconditions.checkNonNegative("long", Long.MIN_VALUE); in testCheckNonNegative_minLong()
199 MathPreconditions.checkNonNegative("float", Float.MIN_VALUE); in testCheckNonNegative_minFloat()
231 MathPreconditions.checkNonNegative("double", Double.MIN_VALUE); in testCheckNonNegative_minDouble()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/value/
DKeyframe.java27 private float startProgress = Float.MIN_VALUE;
28 private float endProgress = Float.MIN_VALUE;
55 startFrame = Float.MIN_VALUE; in Keyframe()
63 if (startProgress == Float.MIN_VALUE) { in getStartProgress()
73 if (endProgress == Float.MIN_VALUE) { in getEndProgress()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DLongValueImpl.java108 if ((value > Byte.MAX_VALUE) || (value < Byte.MIN_VALUE)) { in checkedByteValue()
116 if ((value > Character.MAX_VALUE) || (value < Character.MIN_VALUE)) { in checkedCharValue()
124 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) { in checkedShortValue()
132 if ((value > Integer.MAX_VALUE) || (value < Integer.MIN_VALUE)) { in checkedIntValue()
DDoubleValueImpl.java108 if ((value > Byte.MAX_VALUE) || (value < Byte.MIN_VALUE)) { in checkedByteValue()
116 if ((value > Character.MAX_VALUE) || (value < Character.MIN_VALUE)) { in checkedCharValue()
124 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) { in checkedShortValue()
132 if ((value > Integer.MAX_VALUE) || (value < Integer.MIN_VALUE)) { in checkedIntValue()
/external/guava/android/guava/src/com/google/common/collect/
DDiscreteDomain.java73 return (i == Integer.MIN_VALUE) ? null : i - 1; in previous()
89 return Integer.MIN_VALUE; in minValue()
134 return (l == Long.MIN_VALUE) ? null : l - 1; in previous()
154 return Long.MIN_VALUE;
161 return Long.MIN_VALUE;
198 private static final BigInteger MIN_LONG = BigInteger.valueOf(Long.MIN_VALUE);
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java73 return (i == Integer.MIN_VALUE) ? null : i - 1; in previous()
89 return Integer.MIN_VALUE; in minValue()
134 return (l == Long.MIN_VALUE) ? null : l - 1; in previous()
154 return Long.MIN_VALUE;
161 return Long.MIN_VALUE;
198 private static final BigInteger MIN_LONG = BigInteger.valueOf(Long.MIN_VALUE);
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipUtilTest.java135 final BigInteger big3 = BigInteger.valueOf(Long.MIN_VALUE); in testBigToLong()
139 assertEquals(Long.MIN_VALUE, ZipUtil.bigToLong(big3)); in testBigToLong()
163 final long l3 = Integer.MIN_VALUE; in testLongToBig()
165 final long l5 = Long.MIN_VALUE; in testLongToBig()
191 for (int i = Byte.MIN_VALUE; i <= Byte.MAX_VALUE; i++) { in testSignedByteToUnsignedInt()
204 for (int i = Byte.MIN_VALUE; i <= Byte.MAX_VALUE; i++) { in testUnsignedIntToSignedByte()
/external/guava/guava-tests/test/com/google/common/collect/
DContiguousSetTest.java121 ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE), in testEquals()
127 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
130 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
131 ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers())); in testEquals()
133 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
181 ImmutableSet.of(), ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers())); in testCreate_empty()
206 assertThat(set.tailSet(Integer.MIN_VALUE)).containsExactly(1, 2, 3).inOrder(); in testTailSet()
210 assertThat(set.tailSet(Integer.MIN_VALUE, false)).containsExactly(1, 2, 3).inOrder(); in testTailSet()
230 assertThat(set.subSet(Integer.MIN_VALUE, Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder(); in testSubSet()
258 Integer.MIN_VALUE, in testFirst()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DContiguousSetTest.java121 ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE), in testEquals()
127 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
130 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
131 ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers())); in testEquals()
133 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
181 ImmutableSet.of(), ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers())); in testCreate_empty()
206 assertThat(set.tailSet(Integer.MIN_VALUE)).containsExactly(1, 2, 3).inOrder(); in testTailSet()
210 assertThat(set.tailSet(Integer.MIN_VALUE, false)).containsExactly(1, 2, 3).inOrder(); in testTailSet()
230 assertThat(set.subSet(Integer.MIN_VALUE, Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder(); in testSubSet()
258 Integer.MIN_VALUE, in testFirst()
[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()

12345678910>>...19