Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DListFormatterTest.java107 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestFromList() local
112 assertEquals("list", "A, B, and C", listFormatter.format(list)); in TestFromList()
116 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestCreatePatternForNumItems() local
120 listFormatter.getPatternForNumItems(3)); in TestCreatePatternForNumItems()
124 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestGetPatternForNumItemsException() local
126 listFormatter.getPatternForNumItems(0); in TestGetPatternForNumItemsException()
139 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in Test9946() local
140 assertEquals("bug 9946", "{0}, {1}, and {2}", listFormatter.format("{0}", "{1}", "{2}")); in Test9946()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DListFormatterTest.java111 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestFromList() local
116 assertEquals("list", "A, B, and C", listFormatter.format(list)); in TestFromList()
120 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestCreatePatternForNumItems() local
124 listFormatter.getPatternForNumItems(3)); in TestCreatePatternForNumItems()
128 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestGetPatternForNumItemsException() local
130 listFormatter.getPatternForNumItems(0); in TestGetPatternForNumItemsException()
143 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in Test9946() local
144 assertEquals("bug 9946", "{0}, {1}, and {2}", listFormatter.format("{0}", "{1}", "{2}")); in Test9946()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp582 listFormatter(NULL) { in MeasureFormat()
595 listFormatter(NULL) { in MeasureFormat()
605 listFormatter(NULL) { in MeasureFormat()
609 listFormatter = new ListFormatter(*other.listFormatter); in MeasureFormat()
621 delete listFormatter; in operator =()
622 listFormatter = new ListFormatter(*other.listFormatter); in operator =()
631 listFormatter(NULL) { in MeasureFormat()
644 delete listFormatter; in ~MeasureFormat()
789 listFormatter->format(results, measureCount, appendTo, status); in formatMeasures()
834 delete listFormatter; in initMeasureFormat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java553 ListFormatter listFormatter = ListFormatter.getInstance( in formatMeasures() local
556 return formatMeasuresSlowTrack(listFormatter, appendTo, fieldPosition, measures); in formatMeasures()
565 return appendTo.append(listFormatter.format((Object[]) results)); in formatMeasures()
1133 ListFormatter listFormatter, in formatMeasuresSlowTrack() argument
1156 listFormatter.format(Arrays.asList(results), fieldPositionFoundIndex); in formatMeasuresSlowTrack()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java534 ListFormatter listFormatter = ListFormatter.getInstance( in formatMeasures() local
537 return formatMeasuresSlowTrack(listFormatter, appendTo, fieldPosition, measures); in formatMeasures()
546 return appendTo.append(listFormatter.format((Object[]) results)); in formatMeasures()
1106 ListFormatter listFormatter, in formatMeasuresSlowTrack() argument
1129 listFormatter.format(Arrays.asList(results), fieldPositionFoundIndex); in formatMeasuresSlowTrack()
/external/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h328 ListFormatter *listFormatter; variable