Home
last modified time | relevance | path

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

123456

/external/proguard/src/proguard/evaluation/value/
DNegatedLongValue.java30 private final LongValue longValue; field in NegatedLongValue
36 public NegatedLongValue(LongValue longValue) in NegatedLongValue() argument
38 this.longValue = longValue; in NegatedLongValue()
46 return longValue; in negate()
56 this.longValue.equals(((NegatedLongValue)object).longValue); in equals()
63 longValue.hashCode(); in hashCode()
69 return "-"+longValue; in toString()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedLongTest.java61 UnsignedLongs.toString(value), value, UnsignedLong.fromLongBits(value).longValue()); in testAsUnsignedAndLongValueAreInverses()
79 assertEquals(value, UnsignedLong.valueOf(value).longValue()); in testValueOfLong()
141 .longValue(); in testPlus()
143 assertEquals(expected, unsignedSum.longValue()); in testPlus()
156 .longValue(); in testMinus()
158 assertEquals(expected, unsignedSub.longValue()); in testMinus()
171 .longValue(); in testTimes()
173 assertEquals(expected, unsignedMul.longValue()); in testTimes()
187 .longValue(); in testDividedBy()
189 assertEquals(expected, unsignedDiv.longValue()); in testDividedBy()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongTest.java65 UnsignedLongs.toString(value), value, UnsignedLong.fromLongBits(value).longValue()); in testAsUnsignedAndLongValueAreInverses()
83 assertEquals(value, UnsignedLong.valueOf(value).longValue()); in testValueOfLong()
155 .longValue(); in testPlus()
157 assertEquals(expected, unsignedSum.longValue()); in testPlus()
170 .longValue(); in testMinus()
172 assertEquals(expected, unsignedSub.longValue()); in testMinus()
185 .longValue(); in testTimes()
187 assertEquals(expected, unsignedMul.longValue()); in testTimes()
201 .longValue(); in testDividedBy()
203 assertEquals(expected, unsignedDiv.longValue()); in testDividedBy()
[all …]
DUnsignedIntegerTest.java72 .longValue()); in testFromIntBitsLongValue()
82 assertEquals(value, UnsignedInteger.valueOf(value).longValue()); in testValueOfLong()
97 .longValue()); in testValueOfBigInteger()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
DFrequency.java136 obj = Long.valueOf(((Integer) v).longValue()); in addValue()
143 freqTable.put(obj, Long.valueOf(count.longValue() + 1)); in addValue()
170 addValue(Long.valueOf(v.longValue())); in addValue()
220 result += iterator.next().longValue(); in getSumFreq()
247 return getCount(((Integer) v).longValue()); in getCount()
253 result = count.longValue(); in getCount()
397 return getCumFreq(((Integer) v).longValue()); in getCumFreq()
409 result = value.longValue(); in getCumFreq()
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedInteger.java177 public long longValue() { in longValue() method in UnsignedInteger
187 return longValue(); in floatValue()
196 return longValue(); in doubleValue()
203 return BigInteger.valueOf(longValue()); in bigIntegerValue()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DRSAOtherPrimeInfoTest.java121 assertEquals(3L, ropi.getCrtCoefficient().longValue()); in testGetCrtCoefficient()
133 assertEquals(1L, ropi.getPrime().longValue()); in testGetPrime()
145 assertEquals(2L, ropi.getExponent().longValue()); in testGetExponent()
DRSAPrivateKeySpecTest.java63 assertEquals(1234567890L, rpks.getModulus().longValue()); in testGetModulus()
74 assertEquals(3L, rpks.getPrivateExponent().longValue()); in testGetPrivateExponent()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedInteger.java191 public long longValue() { in longValue() method in UnsignedInteger
201 return longValue(); in floatValue()
210 return longValue(); in doubleValue()
217 return BigInteger.valueOf(longValue()); in bigIntegerValue()
DUnsignedLong.java97 return fromLongBits(value.longValue()); in valueOf()
190 public long longValue() { in longValue() method in UnsignedLong
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRoundTripTest.java159 s = fmt.format(value.longValue()); in _test()
178 s2 = fmt.format(n.longValue()); in _test()
223 aa = a.longValue(); in proportionalError()
228 bb = b.longValue(); in proportionalError()
/external/javassist/src/main/javassist/compiler/
DLex.java22 public long longValue; field in Token
93 return currentToken.longValue; in getLong()
189 token.longValue = value; in readCharConst()
257 token.longValue = value; in readNumber()
273 token.longValue = value; in readNumber()
290 token.longValue = value; in readNumber()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DGetValuesTest.java135 long longValue = fieldValue.getLongValue(); in testGetValues001() local
136 logWriter.println("=> Long value = " + longValue); in testGetValues001()
139 assertEquals("Invalid Long value,", expectedLongValue, longValue); in testGetValues001()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
DArrayDataMethodItem.java66 LongRenderer.writeSignedIntOrLongTo(writer, number.longValue()); in writeTo()
69 writeCommentIfLikelyDouble(writer, number.longValue()); in writeTo()
/external/guava/guava-tests/test/com/google/common/math/
DLongMathTest.java52 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), in testConstantMaxPowerOfSqrt2Unsigned()
319 .longValue()); in testPow()
330 new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).longValue(); in testDivNonZero()
413 .longValue(), LongMath.mod(x, m)); in testMod()
530 assertEquals(expectedResult.longValue(), LongMath.checkedPow(b, exp)); in testCheckedPow()
544 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testFactorial()
564 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testBinomial()
576 assertEquals(BigIntegerMath.binomial(n, k).longValue(), LongMath.binomial(n, k)); in testBinomial_exhaustiveNotOverflowing()
/external/protobuf/java/src/test/java/com/google/protobuf/
DTestBadIdentifiers.java91 TestBadIdentifiersProto.TestConflictingFieldNames.int64FieldCount).longValue()); in testConflictingFieldNames()
93 TestBadIdentifiersProto.TestConflictingFieldNames.int64FieldList).longValue()); in testConflictingFieldNames()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DGetValuesTest.java169 long longValue = fieldValue.getLongValue(); in testGetValues001() local
170 logWriter.println("=> Returned value = " + longValue); in testGetValues001()
173 assertEquals("Invalid long value,", expectedLongValue, longValue); in testGetValues001()
DGetValues002Test.java170 long longValue = fieldValue.getLongValue(); in testGetValues002() local
171 logWriter.println("=> Long value = " + longValue); in testGetValues002()
173 assertEquals("Invalid long value,", expectedLongValue, longValue); in testGetValues002()
/external/guava/guava-tests/benchmark/com/google/common/math/
DLongMathRoundingBenchmark.java48 positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); in setUp()
49 nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue(); in setUp()
DLongMathBenchmark.java47 positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); in setUp()
48 nonnegative[i] = randomNonNegativeBigInteger(Long.SIZE - 2).longValue(); in setUp()
DApacheBenchmark.java138 nonnegLong[i][j] = randomNonNegativeBigInteger(Long.SIZE - 2).longValue(); in setUp()
147 longsToAdd[i][j] = randomBigInteger(Long.SIZE - 2).longValue(); in setUp()
157 longsToMul[i][j] = randomBigInteger(Long.SIZE - 2).longValue(); in setUp()
/external/smali/examples/AnnotationValues/
DAnnotationWithValues.smali20 .method public abstract longValue()J
55 longValue = 5l
/external/guava/guava/src/com/google/common/math/
DDoubleUtils.java123 return x.longValue(); in bigToDouble()
137 long twiceSignifFloor = absX.shiftRight(shift).longValue(); in bigToDouble()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexDataWriterTest.java281 … private void testWriteEncodedLongHelper(long longValue, int... encodedValue) throws IOException { in testWriteEncodedLongHelper() argument
283 writer.writeEncodedLong(ValueType.LONG, longValue); in testWriteEncodedLongHelper()
393 …private void testWriteRightZeroExtendedLongHelper(long longValue, int... encodedValue) throws IOEx… in testWriteRightZeroExtendedLongHelper() argument
395 writer.writeRightZeroExtendedLong(ValueType.DOUBLE, longValue); in testWriteRightZeroExtendedLongHelper()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DSimpleBigDecimal.java164 public long longValue() in longValue() method in SimpleBigDecimal
166 return floor().longValue(); in longValue()

123456