Home
last modified time | relevance | path

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

12345678910

/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 …]
/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/opencensus-java/api/src/test/java/io/opencensus/trace/
DAttributeValueTest.java56 public Object apply(Long longValue) { in stringAttributeValue()
87 public Object apply(Long longValue) { in booleanAttributeValue()
118 public Object apply(Long longValue) { in longAttributeValue()
119 assertThat(longValue).isEqualTo(123456L); in longAttributeValue()
149 public Object apply(Long longValue) { in doubleAttributeValue()
188 public Object apply(Long longValue) { in doubleAttributeValue_DeprecatedMatchFunction()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DCalculateLimits.java64 long minLong = min.longValue(); in main()
65 long maxLong = max.longValue(); in main()
95 if(UniversalTimeScale.toLong(min.longValue(), scale) != minLong) { in main()
99 if(UniversalTimeScale.toLong(max.longValue(), scale) != maxLong) { in main()
/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/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()
/external/libtextclassifier/java/com/google/android/textclassifier/
DNamedVariant.java41 this.longValue = value; in NamedVariant()
84 return longValue; in getLong()
110 private long longValue; field in NamedVariant
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipUtilTest.java173 assertEquals(0, big0.longValue()); in testLongToBig()
174 assertEquals(1, big1.longValue()); in testLongToBig()
175 assertEquals(0xFFFFFFFFL, big2.longValue()); in testLongToBig()
176 assertEquals(0x80000000L, big3.longValue()); in testLongToBig()
177 assertEquals(Long.MAX_VALUE, big4.longValue()); in testLongToBig()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DFloatValueImpl.java95 public long longValue() { in longValue() method in FloatValueImpl
141 long longValue = (long)value; in checkedLongValue() local
142 if (longValue != value) { in checkedLongValue()
DDoubleValueImpl.java95 public long longValue() { in longValue() method in DoubleValueImpl
140 long longValue = (long)value; in checkedLongValue() local
141 if (longValue != value) { in checkedLongValue()
DPrimitiveValueImpl.java42 abstract public long longValue(); in longValue() method in PrimitiveValueImpl
68 return longValue(); in checkedLongValue()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DLongGaugeImplTest.java113 LABEL_VALUES, Point.create(Value.longValue(500), TEST_TIME), null))); in getOrCreateTimeSeries()
129 .isEqualTo(Value.longValue(-133)); in getOrCreateTimeSeries_WithNegativePointValues()
151 DEFAULT_LABEL_VALUES, Point.create(Value.longValue(400), TEST_TIME), null))); in getDefaultTimeSeries()
163 LABEL_VALUES, Point.create(Value.longValue(0), TEST_TIME), null))); in removeTimeSeries()
231 LABEL_VALUES, Point.create(Value.longValue(3), TEST_TIME), null)); in multipleMetrics_GetMetric()
234 DEFAULT_LABEL_VALUES, Point.create(Value.longValue(100), TEST_TIME), null)); in multipleMetrics_GetMetric()
237 LABEL_VALUES1, Point.create(Value.longValue(-120), TEST_TIME), null)); in multipleMetrics_GetMetric()
DDerivedLongGaugeImplTest.java144 LABEL_VALUES, Point.create(Value.longValue(2), TEST_TIME), null))); in createTimeSeries_WithObjFunction()
158 LABEL_VALUES, Point.create(Value.longValue(-200), TEST_TIME), null))); in addTimeSeries_WithNullObj()
188 LABEL_VALUES, Point.create(Value.longValue(5), TEST_TIME), null)); in multipleMetrics_GetMetric()
191 LABEL_VALUES_1, Point.create(Value.longValue(2), TEST_TIME), null)); in multipleMetrics_GetMetric()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DAttributeValue.java62 public static AttributeValue longAttributeValue(long longValue) { in longAttributeValue() argument
63 return AttributeValueLong.create(longValue); in longAttributeValue()
196 static AttributeValue create(Long longValue) { in create() argument
198 Utils.checkNotNull(longValue, "longValue")); in create()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRoundTripTest.java164 s = fmt.format(value.longValue()); in _test()
183 s2 = fmt.format(n.longValue()); in _test()
228 aa = a.longValue(); in proportionalError()
233 bb = b.longValue(); in proportionalError()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRoundTripTest.java167 s = fmt.format(value.longValue()); in _test()
186 s2 = fmt.format(n.longValue()); in _test()
231 aa = a.longValue(); in proportionalError()
236 bb = b.longValue(); in proportionalError()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipEightByteInteger.java116 return value.longValue(); in getLongValue()
143 final long val = value.longValue(); in getBytes()
166 return getValue(bytes, offset).longValue(); in getLongValue()
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/
DLazyPrimitiveValue.java67 @Override public long longValue() { in longValue() method in LazyPrimitiveValue
68 return getValue().longValue(); in longValue()
/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/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/cldr/tools/java/org/unicode/cldr/util/
DStringId.java94 public static String getStringFromId(long longValue) { in getStringFromId() argument
95 return ID_TO_STRING.get(longValue); in getStringFromId()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTestBadIdentifiers.java91 TestBadIdentifiersProto.TestConflictingFieldNames.int64FieldCount).longValue()); in testConflictingFieldNames()
93 TestBadIdentifiersProto.TestConflictingFieldNames.int64FieldList).longValue()); in testConflictingFieldNames()

12345678910