/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | AtomicReferenceTest.java | 39 assertEquals(42, result.intValue()); in testCompareAndExchange() 42 assertEquals(42, currentValue.intValue()); in testCompareAndExchange() 46 assertEquals(42, result.intValue()); in testCompareAndExchange() 49 assertEquals(42, currentValue.intValue()); in testCompareAndExchange() 52 assertEquals(42, result.intValue()); in testCompareAndExchange() 56 assertEquals(1, currentValue.intValue()); in testCompareAndExchange() 62 assertEquals(1, result.intValue()); in testCompareAndExchange() 65 assertEquals(1, currentValue.intValue()); in testCompareAndExchange() 69 assertEquals(1, result.intValue()); in testCompareAndExchange() 73 assertEquals(0, currentValue.intValue()); in testCompareAndExchange() [all …]
|
D | AtomicReferenceArrayTest.java | 54 assertEquals(i+1, arr.get(i).intValue()); in testCompareAndExchange() 61 assertEquals(-1, arr.get(i).intValue()); in testCompareAndExchange() 68 assertEquals(i*2, arr.get(i).intValue()); in testCompareAndExchange() 90 assertEquals(i+1, arr.get(i).intValue()); in testCompareAndExchangeAcquire() 97 assertEquals(-1, arr.get(i).intValue()); in testCompareAndExchangeAcquire() 104 assertEquals(i*2, arr.get(i).intValue()); in testCompareAndExchangeAcquire() 126 assertEquals(i+1, arr.get(i).intValue()); in testCompareAndExchangeRelease() 133 assertEquals(-1, arr.get(i).intValue()); in testCompareAndExchangeRelease() 140 assertEquals(i*2, arr.get(i).intValue()); in testCompareAndExchangeRelease() 158 assertEquals(i+1, arr.getAcquire(i).intValue()); in testGetAcquire() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | NumberTest.java | 28 ((byte) Integer.valueOf(number).intValue()) == Integer.valueOf(number) in test_byteValue() 32 ((byte) Integer.valueOf(number).intValue()) == Integer.valueOf(number) in test_byteValue() 36 ((byte) Integer.valueOf(number).intValue()) == Integer.valueOf(number) in test_byteValue() 40 ((byte) Integer.valueOf(number).intValue()) == Integer.valueOf(number) in test_byteValue() 50 ((short) Integer.valueOf(number).intValue()) == Integer.valueOf(number) in test_shortValue() 54 ((short) Integer.valueOf(number).intValue()) == Integer.valueOf(number) in test_shortValue() 58 ((short) Integer.valueOf(number).intValue()) == Integer.valueOf(number) in test_shortValue() 62 ((short) Integer.valueOf(number).intValue()) == Integer.valueOf(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()
|
/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/tests/security/spec/ |
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 | 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 | 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()
|
D | RSAKeyGenParameterSpecTest.java | 66 assertEquals(0, rkgps.getPublicExponent().intValue()); in testGetPublicExponent() 81 assertEquals(3, RSAKeyGenParameterSpec.F0.intValue()); in testF0Value() 89 assertEquals(65537, RSAKeyGenParameterSpec.F4.intValue()); in testF4Value()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Number.java | 67 public abstract int intValue(); in intValue() method in Number 105 return (byte)intValue(); in byteValue() 120 return (short)intValue(); in shortValue()
|
/libcore/ojluni/src/test/java/util/PriorityQueue/ |
D | PriorityQueueSort.java | 54 return Integer.compare(x.intValue(), y.intValue()); in compare() 89 if ((i.next().intValue() & 1) == 1) in main() 96 if ((i.next().intValue() & 1) == 1) in main()
|
/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 Integer.valueOf(parentValue.intValue() + 1); 70 if (itl.get().intValue() < x.length - 1) { in run() 76 int threadId = itl.get().intValue(); in run()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ThreadLocalTest.java | 62 return new Integer(parentValue.intValue() + 1); 94 if (itl.get().intValue() < x.length - 1) { in run() 100 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()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntegerTest.java | 90 assertEquals(0, Integer.decode("+0").intValue()); in testDecodeInt() 91 assertEquals(473, Integer.decode("+473").intValue()); in testDecodeInt() 92 assertEquals(255, Integer.decode("+0xFF").intValue()); in testDecodeInt() 93 assertEquals(16, Integer.decode("+020").intValue()); in testDecodeInt() 94 assertEquals(2147483647, Integer.decode("+2147483647").intValue()); in testDecodeInt() 95 assertEquals(-73, Integer.decode("-73").intValue()); in testDecodeInt() 96 assertEquals(-255, Integer.decode("-0xFF").intValue()); in testDecodeInt() 97 assertEquals(255, Integer.decode("+#FF").intValue()); in testDecodeInt() 98 assertEquals(-255, Integer.decode("-#FF").intValue()); in testDecodeInt()
|
/libcore/ojluni/src/test/java/math/BigDecimal/ |
D | IntegralValueTests.java | 208 int intValue = bd.intValue(); in integralValuesTest() local 209 if (intValue != (int)expected) { in integralValuesTest() 210 failures += reportError(bd, expected, intValue, isInt); in integralValuesTest() 250 return bd.toBigInteger().intValue(); in simpleIntValue()
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | DatatypeFactoryTest.java | 334 int y = years == null ? DatatypeConstants.FIELD_UNDEFINED : years.intValue(); in newDuration() 335 int m = months == null ? DatatypeConstants.FIELD_UNDEFINED : months.intValue(); in newDuration() 336 int d = days == null ? DatatypeConstants.FIELD_UNDEFINED : days.intValue(); in newDuration() 337 int h = hours == null ? DatatypeConstants.FIELD_UNDEFINED : hours.intValue(); in newDuration() 338 int mn = minutes == null ? DatatypeConstants.FIELD_UNDEFINED : minutes.intValue(); in newDuration() 339 int s = seconds == null ? DatatypeConstants.FIELD_UNDEFINED : seconds.intValue(); in newDuration()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | Rotate.java | 65 if (((Integer)lst.get(k)).intValue() != index) in main() 69 if (((Integer)lst.get(k)).intValue() != index) in main()
|
/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()
|