/libcore/luni/src/main/java/java/lang/ |
H A D | Number.java | 74 public abstract long longValue(); method in class:Number
|
H A D | Byte.java | 179 public long longValue() { method in class:Byte
|
H A D | Short.java | 178 public long longValue() { method in class:Short
|
H A D | Double.java | 281 public long longValue() { method in class:Double
|
H A D | Float.java | 284 public long longValue() { method in class:Float
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetPutFields.java | 42 public long longValue = 0; field in class:Support_GetPutFields 82 longValue = 6700654321l; 99 longValue == other.longValue && 113 longValue = getField.get("longValue", (long) 0); 127 putField.put("longValue", longValue);
|
H A D | Support_GetPutFieldsDeprecated.java | 44 public long longValue = 0; field in class:Support_GetPutFieldsDeprecated 84 longValue = 1560732321l; 101 longValue == other.longValue && 114 longValue = getField.get("longValue", (long) 0); 128 putField.put("longValue", longValue);
|
H A D | Support_GetPutFieldsDefaulted.java | 53 public long longValue = 0; field in class:Support_GetPutFieldsDefaulted 93 longValue = 1234567890l; 110 longValue == other.longValue && 124 longValue = getField.get("longValue", (long) 1234567890l);
|
/libcore/luni/src/test/java/tests/security/spec/ |
H A D | RSAPrivateKeySpecTest.java | 56 assertEquals(1234567890L, rpks.getModulus().longValue()); 67 assertEquals(3L, rpks.getPrivateExponent().longValue());
|
H A D | RSAOtherPrimeInfoTest.java | 114 assertEquals(3L, ropi.getCrtCoefficient().longValue()); 126 assertEquals(1L, ropi.getPrime().longValue()); 138 assertEquals(2L, ropi.getExponent().longValue());
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldIntegerTest.java | 61 assertEquals(Integer.MAX_VALUE, new Integer(Integer.MAX_VALUE).longValue()); 62 assertEquals(Integer.MIN_VALUE, new Integer(Integer.MIN_VALUE).longValue());
|
H A D | OldLongTest.java | 75 assertEquals(Long.MAX_VALUE, new Long(Long.MAX_VALUE).longValue()); 76 assertEquals(Long.MIN_VALUE, new Long(Long.MIN_VALUE).longValue());
|
H A D | OldFloatTest.java | 89 assertEquals(Long.MAX_VALUE, new Float(Float.MAX_VALUE).longValue()); 90 assertEquals(0, new Float(Float.MIN_VALUE).longValue());
|
/libcore/json/src/main/java/org/json/ |
H A D | JSON.java | 76 return ((Number) value).longValue();
|
H A D | JSONObject.java | 46 * be coerced using {@link Number#longValue() longValue}. Strings 696 long longValue = number.longValue(); 697 if (doubleValue == (double) longValue) { 698 return Long.toString(longValue);
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicInteger.java | 230 public long longValue() { method in class:AtomicInteger
|
H A D | AtomicLong.java | 244 public long longValue() { method in class:AtomicLong
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerConvertTest.java | 28 * Methods: intValue, longValue, toByteArray(), valueOf(long val), 620 long aNumber = new BigInteger(aBytes).longValue(); 631 long aNumber = new BigInteger(aBytes).longValue(); 642 long aNumber = new BigInteger(aBytes).longValue(); 653 long aNumber = new BigInteger(aBytes).longValue();
|
/libcore/luni/src/main/java/java/io/ |
H A D | EmulatedFieldsForDumping.java | 214 output.writeLong(fieldValue != null ? ((Long) fieldValue).longValue() : 0);
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | NumberFormatTest.java | 36 public long longValue() { throw new UnsupportedOperationException(); } 44 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls longValue for
|
/libcore/luni/src/main/java/java/math/ |
H A D | BigDecimal.java | 1078 long rem = remainder.longValue(); 1079 long divisor = scaledDivisor.longValue(); 1093 return valueOf(quotient.longValue() + compRem,scale); 2393 public long longValue() { method in class:BigDecimal 2399 return ((scale <= -64) || (scale > approxPrecision()) ? 0L : toBigInteger().longValue()); 2568 bits = mantissa.shiftRight(discardedSize).longValue(); 2577 bits = mantissa.longValue() << -discardedSize; 2810 return bigInteger.longValue(); 2829 private static int safeLongToInt(long longValue) { argument 2830 if (longValue < Intege [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | Formatter.java | 1431 IntegralToString.appendLong((StringBuilder) out, ((Long) arg).longValue()); 1681 value = ((Long) arg).longValue(); 1683 value = ((Integer) arg).longValue(); 1685 value = ((Short) arg).longValue(); 1687 value = ((Byte) arg).longValue(); 1819 date = new Date(((Long) arg).longValue()); 2154 long l = b.longValue(); 2168 l = b.movePointRight(4).longValue(); 2172 l = b.movePointRight(precision + 1).longValue(); 2176 l = b.movePointRight(precision).longValue(); [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldPreferencesTest.java | 35 private static final String longValue; field in class:OldPreferencesTest 48 longValue = value.toString(); 424 pref.put(longKey, longValue); 426 pref.put(longKey + 1, longValue); 431 pref.put(longKey, longValue + 1); 438 pref.put(longKey, longValue + 1); 444 pref.put(longKey, longValue);
|
/libcore/luni/src/test/java/libcore/java/math/ |
H A D | BigIntegerTest.java | 28 BigInteger toCompareBig = BigInteger.valueOf(andedBigs.longValue());
|
/libcore/support/src/test/java/tests/util/ |
H A D | CallVerificationStack.java | 268 return value.longValue();
|