Home
last modified time | relevance | path

Searched refs:listFormatter (Results 1 – 4 of 4) 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/icu4c/source/i18n/
Dmeasfmt.cpp462 listFormatter(NULL) { in MeasureFormat()
475 listFormatter(NULL) { in MeasureFormat()
485 listFormatter(NULL) { in MeasureFormat()
489 listFormatter = new ListFormatter(*other.listFormatter); in MeasureFormat()
501 delete listFormatter; in operator =()
502 listFormatter = new ListFormatter(*other.listFormatter); in operator =()
511 listFormatter(NULL) { in MeasureFormat()
524 delete listFormatter; in ~MeasureFormat()
669 listFormatter->format(results, measureCount, appendTo, status); in formatMeasures()
714 delete listFormatter; in initMeasureFormat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java561 ListFormatter listFormatter = ListFormatter.getInstance( in formatMeasures() local
564 return formatMeasuresSlowTrack(listFormatter, appendTo, fieldPosition, measures); in formatMeasures()
573 return appendTo.append(listFormatter.format((Object[]) results)); in formatMeasures()
983 ListFormatter listFormatter, in formatMeasuresSlowTrack() argument
1006 listFormatter.format(Arrays.asList(results), fieldPositionFoundIndex); in formatMeasuresSlowTrack()
/external/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h328 ListFormatter *listFormatter; variable