/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_range.cpp | 675 auto lnf = NumberRangeFormatter::withLocale("en"); in testNaNInfinity() local 676 auto result1 = lnf.formatFormattableRange(-uprv_getInfinity(), 0, status); in testNaNInfinity() 677 auto result2 = lnf.formatFormattableRange(0, uprv_getInfinity(), status); in testNaNInfinity() 678 auto result3 = lnf.formatFormattableRange(-uprv_getInfinity(), uprv_getInfinity(), status); in testNaNInfinity() 679 auto result4 = lnf.formatFormattableRange(uprv_getNaN(), 0, status); in testNaNInfinity() 680 auto result5 = lnf.formatFormattableRange(0, uprv_getNaN(), status); in testNaNInfinity() 681 auto result6 = lnf.formatFormattableRange(uprv_getNaN(), uprv_getNaN(), status); in testNaNInfinity() 682 auto result7 = lnf.formatFormattableRange({"1000", status}, {"Infinity", status}, status); in testNaNInfinity() 683 auto result8 = lnf.formatFormattableRange({"-Infinity", status}, {"NaN", status}, status); in testNaNInfinity() 711 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals() local [all …]
|
D | numbertest_permutation.cpp | 135 auto lnf = NumberFormatter::forSkeleton(skeleton, status) in testPermutations() local 140 lnf.formatDouble(input, status).toTempString(status))); in testPermutations()
|
D | numbertest_api.cpp | 1237 LocalizedNumberFormatter lnf = NumberFormatter::with() in unitArbitraryMeasureUnits() local 1241 lnf.operator=(lnf); // self-assignment should be a no-op in unitArbitraryMeasureUnits() 1242 lnf.formatInt(1, status); in unitArbitraryMeasureUnits() 5633 LocalizedNumberFormatter lnf = NumberFormatter::withLocale("fr") in toFormat() local 5635 LocalPointer<Format> format(lnf.toFormat(status), status); in toFormat() 5644 lnf.toSkeleton(status), in toFormat() 5650 lnf.formatImpl(&result, status); in toFormat() 5664 LocalizedNumberFormatter lnf = NumberFormatter::withLocale(Locale::getEnglish()).precision( in errors() local 5670 FormattedNumber fn = lnf.formatInt(1, status); in errors() 5678 fn = lnf.formatDouble(1.0, status); in errors() [all …]
|
D | dcfmapts.cpp | 1377 const number::LocalizedNumberFormatter* lnf = df->toNumberFormatter(status); in testInvalidObject() local 1379 (int64_t) nullptr, (int64_t) lnf); in testInvalidObject() 1382 lnf->formatInt(1, status); in testInvalidObject() 1383 lnf->formatDouble(1.0, status); in testInvalidObject() 1384 lnf->formatDecimal("1", status); in testInvalidObject() 1385 lnf->toFormat(status); in testInvalidObject() 1386 lnf->toSkeleton(status); in testInvalidObject() 1387 lnf->copyErrorTo(status); in testInvalidObject()
|
D | numfmtst.cpp | 8932 LocalizedNumberFormatter lnf = NumberFormatter::withLocale("en"); in TestFastFormatInt32() local 8966 UnicodeString expected = lnf.formatDouble(num, status).toString(status); in TestFastFormatInt32()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberRangeFormatterTest.java | 689 LocalizedNumberRangeFormatter lnf = NumberRangeFormatter.withLocale(ULocale.ENGLISH); in testNaNInfinity() local 690 FormattedNumberRange result1 = lnf.formatRange(Double.NEGATIVE_INFINITY, 0); in testNaNInfinity() 691 FormattedNumberRange result2 = lnf.formatRange(0, Double.POSITIVE_INFINITY); in testNaNInfinity() 692 …FormattedNumberRange result3 = lnf.formatRange(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY); in testNaNInfinity() 693 FormattedNumberRange result4 = lnf.formatRange(Double.NaN, 0); in testNaNInfinity() 694 FormattedNumberRange result5 = lnf.formatRange(0, Double.NaN); in testNaNInfinity() 695 FormattedNumberRange result6 = lnf.formatRange(Double.NaN, Double.NaN); in testNaNInfinity() 720 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals() local 723 assertEquals(Integer.toString(1), "1 britanski funt", lnf.format(1).toString()); in testPlurals() 724 assertEquals(Integer.toString(2), "2 britanska funta", lnf.format(2).toString()); in testPlurals() [all …]
|
D | NumberPermutationTest.java | 129 LocalizedNumberFormatter lnf = in testPermutations() local 133 resultLines.add(" " + lnf.format(input).toString()); in testPermutations()
|
D | NumberFormatterApiTest.java | 1214 LocalizedNumberFormatter lnf = NumberFormatter.with() in unitArbitraryMeasureUnits() local 1219 lnf.format(1); in unitArbitraryMeasureUnits() 1220 fail("Expected failure for pow4-mile, got: " + lnf.format(1) + "."); in unitArbitraryMeasureUnits() 5805 LocalizedNumberFormatter lnf = NumberFormatter.withLocale(ULocale.FRENCH) in toFormat() local 5807 Format format = lnf.toFormat(); in toFormat() 5815 lnf, in toFormat() 5818 lnf.format(514.23).toCharacterIterator().getAttributes(), in toFormat()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | measfmt.cpp | 511 if (auto* lnf = df->toNumberFormatter(status)) { in formatMeasurePerUnit() local 513 lnf->unit(measure.getUnit()) in formatMeasurePerUnit() 711 if (auto* lnf = df->toNumberFormatter(status)) { in formatMeasure() local 713 lnf->unit(amtUnit) in formatMeasure() 764 if (auto* lnf = numberFormatter->toNumberFormatter(status)) { in formatNumeric() local 765 numberFormatter2 = lnf->integerWidth(number::IntegerWidth::zeroFillTo(2)); in formatNumeric()
|
D | quantityformatter.cpp | 191 const number::LocalizedNumberFormatter* lnf = df->toNumberFormatter(status); in formatAndSelect() local 195 lnf->formatImpl(&fn, status); in formatAndSelect()
|
D | plurfmt.cpp | 280 const number::LocalizedNumberFormatter* lnf = decFmt->toNumberFormatter(status); in format() local 284 lnf->formatImpl(&data, status); // mutates &data in format()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | measfmt.cpp | 511 if (auto* lnf = df->toNumberFormatter(status)) { in formatMeasurePerUnit() local 513 lnf->unit(measure.getUnit()) in formatMeasurePerUnit() 711 if (auto* lnf = df->toNumberFormatter(status)) { in formatMeasure() local 713 lnf->unit(amtUnit) in formatMeasure() 764 if (auto* lnf = numberFormatter->toNumberFormatter(status)) { in formatNumeric() local 765 numberFormatter2 = lnf->integerWidth(number::IntegerWidth::zeroFillTo(2)); in formatNumeric()
|
D | quantityformatter.cpp | 191 const number::LocalizedNumberFormatter* lnf = df->toNumberFormatter(status); in formatAndSelect() local 195 lnf->formatImpl(&fn, status); in formatAndSelect()
|
D | plurfmt.cpp | 280 const number::LocalizedNumberFormatter* lnf = decFmt->toNumberFormatter(status); in format() local 284 lnf->formatImpl(&data, status); // mutates &data in format()
|
/third_party/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 511 if (auto* lnf = df->toNumberFormatter(status)) { in formatMeasurePerUnit() local 513 lnf->unit(measure.getUnit()) in formatMeasurePerUnit() 711 if (auto* lnf = df->toNumberFormatter(status)) { in formatMeasure() local 713 lnf->unit(amtUnit) in formatMeasure() 764 if (auto* lnf = numberFormatter->toNumberFormatter(status)) { in formatNumeric() local 765 numberFormatter2 = lnf->integerWidth(number::IntegerWidth::zeroFillTo(2)); in formatNumeric()
|
D | quantityformatter.cpp | 191 const number::LocalizedNumberFormatter* lnf = df->toNumberFormatter(status); in formatAndSelect() local 195 lnf->formatImpl(&fn, status); in formatAndSelect()
|
D | plurfmt.cpp | 280 const number::LocalizedNumberFormatter* lnf = decFmt->toNumberFormatter(status); in format() local 284 lnf->formatImpl(&data, status); // mutates &data in format()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | NumberRangeFormatterTest.java | 684 LocalizedNumberFormatter lnf = unf.locale(locale); in testPlurals() local 687 assertEquals(Integer.toString(1), "1 britanski funt", lnf.format(1).toString()); in testPlurals() 688 assertEquals(Integer.toString(2), "2 britanska funta", lnf.format(2).toString()); in testPlurals() 689 assertEquals(Integer.toString(3), "3 britanski funti", lnf.format(3).toString()); in testPlurals() 690 assertEquals(Integer.toString(5), "5 britanskih funtov", lnf.format(5).toString()); in testPlurals()
|
D | NumberPermutationTest.java | 132 LocalizedNumberFormatter lnf = in testPermutations() local 136 resultLines.add(" " + lnf.format(input).toString()); in testPermutations()
|
D | NumberFormatterApiTest.java | 2962 LocalizedNumberFormatter lnf = NumberFormatter.withLocale(ULocale.FRENCH) in toFormat() local 2964 Format format = lnf.toFormat(); in toFormat() 2972 lnf, in toFormat() 2975 lnf.format(514.23).toCharacterIterator().getAttributes(), in toFormat()
|
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/ |
D | hdr-rgb-bellparkpier.hdr | 2151 …{����|�{�s����������������������������������yzu�����������fg���~��]���aac¸lnf�����eg��lxu��bkm��н…
|