Home
last modified time | relevance | path

Searched refs:fmtd (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp93 UnicodeString fmtd; in Test4029195() local
96 fmtd = sdf->format(today, fmtd, pos); in Test4029195()
97 logln("today: " + fmtd); in Test4029195()
962 UnicodeString fmtd; in Test4106807() local
964 fmtd = df->format(dt, fmtd, pos); in Test4106807()
965 logln(fmtd); in Test4106807()
Dnumbertest_api.cpp2092 FormattedNumber fmtd = NumberFormatter::withLocale("en").formatDouble(-9876543210.12, status); in fieldPosition() local
2093 assertEquals("Should have expected format output", u"-9,876,543,210.12", fmtd.toString(status)); in fieldPosition()
2106 fmtd.getAllFieldPositions(fpi, status); in fieldPosition()
2127 UBool found = fmtd.nextFieldPosition(actual2, status); in fieldPosition()
2140 found = fmtd.nextFieldPosition(actual2, status); in fieldPosition()
2155 while (fmtd.nextFieldPosition(actual, status)) { in fieldPosition()
2174 fmtd = NumberFormatter::withLocale("en").formatInt(5, status); in fieldPosition()
2175 assertFalse(u"No fraction part in an integer", fmtd.nextFieldPosition(actual, status)); in fieldPosition()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java61 StringBuffer fmtd = new StringBuffer(""); in Test4029195() local
63 fmtd = sdf.format(today, fmtd, pos); in Test4029195()
64 logln("today: " + fmtd); in Test4029195()
649 StringBuffer fmtd = new StringBuffer(""); in Test4106807() local
651 fmtd = df.format(dt, fmtd, pos); in Test4106807()
652 logln(fmtd.toString()); in Test4106807()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java64 StringBuffer fmtd = new StringBuffer(""); in Test4029195() local
66 fmtd = sdf.format(today, fmtd, pos); in Test4029195()
67 logln("today: " + fmtd); in Test4029195()
652 StringBuffer fmtd = new StringBuffer(""); in Test4106807() local
654 fmtd = df.format(dt, fmtd, pos); in Test4106807()
655 logln(fmtd.toString()); in Test4106807()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java2087 FormattedNumber fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(-9876543210.12); in fieldPosition() local
2088 assertEquals("Should have expected format output", "-9,876,543,210.12", fmtd.toString()); in fieldPosition()
2099 AttributedCharacterIterator fpi = fmtd.getFieldIterator(); in fieldPosition()
2131 while (fmtd.nextFieldPosition(actual)) { in fieldPosition()
2154 fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(5); in fieldPosition()
2155 assertFalse("No fraction part in an integer", fmtd.nextFieldPosition(actual)); in fieldPosition()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java2084 FormattedNumber fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(-9876543210.12); in fieldPosition() local
2085 assertEquals("Should have expected format output", "-9,876,543,210.12", fmtd.toString()); in fieldPosition()
2096 AttributedCharacterIterator fpi = fmtd.getFieldIterator(); in fieldPosition()
2128 while (fmtd.nextFieldPosition(actual)) { in fieldPosition()
2151 fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(5); in fieldPosition()
2152 assertFalse("No fraction part in an integer", fmtd.nextFieldPosition(actual)); in fieldPosition()