/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/ |
D | WatcherImplTest.java | 80 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/ |
D | StringTokenizerTest.java | 648 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/ |
D | StringTokenizerTest.java | 645 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/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | DesugarLongCompareTest.java | 73 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/turbine/javatests/com/google/turbine/lower/testdata/ |
D | const_arith.test | 6 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/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | LongsTest.java | 20 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/guava/guava-tests/test/com/google/common/primitives/ |
D | LongsTest.java | 20 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/smali/smali/src/test/java/org/jf/smali/ |
D | ByteLiteralTest.java | 47 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()
|
D | ShortLiteralTest.java | 47 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()
|
D | LongLiteralTest.java | 45 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()
|
D | IntLiteralTest.java | 46 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/guava/src/com/google/common/collect/ |
D | DiscreteDomain.java | 68 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/ |
D | MathPreconditionsTest.java | 46 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-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
D | SetValuesTest.java | 71 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/ |
D | IntVector.java | 238 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/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | LongValueImpl.java | 108 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()
|
D | DoubleValueImpl.java | 108 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()
|
D | IntegerValueImpl.java | 102 if ((value > Byte.MAX_VALUE) || (value < Byte.MIN_VALUE)) { in checkedByteValue() 110 if ((value > Character.MAX_VALUE) || (value < Character.MIN_VALUE)) { in checkedCharValue() 118 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) { in checkedShortValue()
|
D | FloatValueImpl.java | 108 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()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ContiguousSetTest.java | 73 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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipUtilTest.java | 135 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/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | IntTagTest.java | 40 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/ |
D | ContiguousSetTest.java | 90 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/ |
D | Fraction.java | 262 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/util/ |
D | MathUtils.java | 106 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 …]
|