/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 | 69 assertEquals(123, format.parse("xxxxxxxxx123.0").intValue()); in test_paddingPattern() 78 assertEquals(2, format.parse("\u00e72 o'clock").intValue()); in test_paddingPattern() 79 assertEquals(12, format.parse("12 o'clock").intValue()); in test_paddingPattern() 103 assertEquals(100, format.parse("1E+2").intValue()); in test_positiveExponentSign() 108 assertEquals(100, format.parse("1E2 m/s").intValue()); in test_positiveExponentSign() 116 assertEquals(12345, format.parse("12.345E3").intValue()); in test_positiveExponentSign() 131 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize() 134 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize() 137 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()
|
D | OldAndroidTreeMapTest.java | 70 assertEquals(minVal, tm.firstKey().intValue()); in doTest() 71 assertEquals(maxVal, tm.lastKey().intValue()); in doTest()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Number.java | 63 public abstract int intValue(); in intValue() method in Number 104 return (byte)intValue(); in byteValue() 119 return (short)intValue(); in shortValue()
|
/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/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/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/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/ojluni/src/main/java/java/util/logging/ |
D | Handler.java | 49 private static final int offValue = Level.OFF.intValue(); 293 final int levelValue = getLevel().intValue(); in isLoggable() 294 if (record.getLevel().intValue() < levelValue || levelValue == offValue) { in isLoggable()
|
D | MemoryHandler.java | 215 if (record.getLevel().intValue() >= pushLevel.intValue()) { in publish()
|
/libcore/ojluni/src/main/java/java/net/ |
D | AbstractPlainDatagramSocketImpl.java | 292 int tmp = ((Integer) o).intValue(); in setOption() 301 trafficClass = ((Integer)o).intValue(); in setOption() 318 ((Integer)o).intValue() < 0) { in setOption() 364 if ( ((Integer)result).intValue() == -1) { in getOption()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedHashMapTest.java | 293 if (remove3.intValue() == 1) in test_keySet() 536 assertTrue("Returned incorrect entry set 1", jj.intValue() == i); in test_ordered_entrySet() 552 assertTrue("Returned incorrect entry set 2", jj.intValue() == i); in test_ordered_entrySet() 570 assertTrue("Returned incorrect entry set 3", jj.intValue() == i); in test_ordered_entrySet() 575 assertTrue("Returned incorrect entry set 4", jj.intValue() == i); in test_ordered_entrySet() 597 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 611 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 627 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 631 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet() 653 assertTrue("Returned incorrect entry set 1", jj.intValue() == i * 2); in test_ordered_values() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CollectionsBenchmark.java | 34 int lhsAsInt = lhs.intValue(); 35 int rhsAsInt = rhs.intValue();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerConvertTest.java | 551 int aNumber = new BigInteger(aBytes).intValue(); in testIntValuePositive1() 562 int aNumber = new BigInteger(aBytes).intValue(); in testIntValuePositive2() 574 int aNumber = new BigInteger(sign, aBytes).intValue(); in testIntValuePositive3() 586 int aNumber = new BigInteger(sign, aBytes).intValue(); in testIntValueNegative1() 597 int aNumber = new BigInteger(aBytes).intValue(); in testIntValueNegative2() 609 int aNumber = new BigInteger(sign, aBytes).intValue(); in testIntValueNegative3()
|