Home
last modified time | relevance | path

Searched refs:fromExponentString (Results 1 – 25 of 53) sorted by relevance

123

/aosp_15_r20/external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/format/
H A DPluralRulesTest.java188 DecimalQuantity_DualStorageBCD.fromExponentString("3"));
190 DecimalQuantity_DualStorageBCD.fromExponentString("3.50"));
192 DecimalQuantity_DualStorageBCD.fromExponentString("3"),
193 DecimalQuantity_DualStorageBCD.fromExponentString("19"));
195 DecimalQuantity_DualStorageBCD.fromExponentString("3.50"),
196 DecimalQuantity_DualStorageBCD.fromExponentString("3.51"),
197 DecimalQuantity_DualStorageBCD.fromExponentString("3.52"),
198 DecimalQuantity_DualStorageBCD.fromExponentString("3.53"));
202 false, DecimalQuantity_DualStorageBCD.fromExponentString("99.0"));
205 DecimalQuantity_DualStorageBCD.fromExponentString("99.0"),
[all …]
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DPluralRulesTest.java191 DecimalQuantity_DualStorageBCD.fromExponentString("3"));
193 DecimalQuantity_DualStorageBCD.fromExponentString("3.50"));
195 DecimalQuantity_DualStorageBCD.fromExponentString("3"),
196 DecimalQuantity_DualStorageBCD.fromExponentString("19"));
198 DecimalQuantity_DualStorageBCD.fromExponentString("3.50"),
199 DecimalQuantity_DualStorageBCD.fromExponentString("3.51"),
200 DecimalQuantity_DualStorageBCD.fromExponentString("3.52"),
201 DecimalQuantity_DualStorageBCD.fromExponentString("3.53"));
205 false, DecimalQuantity_DualStorageBCD.fromExponentString("99.0"));
208 DecimalQuantity_DualStorageBCD.fromExponentString("99.0"),
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/
H A Dplurults.cpp648 …description, test, u"one", u"@integer 0, 1, 1e5", DecimalQuantity::fromExponentString(u"0", status… in testSamplesWithExponent()
649 …nteger 1000000, 2e6, 3e6, 4e6, 5e6, 6e6, 7e6, …", DecimalQuantity::fromExponentString(u"1000000", … in testSamplesWithExponent()
650 … 10000, 100000, 2e5, 3e5, 4e5, 5e5, 6e5, 7e5, …", DecimalQuantity::fromExponentString(u"2", status… in testSamplesWithExponent()
665 …tion2, test2, u"one", u"@decimal 0.0~1.5, 1.1e5", DecimalQuantity::fromExponentString(u"0.0", stat… in testSamplesWithExponent()
666 …mal 2.1e6, 3.1e6, 4.1e6, 5.1e6, 6.1e6, 7.1e6, …", DecimalQuantity::fromExponentString(u"2.1c6", st… in testSamplesWithExponent()
667 ….0, 2.1e5, 3.1e5, 4.1e5, 5.1e5, 6.1e5, 7.1e5, …", DecimalQuantity::fromExponentString(u"2.0", stat… in testSamplesWithExponent()
689 …description, test, u"one", u"@integer 0, 1, 1c5", DecimalQuantity::fromExponentString(u"0", status… in testSamplesWithCompactNotation()
690 …nteger 1000000, 2c6, 3c6, 4c6, 5c6, 6c6, 7c6, …", DecimalQuantity::fromExponentString(u"1000000", … in testSamplesWithCompactNotation()
691 … 10000, 100000, 2c5, 3c5, 4c5, 5c5, 6c5, 7c5, …", DecimalQuantity::fromExponentString(u"2", status… in testSamplesWithCompactNotation()
706 …tion2, test2, u"one", u"@decimal 0.0~1.5, 1.1c5", DecimalQuantity::fromExponentString(u"0.0", stat… in testSamplesWithCompactNotation()
[all …]
H A Dnumbertest_decimalquantity.cpp757 DecimalQuantity dq = DecimalQuantity::fromExponentString(numberString, status); in testDecimalQuantityParseFormatRoundTrip()
763 DecimalQuantity dq = DecimalQuantity::fromExponentString(u"1c0", status); in testDecimalQuantityParseFormatRoundTrip()
769 dq = DecimalQuantity::fromExponentString(u"1.0c0", status); in testDecimalQuantityParseFormatRoundTrip()
/aosp_15_r20/external/icu/icu4c/source/test/intltest/
H A Dplurults.cpp650 …description, test, u"one", u"@integer 0, 1, 1e5", DecimalQuantity::fromExponentString(u"0", status… in testSamplesWithExponent()
651 …nteger 1000000, 2e6, 3e6, 4e6, 5e6, 6e6, 7e6, …", DecimalQuantity::fromExponentString(u"1000000", … in testSamplesWithExponent()
652 … 10000, 100000, 2e5, 3e5, 4e5, 5e5, 6e5, 7e5, …", DecimalQuantity::fromExponentString(u"2", status… in testSamplesWithExponent()
667 …tion2, test2, u"one", u"@decimal 0.0~1.5, 1.1e5", DecimalQuantity::fromExponentString(u"0.0", stat… in testSamplesWithExponent()
668 …mal 2.1e6, 3.1e6, 4.1e6, 5.1e6, 6.1e6, 7.1e6, …", DecimalQuantity::fromExponentString(u"2.1c6", st… in testSamplesWithExponent()
669 ….0, 2.1e5, 3.1e5, 4.1e5, 5.1e5, 6.1e5, 7.1e5, …", DecimalQuantity::fromExponentString(u"2.0", stat… in testSamplesWithExponent()
691 …description, test, u"one", u"@integer 0, 1, 1c5", DecimalQuantity::fromExponentString(u"0", status… in testSamplesWithCompactNotation()
692 …nteger 1000000, 2c6, 3c6, 4c6, 5c6, 6c6, 7c6, …", DecimalQuantity::fromExponentString(u"1000000", … in testSamplesWithCompactNotation()
693 … 10000, 100000, 2c5, 3c5, 4c5, 5c5, 6c5, 7c5, …", DecimalQuantity::fromExponentString(u"2", status… in testSamplesWithCompactNotation()
708 …tion2, test2, u"one", u"@decimal 0.0~1.5, 1.1c5", DecimalQuantity::fromExponentString(u"0.0", stat… in testSamplesWithCompactNotation()
[all …]
H A Dnumbertest_decimalquantity.cpp757 DecimalQuantity dq = DecimalQuantity::fromExponentString(numberString, status); in testDecimalQuantityParseFormatRoundTrip()
763 DecimalQuantity dq = DecimalQuantity::fromExponentString(u"1c0", status); in testDecimalQuantityParseFormatRoundTrip()
769 dq = DecimalQuantity::fromExponentString(u"1.0c0", status); in testDecimalQuantityParseFormatRoundTrip()
/aosp_15_r20/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/number/
H A DDecimalQuantityTest.java934 DecimalQuantity dq = DecimalQuantity_DualStorageBCD.fromExponentString(numStr); in testDecimalQuantityParseFormatRoundTrip()
942 DecimalQuantity_DualStorageBCD.fromExponentString("1c0").toExponentString()); in testDecimalQuantityParseFormatRoundTrip()
945 DecimalQuantity_DualStorageBCD.fromExponentString("1.0c0").toExponentString()); in testDecimalQuantityParseFormatRoundTrip()
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
H A DDecimalQuantityTest.java937 DecimalQuantity dq = DecimalQuantity_DualStorageBCD.fromExponentString(numStr); in testDecimalQuantityParseFormatRoundTrip()
945 DecimalQuantity_DualStorageBCD.fromExponentString("1c0").toExponentString()); in testDecimalQuantityParseFormatRoundTrip()
948 DecimalQuantity_DualStorageBCD.fromExponentString("1.0c0").toExponentString()); in testDecimalQuantityParseFormatRoundTrip()
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
H A DExampleGenerator.java189 DecimalQuantity_DualStorageBCD.fromExponentString("1.23"),
190 DecimalQuantity_DualStorageBCD.fromExponentString("0"),
191 DecimalQuantity_DualStorageBCD.fromExponentString("2.34"),
192 DecimalQuantity_DualStorageBCD.fromExponentString("3.45"),
193 DecimalQuantity_DualStorageBCD.fromExponentString("5.67"),
194 DecimalQuantity_DualStorageBCD.fromExponentString("1"));
1418 DecimalQuantity oneValue = DecimalQuantity_DualStorageBCD.fromExponentString("1"); in handleCompoundUnit()
2682 DecimalQuantity_DualStorageBCD.fromExponentString(countValue)); in formatCountDecimal()
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DPluralRules.java1262 DecimalQuantity_DualStorageBCD.fromExponentString(rangeParts[0]); in parse()
1268 DecimalQuantity_DualStorageBCD.fromExponentString(rangeParts[0]); in parse()
1270 DecimalQuantity_DualStorageBCD.fromExponentString(rangeParts[1]); in parse()
2533 …addSample(keyword, DecimalQuantity_DualStorageBCD.fromExponentString("1000000.0"), maxCount, resul… in getDecimalQuantitySamples()
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/text/
H A DPluralRules.java1208 DecimalQuantity_DualStorageBCD.fromExponentString(rangeParts[0]); in parse()
1214 DecimalQuantity_DualStorageBCD.fromExponentString(rangeParts[0]); in parse()
1216 DecimalQuantity_DualStorageBCD.fromExponentString(rangeParts[1]); in parse()
2487 …addSample(keyword, DecimalQuantity_DualStorageBCD.fromExponentString("1000000.0"), maxCount, resul… in getDecimalQuantitySamples()
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
H A DPluralRulesFactory.java301 uLocale, DecimalQuantity_DualStorageBCD.fromExponentString(item)); in loadData()
H A DWritePluralRulesSpreadsheets.java131 DecimalQuantity dq = DecimalQuantity_DualStorageBCD.fromExponentString(sample); in writePluralChecklist()
/aosp_15_r20/external/icu/libicu/cts_headers/
H A Dnumber_decimalquantity.h257 static DecimalQuantity fromExponentString(UnicodeString n, UErrorCode& status);
H A Dplurrule_impl.h37 #define UPLRULES_NO_UNIQUE_VALUE_DECIMAL(ERROR_CODE) (DecimalQuantity::fromExponentString(u"-0.0012…
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Dnumber_decimalquantity.h257 static DecimalQuantity fromExponentString(UnicodeString n, UErrorCode& status);
H A Dplurrule.cpp411 DecimalQuantity dq = DecimalQuantity::fromExponentString(sampleRange, status); in getSamplesFromString()
424 … DecimalQuantity::fromExponentString(sampleRange.tempSubStringBetween(0, tildeIndex), status); in getSamplesFromString()
425 …DecimalQuantity rangeHi = DecimalQuantity::fromExponentString(sampleRange.tempSubStringBetween(til… in getSamplesFromString()
H A Dplurrule_impl.h37 #define UPLRULES_NO_UNIQUE_VALUE_DECIMAL(ERROR_CODE) (DecimalQuantity::fromExponentString(u"-0.0012…
H A Dnumber_decimalquantity.cpp566 DecimalQuantity DecimalQuantity::fromExponentString(UnicodeString num, UErrorCode& status) { in fromExponentString() function in DecimalQuantity
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Dnumber_decimalquantity.h249 static DecimalQuantity fromExponentString(UnicodeString n, UErrorCode& status);
H A Dplurrule.cpp412 DecimalQuantity dq = DecimalQuantity::fromExponentString(sampleRange, status); in getSamplesFromString()
425 … DecimalQuantity::fromExponentString(sampleRange.tempSubStringBetween(0, tildeIndex), status); in getSamplesFromString()
426 …DecimalQuantity rangeHi = DecimalQuantity::fromExponentString(sampleRange.tempSubStringBetween(til… in getSamplesFromString()
H A Dplurrule_impl.h37 #define UPLRULES_NO_UNIQUE_VALUE_DECIMAL(ERROR_CODE) (DecimalQuantity::fromExponentString(u"-0.0012…
/aosp_15_r20/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
H A DTestCompactNumbers.java208 DecimalQuantity dq = DecimalQuantity_DualStorageBCD.fromExponentString("1.1"); in TestVerifyCompactNumbers()
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
H A DDecimalQuantity_DualStorageBCD.java98 public static DecimalQuantity fromExponentString(String num) { in fromExponentString() method in DecimalQuantity_DualStorageBCD
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/number/
H A DDecimalQuantity_DualStorageBCD.java96 public static DecimalQuantity fromExponentString(String num) { in fromExponentString() method in DecimalQuantity_DualStorageBCD

123