Home
last modified time | relevance | path

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

1234

/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()
DLongValue.java535 public final LongValue longValue() in longValue() method in LongValue
542 return this.generalize(other.longValue()); in generalize()
DValue.java71 public LongValue longValue() in longValue() method in Value
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedLongTest.java53 UnsignedLongs.toString(value), value, UnsignedLong.asUnsigned(value).longValue()); in testAsUnsignedAndLongValueAreInverses()
116 .longValue(); in testAdd()
118 assertEquals(expected, unsignedSum.longValue()); in testAdd()
131 .longValue(); in testSubtract()
133 assertEquals(expected, unsignedSub.longValue()); in testSubtract()
146 .longValue(); in testMultiply()
148 assertEquals(expected, unsignedMul.longValue()); in testMultiply()
162 .longValue(); in testDivide()
164 assertEquals(expected, unsignedDiv.longValue()); in testDivide()
188 .longValue(); in testRemainder()
[all …]
DUnsignedLongsTest.java122 assertEquals(max.longValue(), UnsignedLongs.parseUnsignedLong(maxAsString, radix)); in testParseLongWithRadix()
173 long xLong = xValue.longValue(); // signed in testToString()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DAtomicStringTest.cpp46 long longValue = 6553500; in TEST() local
47 ASSERT_EQ(AtomicString::number(longValue), "6553500"); in TEST()
48 longValue = -6553500; in TEST()
49 ASSERT_EQ(AtomicString::number(longValue), "-6553500"); in TEST()
/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.java166 public long longValue() { in longValue() method in UnsignedInteger
176 return longValue(); in floatValue()
185 return longValue(); in doubleValue()
192 return BigInteger.valueOf(longValue()); in bigIntegerValue()
DUnsignedLong.java78 return asUnsigned(value.longValue()); in valueOf()
163 public long longValue() { in longValue() method in UnsignedLong
/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()
DGetValues002Test.java152 long longValue = fieldValue.getLongValue(); in testGetValues002() local
153 logWriter.println("=> Long value = " + longValue); in testGetValues002()
/external/guava/guava-tests/test/com/google/common/math/
DLongMathTest.java48 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), in testConstantMaxPowerOfSqrt2Unsigned()
275 .longValue()); in testPow()
285 new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).longValue(); in testDivNonZero()
361 .longValue(), LongMath.mod(x, m)); in testMod()
470 assertEquals(expectedResult.longValue(), LongMath.checkedPow(b, exp)); in testCheckedPow()
483 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testFactorial()
502 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testBinomial()
/external/chromium_org/third_party/ocmock/OCMock/
DNSInvocation+OCMAdditions.m266 long longValue;
268 [self getArgument:&longValue atIndex:anInt];
269 return [NSString stringWithFormat:@"%ld", longValue];
274 unsigned long longValue;
276 [self getArgument:&longValue atIndex:anInt];
277 return [NSString stringWithFormat:@"%lu", longValue];
/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/smali/examples/AnnotationValues/
DAnnotationWithValues.smali20 .method public abstract longValue()J
55 longValue = 5l
/external/guava/guava/src/com/google/common/math/
DDoubleUtils.java142 return x.longValue(); in bigToDouble()
156 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/smack/src/org/jivesoftware/smackx/workgroup/ext/history/
DAgentChatHistory.java130 long l = Long.valueOf(dateStr).longValue(); in parseChatSetting()
134 duration = Long.valueOf(parser.nextText()).longValue(); in parseChatSetting()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DChromeBrowserProviderClient.java67 return id != null ? id.longValue() : INVALID_BOOKMARK_ID; in createBookmarksFolderOnce()
134 return id != null ? id.longValue() : INVALID_BOOKMARK_ID; in getMobileBookmarksFolderId()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DSimpleBigDecimal.java170 public long longValue() in longValue() method in SimpleBigDecimal
172 return floor().longValue(); in longValue()
/external/guava/guava-tests/test/com/google/common/base/
DDefaultsTest.java33 assertEquals(0, Defaults.defaultValue(long.class).longValue()); in testGetDefaultValue()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DEncodedValue.java70 long longValue = reader.readSizedLong(valueArg+1); in annotateEncodedValue() local
71 out.annotate(valueArg+1, "value = 0x%x", longValue); in annotateEncodedValue()

1234