Home
last modified time | relevance | path

Searched refs:fitsInLong (Results 1 – 25 of 34) sorted by relevance

12

/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp365 assertTrue("Zero should fit", quantity.fitsInLong()); in testFitsInLong()
367 assertTrue("Small int should fit", quantity.fitsInLong()); in testFitsInLong()
369 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong()
371 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong()
373 assertTrue("Large low-precision int should fit", quantity.fitsInLong()); in testFitsInLong()
375 assertTrue("10^19 should fit", quantity.fitsInLong()); in testFitsInLong()
377 assertTrue("A number between 10^19 and max long should fit", quantity.fitsInLong()); in testFitsInLong()
379 assertTrue("A number with trailing zeros less than max long should fit", quantity.fitsInLong()); in testFitsInLong()
382 quantity.fitsInLong()); in testFitsInLong()
384 assertTrue("One less than max long should fit", quantity.fitsInLong()); in testFitsInLong()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java441 assertTrue("Zero should fit", quantity.fitsInLong()); in testFitsInLong()
443 assertTrue("Small int should fit", quantity.fitsInLong()); in testFitsInLong()
445 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong()
447 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong()
449 assertTrue("Large low-precision int should fit", quantity.fitsInLong()); in testFitsInLong()
451 assertTrue("10^19 should fit", quantity.fitsInLong()); in testFitsInLong()
453 assertTrue("A number between 10^19 and max long should fit", quantity.fitsInLong()); in testFitsInLong()
455 … assertTrue("A number with trailing zeros less than max long should fit", quantity.fitsInLong()); in testFitsInLong()
458 quantity.fitsInLong()); in testFitsInLong()
460 assertTrue("One less than max long should fit", quantity.fitsInLong()); in testFitsInLong()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DDecimalQuantityTest.java440 assertTrue("Zero should fit", quantity.fitsInLong()); in testFitsInLong()
442 assertTrue("Small int should fit", quantity.fitsInLong()); in testFitsInLong()
444 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong()
446 assertFalse("Fraction should not fit", quantity.fitsInLong()); in testFitsInLong()
448 assertTrue("Large low-precision int should fit", quantity.fitsInLong()); in testFitsInLong()
450 assertTrue("10^19 should fit", quantity.fitsInLong()); in testFitsInLong()
452 assertTrue("A number between 10^19 and max long should fit", quantity.fitsInLong()); in testFitsInLong()
454 … assertTrue("A number with trailing zeros less than max long should fit", quantity.fitsInLong()); in testFitsInLong()
457 quantity.fitsInLong()); in testFitsInLong()
459 assertTrue("One less than max long should fit", quantity.fitsInLong()); in testFitsInLong()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_parsednumber.cpp77 if (quantity.fitsInLong()) { in getDouble()
Dnumber_decimalquantity.h158 bool fitsInLong(bool ignoreFraction = false) const;
Dfmtable.cpp466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64()
783 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
Drbnf.cpp1122 if (copy.fitsInLong()) { in format()
1127 if (copy.fitsInLong()) { in format()
1161 if (copy.fitsInLong()) { in format()
1166 if (copy.fitsInLong()) { in format()
Dnumparse_decimal.cpp363 if (digitsConsumed.fitsInLong()) { in match()
/third_party/node/deps/icu-small/source/i18n/
Dnumparse_parsednumber.cpp81 if (quantity.fitsInLong()) { in getDouble()
Dnumber_decimalquantity.h211 bool fitsInLong(bool ignoreFraction = false) const;
Dfmtable.cpp466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64()
788 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
Dnumparse_decimal.cpp364 if (digitsConsumed.fitsInLong()) { in match()
/third_party/icu/icu4c/source/i18n/
Dnumparse_parsednumber.cpp81 if (quantity.fitsInLong()) { in getDouble()
Dnumber_decimalquantity.h206 bool fitsInLong(bool ignoreFraction = false) const;
Dfmtable.cpp466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64()
788 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
Dnumparse_decimal.cpp364 if (digitsConsumed.fitsInLong()) { in match()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumparse_parsednumber.cpp81 if (quantity.fitsInLong()) { in getDouble()
Dnumber_decimalquantity.h206 bool fitsInLong(bool ignoreFraction = false) const;
Dfmtable.cpp466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64()
788 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
Dnumparse_decimal.cpp364 if (digitsConsumed.fitsInLong()) { in match()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DParsedNumber.java162 if (quantity.fitsInLong() && !forceBigDecimal) { in getNumber()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DParsedNumber.java160 if (quantity.fitsInLong() && !forceBigDecimal) { in getNumber()
DDecimalMatcher.java380 if (digitsConsumed.fitsInLong()) { in match()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalQuantity_AbstractBCD.java618 assert(truncateIfOverflow || fitsInLong()); in toLong()
666 public boolean fitsInLong() { in fitsInLong() method in DecimalQuantity_AbstractBCD
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java616 assert(truncateIfOverflow || fitsInLong()); in toLong()
664 public boolean fitsInLong() { in fitsInLong() method in DecimalQuantity_AbstractBCD

12