/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | NumberTest.java | 28 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue() 32 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue() 36 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue() 40 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue() 50 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue() 54 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue() 58 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue() 62 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue()
|
D | IntegerTest.java | 73 132233, Integer.decode("132233").intValue()); in test_decodeLjava_lang_String2() 75 07654321, Integer.decode("07654321").intValue()); in test_decodeLjava_lang_String2() 77 Integer.decode("#1234567").intValue() == 0x1234567); in test_decodeLjava_lang_String2() 79 Integer.decode("0xdAd").intValue() == 0xdad); in test_decodeLjava_lang_String2() 80 assertEquals("Failed for -23", -23, Integer.decode("-23").intValue()); in test_decodeLjava_lang_String2() 82 .decode("0").intValue()); in test_decodeLjava_lang_String2() 84 .intValue()); in test_decodeLjava_lang_String2() 86 Integer.decode("-2147483648").intValue() == 0x80000000); in test_decodeLjava_lang_String2() 88 Integer.decode("-0x80000000").intValue() == 0x80000000); in test_decodeLjava_lang_String2() 90 Integer.decode("2147483647").intValue() == 0x7fffffff); in test_decodeLjava_lang_String2() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDecimalFormatTestICU.java | 77 assertEquals(123, format.parse("xxxxxxxxx123.0").intValue()); in test_paddingPattern() 86 assertEquals(2, format.parse("\u00e72 o'clock").intValue()); in test_paddingPattern() 87 assertEquals(12, format.parse("12 o'clock").intValue()); in test_paddingPattern() 111 assertEquals(100, format.parse("1E+2").intValue()); in test_positiveExponentSign() 116 assertEquals(100, format.parse("1E2 m/s").intValue()); in test_positiveExponentSign() 124 assertEquals(12345, format.parse("12.345E3").intValue()); in test_positiveExponentSign() 139 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize() 142 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize() 145 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidArrayListTest.java | 43 assertEquals(1, ((Integer) array.get(0)).intValue()); in testArrayList() 44 assertEquals(2, ((Integer) array.get(1)).intValue()); in testArrayList() 45 assertEquals(0, ((Integer) array.get(2)).intValue()); in testArrayList() 46 assertEquals(3, ((Integer) array.get(3)).intValue()); in testArrayList() 47 assertEquals(1, ((Integer) array.get(4)).intValue()); in testArrayList() 61 assertEquals(1, ((Integer) array.get(0)).intValue()); in testArrayList() 62 assertEquals(3, ((Integer) array.get(1)).intValue()); in testArrayList() 63 assertEquals(1, ((Integer) array.get(2)).intValue()); in testArrayList()
|
D | OldAndroidHashMapTest.java | 80 assertEquals(-1, map.put(null, 0).intValue()); in testManipulate() 82 assertEquals(0, map.get(null).intValue()); in testManipulate() 83 assertEquals(1, map.get("one").intValue()); in testManipulate() 84 assertEquals(2, map.get("two").intValue()); in testManipulate() 85 assertEquals(3, map.get("three").intValue()); in testManipulate() 97 assertEquals(0, map.remove(null).intValue()); in testManipulate() 98 assertEquals(1, map.remove("one").intValue()); in testManipulate() 99 assertEquals(2, map.remove("two").intValue()); in testManipulate() 100 assertEquals(3, map.remove("three").intValue()); in testManipulate()
|
/libcore/luni/src/main/java/java/lang/ |
D | Short.java | 134 int intValue = Integer.decode(string).intValue(); in decode() local 135 short result = (short) intValue; in decode() 136 if (result == intValue) { in decode() 173 public int intValue() { in intValue() method in Short 212 int intValue = Integer.parseInt(string, radix); in parseShort() local 213 short result = (short) intValue; in parseShort() 214 if (result == intValue) { in parseShort()
|
D | Byte.java | 134 int intValue = Integer.decode(string); in decode() local 135 byte result = (byte) intValue; in decode() 136 if (result == intValue) { in decode() 174 public int intValue() { in intValue() method in Byte 213 int intValue = Integer.parseInt(string, radix); in parseByte() local 214 byte result = (byte) intValue; in parseByte() 215 if (result == intValue) { in parseByte()
|
D | Number.java | 43 return (byte) intValue(); in byteValue() 66 public abstract int intValue(); in intValue() method in Number 83 return (short) intValue(); in shortValue()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntegerTest.java | 81 assertEquals(0, Integer.decode("+0").intValue()); 82 assertEquals(473, Integer.decode("+473").intValue()); 83 assertEquals(255, Integer.decode("+0xFF").intValue()); 84 assertEquals(16, Integer.decode("+020").intValue()); 85 assertEquals(2147483647, Integer.decode("+2147483647").intValue()); 86 assertEquals(-73, Integer.decode("-73").intValue()); 87 assertEquals(-255, Integer.decode("-0xFF").intValue()); 88 assertEquals(255, Integer.decode("+#FF").intValue()); 89 assertEquals(-255, Integer.decode("-#FF").intValue());
|
D | OldDoubleTest.java | 60 new Double(2147483648d).intValue()); in test_intValue() 62 new Double(-2147483649d).intValue()); in test_intValue()
|
D | OldFloatTest.java | 78 assertEquals(Integer.MAX_VALUE, new Float(Float.MAX_VALUE).intValue()); in test_intValue() 79 assertEquals(0, new Float(Float.MIN_VALUE).intValue()); in test_intValue()
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | DSAPrivateKeySpecTest.java | 60 assertEquals(4, dpks.getG().intValue()); in testGetG() 73 assertEquals(2, dpks.getP().intValue()); in testGetP() 86 assertEquals(3, dpks.getQ().intValue()); in testGetQ() 99 assertEquals(1, dpks.getX().intValue()); in testGetX()
|
D | DSAPublicKeySpecTest.java | 60 assertEquals(4, dpks.getG().intValue()); in testGetG() 73 assertEquals(2, dpks.getP().intValue()); in testGetP() 86 assertEquals(3, dpks.getQ().intValue()); in testGetQ() 99 assertEquals(1, dpks.getY().intValue()); in testGetY()
|
D | RSAKeyGenParameterSpecTest.java | 65 assertEquals(0, rkgps.getPublicExponent().intValue()); in testGetPublicExponent() 73 assertEquals(3, RSAKeyGenParameterSpec.F0.intValue()); in testF0Value() 81 assertEquals(65537, RSAKeyGenParameterSpec.F4.intValue()); in testF4Value()
|
D | DSAParameterSpecTest.java | 58 assertEquals(3, dps.getG().intValue()); in testGetG() 70 assertEquals(1, dps.getP().intValue()); in testGetP() 82 assertEquals(2, dps.getQ().intValue()); in testGetQ()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetPutFields.java | 43 public int intValue = 0; field in Support_GetPutFields 83 intValue = 77777; in initTestValues() 100 intValue == other.intValue && in equals() 114 intValue = getField.get("intValue", 0); in readObject() 128 putField.put("intValue", intValue); in writeObject()
|
D | Support_GetPutFieldsDeprecated.java | 45 public int intValue = 0; field in Support_GetPutFieldsDeprecated 85 intValue = 33333; in initTestValues() 102 intValue == other.intValue && in equals() 115 intValue = getField.get("intValue", 0); in readObject() 129 putField.put("intValue", intValue); in writeObject()
|
D | Support_GetPutFieldsDefaulted.java | 54 public int intValue = 0; field in Support_GetPutFieldsDefaulted 94 intValue = 999999; in initTestValues() 111 intValue == other.intValue && in equals() 125 intValue = getField.get("intValue", 999999); in readObject()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigIntegerConstructorsTest.java | 35 assertTrue("the BigInteger value is not initialized properly", bi_s.intValue() == 0); in test_ConstrString1() 46 bi_s.intValue() == Integer.MIN_VALUE); in test_ConstrString2() 57 bi_s.intValue() == Integer.MAX_VALUE); in test_ConstrString3()
|
/libcore/luni/src/main/java/java/util/logging/ |
D | MemoryHandler.java | 149 pushLevel.intValue(); in MemoryHandler() 194 if (record.getLevel().intValue() >= push.intValue()) { in publish() 258 newLevel.intValue(); in setPushLevel()
|
D | Handler.java | 232 if (this.level.intValue() == Level.OFF.intValue()) { in isLoggable() 234 } else if (record.getLevel().intValue() >= this.level.intValue()) { in isLoggable()
|
D | Level.java | 133 if (nameAsInt == level.intValue()) { in parse() 245 public final int intValue() { in intValue() method in Level 334 return ((Level) o).intValue() == this.value; in equals()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalTest.java | 38 return new Integer(parentValue.intValue() + 1); 70 if (itl.get().intValue() < x.length - 1) { in run() 76 int threadId = itl.get().intValue(); in run()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedHashMapTest.java | 287 if (remove3.intValue() == 1) in test_keySet() 530 assertTrue("Returned incorrect entry set 1", jj.intValue() == i); in test_ordered_entrySet() 546 assertTrue("Returned incorrect entry set 2", jj.intValue() == i); in test_ordered_entrySet() 564 assertTrue("Returned incorrect entry set 3", jj.intValue() == i); in test_ordered_entrySet() 569 assertTrue("Returned incorrect entry set 4", jj.intValue() == i); in test_ordered_entrySet() 591 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 605 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 621 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 625 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 647 assertTrue("Returned incorrect entry set 1", jj.intValue() == i * 2); in test_ordered_values() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CollectionsBenchmark.java | 35 int lhsAsInt = lhs.intValue(); 36 int rhsAsInt = rhs.intValue();
|