Home
last modified time | relevance | path

Searched refs:intValue (Results 1 – 25 of 137) sorted by relevance

123456

/dalvik/libcore/luni/src/main/java/java/lang/
DByte.java130 int intValue = Integer.decode(string).intValue(); in decode() local
131 byte result = (byte) intValue; in decode()
132 if (result == intValue) { in decode()
170 public int intValue() { in intValue() method in Byte
191 int intValue = Integer.parseInt(string); in parseByte() local
192 byte result = (byte) intValue; in parseByte()
193 if (result == intValue) { in parseByte()
217 int intValue = Integer.parseInt(string, radix); in parseByte() local
218 byte result = (byte) intValue; in parseByte()
219 if (result == intValue) { in parseByte()
DShort.java126 int intValue = Integer.decode(string).intValue(); in decode() local
127 short result = (short) intValue; in decode()
128 if (result == intValue) { in decode()
166 public int intValue() { in intValue() method in Short
208 int intValue = Integer.parseInt(string, radix); in parseShort() local
209 short result = (short) intValue; in parseShort()
210 if (result == intValue) { in parseShort()
DNumber.java43 return (byte) intValue(); in byteValue()
66 public abstract int intValue(); in intValue() method in Number
83 return (short) intValue(); in shortValue()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DNumberTest.java43 public int intValue() { in intValue() method in NumberTest.MockNumber
80 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue()
84 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue()
88 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue()
92 ((byte) new Integer(number).intValue()) == new Integer(number) in test_byteValue()
108 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue()
112 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue()
116 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue()
120 ((short) new Integer(number).intValue()) == new Integer(number) in test_shortValue()
DIntegerTest.java97 132233, Integer.decode("132233").intValue()); in test_decodeLjava_lang_String2()
99 07654321, Integer.decode("07654321").intValue()); in test_decodeLjava_lang_String2()
101 Integer.decode("#1234567").intValue() == 0x1234567); in test_decodeLjava_lang_String2()
103 Integer.decode("0xdAd").intValue() == 0xdad); in test_decodeLjava_lang_String2()
104 assertEquals("Failed for -23", -23, Integer.decode("-23").intValue()); in test_decodeLjava_lang_String2()
106 .decode("0").intValue()); in test_decodeLjava_lang_String2()
108 .intValue()); in test_decodeLjava_lang_String2()
110 Integer.decode("-2147483648").intValue() == 0x80000000); in test_decodeLjava_lang_String2()
112 Integer.decode("-0x80000000").intValue() == 0x80000000); in test_decodeLjava_lang_String2()
114 Integer.decode("2147483647").intValue() == 0x7fffffff); in test_decodeLjava_lang_String2()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/tsp/
DAccuracy.java43 && (millis.getValue().intValue() < MIN_MILLIS || millis in Accuracy()
44 .getValue().intValue() > MAX_MILLIS)) in Accuracy()
55 && (micros.getValue().intValue() < MIN_MICROS || micros in Accuracy()
56 .getValue().intValue() > MAX_MICROS)) in Accuracy()
89 if (millis.getValue().intValue() < MIN_MILLIS in Accuracy()
90 || millis.getValue().intValue() > MAX_MILLIS) in Accuracy()
98 if (micros.getValue().intValue() < MIN_MICROS in Accuracy()
99 || micros.getValue().intValue() > MAX_MICROS) in Accuracy()
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
DDecimalFormatTestICU.java113 assertEquals(123, format.parse("xxxxxxxxx123.0").intValue()); in test_paddingPattern()
122 assertEquals(2, format.parse("\u00e72 o'clock").intValue()); in test_paddingPattern()
123 assertEquals(12, format.parse("12 o'clock").intValue()); in test_paddingPattern()
161 assertEquals(100, format.parse("1E+2").intValue()); in test_positiveExponentSign()
166 assertEquals(100, format.parse("1E2 m/s").intValue()); in test_positiveExponentSign()
174 assertEquals(12345, format.parse("12.345E3").intValue()); in test_positiveExponentSign()
203 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize()
206 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize()
209 assertEquals(1234567890, format.parse("123,456,7890").intValue()); in test_secondaryGroupingSize()
/dalvik/libcore/support/src/test/java/tests/support/
DSupport_GetPutFields.java43 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()
DSupport_GetPutFieldsDeprecated.java45 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()
DSupport_GetPutFieldsDefaulted.java54 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()
/dalvik/libcore/security/src/test/java/tests/security/spec/
DDSAPublicKeySpecTest.java78 assertEquals(4, dpks.getG().intValue()); in testGetG()
97 assertEquals(2, dpks.getP().intValue()); in testGetP()
116 assertEquals(3, dpks.getQ().intValue()); in testGetQ()
135 assertEquals(1, dpks.getY().intValue()); in testGetY()
DDSAPrivateKeySpecTest.java78 assertEquals(4, dpks.getG().intValue()); in testGetG()
97 assertEquals(2, dpks.getP().intValue()); in testGetP()
116 assertEquals(3, dpks.getQ().intValue()); in testGetQ()
135 assertEquals(1, dpks.getX().intValue()); in testGetX()
DRSAKeyGenParameterSpecTest.java89 assertEquals(0, rkgps.getPublicExponent().intValue()); in testGetPublicExponent()
103 assertEquals(3, RSAKeyGenParameterSpec.F0.intValue()); in testF0Value()
117 assertEquals(65537, RSAKeyGenParameterSpec.F4.intValue()); in testF4Value()
DDSAParameterSpecTest.java76 assertEquals(3, dps.getG().intValue()); in testGetG()
94 assertEquals(1, dps.getP().intValue()); in testGetP()
112 assertEquals(2, dps.getQ().intValue()); in testGetQ()
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLevelTest.java65 assertEquals(1, l.intValue()); in testConstructorNoResBundle_Normal()
117 assertEquals(-3, l.intValue()); in testConstructorNoResBundle_EmptyName()
142 assertEquals(1, l.intValue()); in testConstructorHavingResBundle_Normal()
179 assertEquals(-1000, l.intValue()); in testConstructorHavingResBundle_EmptyName()
281 assertEquals(0, l.intValue()); in testParse_UndefinedNumber()
310 assertEquals(-4, l.intValue()); in testParse_NegativeNumber()
448 assertEquals("Value", init.intValue(), dser.intValue());
579 value1, l.intValue()); in testIntValue()
596 assertEquals(800, MyLevel.parse("INFO").intValue()); in testSubclassNewLevel()
600 assertEquals(500, MyLevel.parse("FINE").intValue()); in testSubclassNewLevel()
[all …]
/dalvik/libcore/logging/src/main/java/java/util/logging/
DMemoryHandler.java164 pushLevel.intValue(); in MemoryHandler()
214 if (record.getLevel().intValue() >= push.intValue()) { in publish()
282 newLevel.intValue(); in setPushLevel()
DHandler.java254 if (this.level.intValue() == Level.OFF.intValue()) { in isLoggable()
256 } else if (record.getLevel().intValue() >= this.level.intValue()) { in isLoggable()
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
DCopyOnWriteArraySetTest.java169 assertEquals(j, ((Integer)i.next()).intValue()); in testIterator()
239 assertEquals(0, ((Integer)o[0]).intValue()); in testToArray()
240 assertEquals(1, ((Integer)o[1]).intValue()); in testToArray()
241 assertEquals(2, ((Integer)o[2]).intValue()); in testToArray()
253 assertEquals(0, i[0].intValue()); in testToArray2()
254 assertEquals(1, i[1].intValue()); in testToArray2()
255 assertEquals(2, i[2].intValue()); in testToArray2()
DThreadLocalTest.java36 return new Integer(parentValue.intValue() + 1);
68 if (itl.get().intValue() < x.length - 1) { in run()
74 int threadId = itl.get().intValue(); in run()
DCopyOnWriteArrayListTest.java198 assertEquals(0, ((Integer)full.get(0)).intValue()); in testGet()
238 assertEquals(j, ((Integer)i.next()).intValue()); in testIterator()
297 assertEquals(j, ((Integer)i.next()).intValue()); in testListIterator1()
309 assertEquals(j+1, ((Integer)i.next()).intValue()); in testListIterator2()
340 assertEquals(4, ((Integer)full.get(2)).intValue()); in testSet()
360 assertEquals(0, ((Integer)o[0]).intValue()); in testToArray()
361 assertEquals(1, ((Integer)o[1]).intValue()); in testToArray()
362 assertEquals(2, ((Integer)o[2]).intValue()); in testToArray()
374 assertEquals(0, i[0].intValue()); in testToArray2()
375 assertEquals(1, i[1].intValue()); in testToArray2()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/qualified/
DTypeOfBiometricData.java41 int predefinedBiometricType = predefinedBiometricTypeObj.getValue().intValue(); in getInstance()
78 return ((DERInteger)obj).getValue().intValue(); in getPredefinedBiometricType()
DIso4217CurrencyCode.java42 int numeric = numericobj.getValue().intValue(); in getInstance()
86 return ((DERInteger)obj).getValue().intValue(); in getNumeric()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
DLinkedHashMapTest.java339 if (remove3.intValue() == 1) in test_keySet()
567 assertTrue("Returned incorrect entry set 1", jj.intValue() == i); in test_ordered_entrySet()
583 assertTrue("Returned incorrect entry set 2", jj.intValue() == i); in test_ordered_entrySet()
601 assertTrue("Returned incorrect entry set 3", jj.intValue() == i); in test_ordered_entrySet()
606 assertTrue("Returned incorrect entry set 4", jj.intValue() == i); in test_ordered_entrySet()
634 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet()
648 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet()
664 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet()
668 assertTrue("Returned incorrect entry set", jj.intValue() == i); in test_ordered_keySet()
696 assertTrue("Returned incorrect entry set 1", jj.intValue() == i * 2); in test_ordered_values()
[all …]
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
DJDBCDatabaseMetaData.java635 int col = ((Integer) h.get("name")).intValue(); in getColumns()
646 col = ((Integer) h.get("type")).intValue(); in getColumns()
656 col = ((Integer) h.get("dflt_value")).intValue(); in getColumns()
661 col = ((Integer) h.get("cid")).intValue(); in getColumns()
663 row[16] = "" + (cid.intValue() + 1); in getColumns()
664 col = ((Integer) h.get("notnull")).intValue(); in getColumns()
762 int col = ((Integer) h0.get("unique")).intValue(); in getBestRowIdentifier()
764 col = ((Integer) h0.get("name")).intValue(); in getBestRowIdentifier()
789 col = ((Integer) h2.get("name")).intValue(); in getBestRowIdentifier()
793 col = ((Integer) h1.get("name")).intValue(); in getBestRowIdentifier()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ocsp/
DOCSPResponseStatus.java38 super(value.getValue().intValue()); in OCSPResponseStatus()

123456