/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 365 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/ |
D | DecimalQuantityTest.java | 441 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/ |
D | DecimalQuantityTest.java | 440 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/ |
D | numparse_parsednumber.cpp | 77 if (quantity.fitsInLong()) { in getDouble()
|
D | number_decimalquantity.h | 158 bool fitsInLong(bool ignoreFraction = false) const;
|
D | fmtable.cpp | 466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64() 783 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
|
D | rbnf.cpp | 1122 if (copy.fitsInLong()) { in format() 1127 if (copy.fitsInLong()) { in format() 1161 if (copy.fitsInLong()) { in format() 1166 if (copy.fitsInLong()) { in format()
|
D | numparse_decimal.cpp | 363 if (digitsConsumed.fitsInLong()) { in match()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | numparse_parsednumber.cpp | 81 if (quantity.fitsInLong()) { in getDouble()
|
D | number_decimalquantity.h | 211 bool fitsInLong(bool ignoreFraction = false) const;
|
D | fmtable.cpp | 466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64() 788 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
|
D | numparse_decimal.cpp | 364 if (digitsConsumed.fitsInLong()) { in match()
|
/third_party/icu/icu4c/source/i18n/ |
D | numparse_parsednumber.cpp | 81 if (quantity.fitsInLong()) { in getDouble()
|
D | number_decimalquantity.h | 206 bool fitsInLong(bool ignoreFraction = false) const;
|
D | fmtable.cpp | 466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64() 788 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
|
D | numparse_decimal.cpp | 364 if (digitsConsumed.fitsInLong()) { in match()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | numparse_parsednumber.cpp | 81 if (quantity.fitsInLong()) { in getDouble()
|
D | number_decimalquantity.h | 206 bool fitsInLong(bool ignoreFraction = false) const;
|
D | fmtable.cpp | 466 if (fDecimalQuantity->fitsInLong(true)) { in getInt64() 788 if (fDecimalQuantity->fitsInLong()) { in adoptDecimalQuantity()
|
D | numparse_decimal.cpp | 364 if (digitsConsumed.fitsInLong()) { in match()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/ |
D | ParsedNumber.java | 162 if (quantity.fitsInLong() && !forceBigDecimal) { in getNumber()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | ParsedNumber.java | 160 if (quantity.fitsInLong() && !forceBigDecimal) { in getNumber()
|
D | DecimalMatcher.java | 380 if (digitsConsumed.fitsInLong()) { in match()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 618 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/ |
D | DecimalQuantity_AbstractBCD.java | 616 assert(truncateIfOverflow || fitsInLong()); in toLong() 664 public boolean fitsInLong() { in fitsInLong() method in DecimalQuantity_AbstractBCD
|