Home
last modified time | relevance | path

Searched refs:toLong (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/
DPivotDemo.java53 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0, UniversalTimeScale.JAVA_T… in main()
57 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(-62164684800000L, UniversalT… in main()
61 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(-62135769600000L, UniversalT… in main()
67 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0x80000000, UniversalTimeSca… in main()
71 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0, UniversalTimeScale.UNIX_T… in main()
75 …cal.setTimeInMillis(UniversalTimeScale.toLong(UniversalTimeScale.from(0x7FFFFFFF, UniversalTimeSca… in main()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedInts.java74 public static long toLong(int value) { in toLong() method in UnsignedInts
181 return (int) (toLong(dividend) / toLong(divisor)); in divide()
193 return (int) (toLong(dividend) % toLong(divisor)); in remainder()
DUnsignedInteger.java21 import static com.google.common.primitives.UnsignedInts.toLong;
192 return toLong(value); in longValue()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
DTimeScaleAPITest.java308 result = UniversalTimeScale.toLong(0L, -1); in TestToLong()
319 result = UniversalTimeScale.toLong(0L, scale); in TestToLong()
326 result = UniversalTimeScale.toLong(toMin, scale); in TestToLong()
334 result = UniversalTimeScale.toLong(toMin - 1, scale); in TestToLong()
342 result = UniversalTimeScale.toLong(toMax, scale); in TestToLong()
350 result = UniversalTimeScale.toLong(toMax + 1, scale); in TestToLong()
359 result = UniversalTimeScale.toLong(0L, UniversalTimeScale.MAX_SCALE); in TestToLong()
DTimeScaleDataTest.java43 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in roundTripTest()
52 long result = UniversalTimeScale.toLong(toLimit, scale); in toLimitTest()
63 long local = UniversalTimeScale.toLong(universalEpoch, scale); in epochOffsetTest()
70 local = UniversalTimeScale.toLong(0, scale); in epochOffsetTest()
236 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
DTimeScaleMonkeyTest.java97 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in TestRoundTrip()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
DTimeScaleAPITest.java307 result = UniversalTimeScale.toLong(0L, -1); in TestToLong()
318 result = UniversalTimeScale.toLong(0L, scale); in TestToLong()
325 result = UniversalTimeScale.toLong(toMin, scale); in TestToLong()
333 result = UniversalTimeScale.toLong(toMin - 1, scale); in TestToLong()
341 result = UniversalTimeScale.toLong(toMax, scale); in TestToLong()
349 result = UniversalTimeScale.toLong(toMax + 1, scale); in TestToLong()
358 result = UniversalTimeScale.toLong(0L, UniversalTimeScale.MAX_SCALE); in TestToLong()
DTimeScaleDataTest.java42 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in roundTripTest()
51 long result = UniversalTimeScale.toLong(toLimit, scale); in toLimitTest()
62 long local = UniversalTimeScale.toLong(universalEpoch, scale); in epochOffsetTest()
69 local = UniversalTimeScale.toLong(0, scale); in epochOffsetTest()
235 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
DTimeScaleMonkeyTest.java96 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in TestRoundTrip()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DCalculateLimits.java86 … if(UniversalTimeScale.toLong(UniversalTimeScale.from(minLong, scale), scale) != minLong) { in main()
90 … if(UniversalTimeScale.toLong(UniversalTimeScale.from(maxLong, scale), scale) != maxLong) { in main()
95 if(UniversalTimeScale.toLong(min.longValue(), scale) != minLong) { in main()
99 if(UniversalTimeScale.toLong(max.longValue(), scale) != maxLong) { in main()
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DShortDuration.java61 return ofPicos(toLong(picos, RoundingMode.HALF_UP)); in of()
216 return toLong(new BigDecimal(picos).divide(divisor), roundingMode); in to()
239 return ofPicos(toLong(product, roundingMode)); in times()
344 private static long toLong(BigDecimal bd, RoundingMode roundingMode) { in toLong() method in ShortDuration
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedInteger.java21 import static com.google.common.primitives.UnsignedInts.toLong;
178 return toLong(value); in longValue()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
DAbstractAppleMetaDataBox.java91 static long toLong(byte b) { in toLong() method in AbstractAppleMetaDataBox
143 l += toLong(b) << (8 * (length - current++)); in getValue()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java250 long toLong = to == null ? Long.MAX_VALUE : to.getTime(); in withDateRange() local
251 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java269 long toLong = to == null ? Long.MAX_VALUE : to.getTime(); in withDateRange() local
270 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
/external/eigen/unsupported/Eigen/
DMPRealSupport136 { return x.toLong(); }
139 { return int(x.toLong()); }
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DUnsignedIntsTest.java51 assertEquals(a, UnsignedInts.toLong((int) a)); in testToLong()
/external/pdfium/third_party/bigint/
DBigInteger.hh74 long toLong () const;
DBigUnsigned.hh79 long toLong () const;
DBigInteger.cc134 long BigInteger::toLong () const { return convertToSignedPrimitive <long , unsig… in toLong() function in BigInteger
DBigUnsigned.cc24 long BigUnsigned::toLong () const { return convertToSignedPrimitive< long… in toLong() function in BigUnsigned
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedIntsTest.java54 assertEquals(a, UnsignedInts.toLong((int) a)); in testToLong()
/external/guava/guava/src/com/google/common/hash/
DHashCode.java156 return UnsignedInts.toLong(hash); in padToLong()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java440 public static long toLong(long universalTime, int timeScale) in toLong() method in UniversalTimeScale
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java488 public static long toLong(long universalTime, int timeScale) in toLong() method in UniversalTimeScale

12