/external/rappor/client/javatest/com/google/android/rappor/ |
D | EncoderTest.java | 47 private static long toLong(byte[] bytes) { in toLong() method in EncoderTest 421 toLong( in testEncoderEncodeBits_identity() 435 toLong( in testEncoderEncodeBits_identity() 466 toLong( in testEncoderEncodeBoolean_identity() 480 toLong( in testEncoderEncodeBoolean_identity() 497 toLong( in testEncoderEncodeOrdinal_identity() 511 toLong( in testEncoderEncodeOrdinal_identity() 556 toLong( in testEncoderEncodeString_identity() 572 toLong( in testEncoderEncodeString_identity() 595 assertEquals(0b000011000000L, toLong(cohortProbeEncoder.encodeString("Whizbang"))); in testEncoderEncodeString_identity() [all …]
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/ |
D | PivotDemo.java | 53 …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/ |
D | UnsignedInts.java | 74 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()
|
D | UnsignedInteger.java | 21 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/ |
D | TimeScaleAPITest.java | 313 result = UniversalTimeScale.toLong(0L, -1); in TestToLong() 324 result = UniversalTimeScale.toLong(0L, scale); in TestToLong() 331 result = UniversalTimeScale.toLong(toMin, scale); in TestToLong() 339 result = UniversalTimeScale.toLong(toMin - 1, scale); in TestToLong() 347 result = UniversalTimeScale.toLong(toMax, scale); in TestToLong() 355 result = UniversalTimeScale.toLong(toMax + 1, scale); in TestToLong() 364 result = UniversalTimeScale.toLong(0L, UniversalTimeScale.MAX_SCALE); in TestToLong()
|
D | TimeScaleDataTest.java | 48 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in roundTripTest() 57 long result = UniversalTimeScale.toLong(toLimit, scale); in toLimitTest() 68 long local = UniversalTimeScale.toLong(universalEpoch, scale); in epochOffsetTest() 75 local = UniversalTimeScale.toLong(0, scale); in epochOffsetTest() 241 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
|
D | TimeScaleMonkeyTest.java | 102 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in TestRoundTrip()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
D | TimeScaleAPITest.java | 310 result = UniversalTimeScale.toLong(0L, -1); in TestToLong() 321 result = UniversalTimeScale.toLong(0L, scale); in TestToLong() 328 result = UniversalTimeScale.toLong(toMin, scale); in TestToLong() 336 result = UniversalTimeScale.toLong(toMin - 1, scale); in TestToLong() 344 result = UniversalTimeScale.toLong(toMax, scale); in TestToLong() 352 result = UniversalTimeScale.toLong(toMax + 1, scale); in TestToLong() 361 result = UniversalTimeScale.toLong(0L, UniversalTimeScale.MAX_SCALE); in TestToLong()
|
D | TimeScaleDataTest.java | 45 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in roundTripTest() 54 long result = UniversalTimeScale.toLong(toLimit, scale); in toLimitTest() 65 long local = UniversalTimeScale.toLong(universalEpoch, scale); in epochOffsetTest() 72 local = UniversalTimeScale.toLong(0, scale); in epochOffsetTest() 238 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
|
D | TimeScaleMonkeyTest.java | 99 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); in TestRoundTrip()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
D | CalculateLimits.java | 86 … 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/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/ |
D | FunctionWithDefaultMethod.java | 26 static <T extends Number> Function<T, Long> toLong() { in toLong() method 55 return ints.stream().map(inc(add)).map(toLong()).collect(Collectors.toList()); in add()
|
/external/turbine/java/com/google/turbine/zip/ |
D | Zip.java | 188 long cdsize = UnsignedInts.toLong(eocd.getInt(index + ENDSIZ)); in ZipIterable() 250 long offset = UnsignedInts.toLong(cd.getInt(cdindex + CENOFF)); in data() 260 UnsignedInts.toLong(cd.getInt(cdindex + CENSIZ)), in data() 267 UnsignedInts.toLong(cd.getInt(cdindex + CENLEN)), in data()
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | ShortDuration.java | 61 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/ |
D | UnsignedInteger.java | 21 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/ |
D | AbstractAppleMetaDataBox.java | 91 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/ |
D | CurrencyMetaInfo.java | 251 long toLong = to == null ? Long.MAX_VALUE : to.getTime(); in withDateRange() local 252 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 269 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/icu/icu4c/source/i18n/ |
D | numparse_parsednumber.cpp | 78 return static_cast<double>(quantity.toLong()); in getDouble()
|
D | number_decimalquantity.h | 150 int64_t toLong(bool truncateIfOverflow = false) const;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | ParsedNumber.java | 163 return quantity.toLong(false); in getNumber()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 247 return isNegative() ? -toLong(true) : toLong(true); in getPluralOperand() 580 public long toLong(boolean truncateIfOverflow) { in toLong() method in DecimalQuantity_AbstractBCD
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 245 return isNegative() ? -toLong(true) : toLong(true); in getPluralOperand() 578 public long toLong(boolean truncateIfOverflow) { in toLong() method in DecimalQuantity_AbstractBCD
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | ParsedNumber.java | 161 return quantity.toLong(false); in getNumber()
|
/external/eigen/unsupported/Eigen/ |
D | MPRealSupport | 136 { return x.toLong(); } 139 { return int(x.toLong()); }
|