Searched refs:intValue (Results 1 - 25 of 88) sorted by relevance

1234

/libcore/luni/src/main/java/java/lang/
H A DNumber.java43 return (byte) intValue();
66 public abstract int intValue(); method in class:Number
83 return (short) intValue();
H A DShort.java134 int intValue = Integer.decode(string).intValue();
135 short result = (short) intValue;
136 if (result == intValue) {
173 public int intValue() { method in class:Short
212 int intValue = Integer.parseInt(string, radix);
213 short result = (short) intValue;
214 if (result == intValue) {
H A DByte.java134 int intValue = Integer.decode(string);
135 byte result = (byte) intValue;
136 if (result == intValue) {
174 public int intValue() { method in class:Byte
213 int intValue = Integer.parseInt(string, radix);
214 byte result = (byte) intValue;
215 if (result == intValue) {
/libcore/luni/src/test/java/tests/security/spec/
H A DDSAPrivateKeySpecTest.java60 assertEquals(4, dpks.getG().intValue());
73 assertEquals(2, dpks.getP().intValue());
86 assertEquals(3, dpks.getQ().intValue());
99 assertEquals(1, dpks.getX().intValue());
H A DDSAPublicKeySpecTest.java60 assertEquals(4, dpks.getG().intValue());
73 assertEquals(2, dpks.getP().intValue());
86 assertEquals(3, dpks.getQ().intValue());
99 assertEquals(1, dpks.getY().intValue());
H A DDSAParameterSpecTest.java58 assertEquals(3, dps.getG().intValue());
70 assertEquals(1, dps.getP().intValue());
82 assertEquals(2, dps.getQ().intValue());
H A DRSAKeyGenParameterSpecTest.java65 assertEquals(0, rkgps.getPublicExponent().intValue());
73 assertEquals(3, RSAKeyGenParameterSpec.F0.intValue());
81 assertEquals(65537, RSAKeyGenParameterSpec.F4.intValue());
/libcore/luni/src/test/java/libcore/java/text/
H A DOldDecimalFormatTestICU.java77 assertEquals(123, format.parse("xxxxxxxxx123.0").intValue());
86 assertEquals(2, format.parse("\u00e72 o'clock").intValue());
87 assertEquals(12, format.parse("12 o'clock").intValue());
111 assertEquals(100, format.parse("1E+2").intValue());
116 assertEquals(100, format.parse("1E2 m/s").intValue());
124 assertEquals(12345, format.parse("12.345E3").intValue());
139 assertEquals(1234567890, format.parse("123,456,7890").intValue());
142 assertEquals(1234567890, format.parse("123,456,7890").intValue());
145 assertEquals(1234567890, format.parse("123,456,7890").intValue());
/libcore/luni/src/test/java/libcore/java/math/
H A DOldBigIntegerConstructorsTest.java35 assertTrue("the BigInteger value is not initialized properly", bi_s.intValue() == 0);
46 bi_s.intValue() == Integer.MIN_VALUE);
57 bi_s.intValue() == Integer.MAX_VALUE);
/libcore/luni/src/test/java/libcore/java/util/
H A DOldAndroidArrayListTest.java43 assertEquals(1, ((Integer) array.get(0)).intValue());
44 assertEquals(2, ((Integer) array.get(1)).intValue());
45 assertEquals(0, ((Integer) array.get(2)).intValue());
46 assertEquals(3, ((Integer) array.get(3)).intValue());
47 assertEquals(1, ((Integer) array.get(4)).intValue());
61 assertEquals(1, ((Integer) array.get(0)).intValue());
62 assertEquals(3, ((Integer) array.get(1)).intValue());
63 assertEquals(1, ((Integer) array.get(2)).intValue());
H A DOldAndroidHashMapTest.java80 assertEquals(-1, map.put(null, 0).intValue());
82 assertEquals(0, map.get(null).intValue());
83 assertEquals(1, map.get("one").intValue());
84 assertEquals(2, map.get("two").intValue());
85 assertEquals(3, map.get("three").intValue());
97 assertEquals(0, map.remove(null).intValue());
98 assertEquals(1, map.remove("one").intValue());
99 assertEquals(2, map.remove("two").intValue());
100 assertEquals(3, map.remove("three").intValue());
/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java43 public int intValue = 0; field in class:Support_GetPutFields
83 intValue = 77777;
100 intValue == other.intValue &&
114 intValue = getField.get("intValue", 0);
128 putField.put("intValue", intValue);
H A DSupport_GetPutFieldsDeprecated.java45 public int intValue = 0; field in class:Support_GetPutFieldsDeprecated
85 intValue = 33333;
102 intValue == other.intValue &&
115 intValue = getField.get("intValue", 0);
129 putField.put("intValue", intValue);
H A DSupport_GetPutFieldsDefaulted.java54 public int intValue = 0; field in class:Support_GetPutFieldsDefaulted
94 intValue = 999999;
111 intValue == other.intValue &&
125 intValue = getField.get("intValue", 999999);
/libcore/luni/src/main/native/
H A DvalueOf.h30 jint intValue(JNIEnv* env, jobject javaLangInteger);
/libcore/luni/src/main/java/java/util/logging/
H A DMemoryHandler.java149 pushLevel.intValue();
194 if (record.getLevel().intValue() >= push.intValue()) {
258 newLevel.intValue();
H A DHandler.java232 if (this.level.intValue() == Level.OFF.intValue()) {
234 } else if (record.getLevel().intValue() >= this.level.intValue()) {
H A DLevel.java133 if (nameAsInt == level.intValue()) {
245 public final int intValue() { method in class:Level
334 return ((Level) o).intValue() == this.value;
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DInhibitAnyPolicy.java47 ASN1Integer.getInstance().decode(encoding)).intValue();
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldIntegerTest.java56 assertEquals(Integer.MAX_VALUE, new Integer(Integer.MAX_VALUE).intValue());
57 assertEquals(Integer.MIN_VALUE, new Integer(Integer.MIN_VALUE).intValue());
H A DOldLongTest.java70 assertEquals(-1, new Long(Long.MAX_VALUE).intValue());
71 assertEquals(0, new Long(Long.MIN_VALUE).intValue());
H A DOldDoubleTest.java60 new Double(2147483648d).intValue());
62 new Double(-2147483649d).intValue());
H A DOldFloatTest.java78 assertEquals(Integer.MAX_VALUE, new Float(Float.MAX_VALUE).intValue());
79 assertEquals(0, new Float(Float.MIN_VALUE).intValue());
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldLevelTest.java40 * test for method public final int intValue()
46 value1, l.intValue());
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Choice.java274 identifiers[0][i] = identifier.intValue();
275 identifiers[1][i] = entry.getValue().intValue();

Completed in 777 milliseconds

1234