/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | ListFormatterTest.java | 150 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestFromList() local 155 assertEquals("list", "A, B, and C", listFormatter.format(list)); in TestFromList() 160 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestCreatePatternForNumItems() local 164 listFormatter.getPatternForNumItems(3)); in TestCreatePatternForNumItems() 169 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestGetPatternForNumItemsException() local 171 listFormatter.getPatternForNumItems(0); in TestGetPatternForNumItemsException() 186 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in Test9946() local 187 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/ |
D | ListFormatterTest.java | 153 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestFromList() local 158 assertEquals("list", "A, B, and C", listFormatter.format(list)); in TestFromList() 163 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestCreatePatternForNumItems() local 167 listFormatter.getPatternForNumItems(3)); in TestCreatePatternForNumItems() 172 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestGetPatternForNumItemsException() local 174 listFormatter.getPatternForNumItems(0); in TestGetPatternForNumItemsException() 189 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in Test9946() local 190 assertEquals("bug 9946", "{0}, {1}, and {2}", listFormatter.format("{0}", "{1}", "{2}")); in Test9946()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XListFormatter.java | 56 private ListFormatter listFormatter; field in XListFormatter 64 listFormatter = new ListFormatter(doublePattern, startPattern, middlePattern, endPattern); in XListFormatter() 68 return listFormatter.format(items); in format() 72 return listFormatter.format(items); in format() 80 return listFormatter.format(source); in formatCodePoints()
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 622 listFormatter(NULL) { in MeasureFormat() 635 listFormatter(NULL) { in MeasureFormat() 645 listFormatter(NULL) { in MeasureFormat() 649 if (other.listFormatter != NULL) { in MeasureFormat() 650 listFormatter = new ListFormatter(*other.listFormatter); in MeasureFormat() 663 delete listFormatter; in operator =() 664 if (other.listFormatter != NULL) { in operator =() 665 listFormatter = new ListFormatter(*other.listFormatter); in operator =() 667 listFormatter = NULL; in operator =() 677 listFormatter(NULL) { in MeasureFormat() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 451 ListFormatter listFormatter = ListFormatter.getInstance(getLocale(), in formatMeasuresInternal() local 454 formatMeasuresSlowTrack(listFormatter, appendTo, fieldPosition, measures); in formatMeasuresInternal() 466 FormattedListBuilder builder = listFormatter.format(Arrays.asList(results), -1); in formatMeasuresInternal() 786 ListFormatter listFormatter, in formatMeasuresSlowTrack() argument 812 ListFormatter.FormattedListBuilder builder = listFormatter.format(Arrays.asList(results), in formatMeasuresSlowTrack()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MeasureFormat.java | 425 ListFormatter listFormatter = ListFormatter.getInstance(getLocale(), in formatMeasuresInternal() local 428 formatMeasuresSlowTrack(listFormatter, appendTo, fieldPosition, measures); in formatMeasuresInternal() 440 FormattedListBuilder builder = listFormatter.format(Arrays.asList(results), -1); in formatMeasuresInternal() 745 ListFormatter listFormatter, in formatMeasuresSlowTrack() argument 771 ListFormatter.FormattedListBuilder builder = listFormatter.format(Arrays.asList(results), in formatMeasuresSlowTrack()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | measfmt.h | 356 ListFormatter *listFormatter; variable
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 797 …ListFormatter listFormatter = new ListFormatter(doublePattern, startPattern, middlePattern, endPat… in longListPatternExample() local 798 String example = listFormatter.format(items); in longListPatternExample()
|