/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | ListFormatterTest.java | 18 import android.icu.text.ListFormatter; 33 …ListFormatter formatter = new ListFormatter("{0} and {1}", "{0}; {1}", "{0}, {1}", "{0}, and {1}"); in TestBasic() 48 checkData(ListFormatter.getInstance(ULocale.ENGLISH), EnglishTestData); in TestEnglish() 49 checkData(ListFormatter.getInstance(ULocale.US), EnglishTestData); in TestEnglish() 51 checkData(ListFormatter.getInstance(Locale.ENGLISH), EnglishTestData); in TestEnglish() 53 checkData(ListFormatter.getInstance(), EnglishTestData); in TestEnglish() 71 checkData(ListFormatter.getInstance(new ULocale("en_GB")), EnglishGBTestData); in TestEnglishGB() 88 checkData(ListFormatter.getInstance(new ULocale("zh_Hant_HK")), ChineseTradHKTestData); in TestChineseTradHK() 102 checkData(ListFormatter.getInstance(ULocale.JAPANESE), JapaneseTestData); in TestJapanese() 115 …ListFormatter formatter = new ListFormatter("{1} after {0}", "{1} after the first {0}", "{1} after… in TestPatternOutOfOrder() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | ListFormatterTest.java | 17 import com.ibm.icu.text.ListFormatter; 32 …ListFormatter formatter = new ListFormatter("{0} and {1}", "{0}; {1}", "{0}, {1}", "{0}, and {1}"); in TestBasic() 47 checkData(ListFormatter.getInstance(ULocale.ENGLISH), EnglishTestData); in TestEnglish() 48 checkData(ListFormatter.getInstance(ULocale.US), EnglishTestData); in TestEnglish() 50 checkData(ListFormatter.getInstance(Locale.ENGLISH), EnglishTestData); in TestEnglish() 52 checkData(ListFormatter.getInstance(), EnglishTestData); in TestEnglish() 70 checkData(ListFormatter.getInstance(new ULocale("en_GB")), EnglishGBTestData); in TestEnglishGB() 87 checkData(ListFormatter.getInstance(new ULocale("zh_Hant_HK")), ChineseTradHKTestData); in TestChineseTradHK() 101 checkData(ListFormatter.getInstance(ULocale.JAPANESE), JapaneseTestData); in TestJapanese() 114 …ListFormatter formatter = new ListFormatter("{1} after {0}", "{1} after the first {0}", "{1} after… in TestPatternOutOfOrder() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | listformatter.h | 64 class U_COMMON_API ListFormatter : public UObject{ 72 ListFormatter(const ListFormatter&); 78 ListFormatter& operator=(const ListFormatter& other); 88 static ListFormatter* createInstance(UErrorCode& errorCode); 99 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode); 112 …static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCod… 120 virtual ~ListFormatter(); 150 ListFormatter(const ListFormatData &data, UErrorCode &errorCode); 154 ListFormatter(const ListFormatInternal* listFormatterInternal); 163 ListFormatter();
|
/external/icu/icu4c/source/common/ |
D | listformatter.cpp | 82 ListFormatter::ListFormatter(const ListFormatter& other) : in ListFormatter() function in ListFormatter 90 ListFormatter& ListFormatter::operator=(const ListFormatter& other) { in operator =() 105 void ListFormatter::initializeHash(UErrorCode& errorCode) { in initializeHash() 121 const ListFormatInternal* ListFormatter::getListFormatInternal( in getListFormatInternal() 171 struct ListFormatter::ListPatternsSink : public ResourceSink { 227 ListFormatter::ListPatternsSink::~ListPatternsSink() {} in ~ListPatternsSink() 229 ListFormatInternal* ListFormatter::loadListFormatInternal( in loadListFormatInternal() 237 ListFormatter::ListPatternsSink sink; in loadListFormatInternal() 269 ListFormatter* ListFormatter::createInstance(UErrorCode& errorCode) { in createInstance() 274 ListFormatter* ListFormatter::createInstance(const Locale& locale, UErrorCode& errorCode) { in createInstance() [all …]
|
D | ulistformatter.cpp | 28 LocalPointer<ListFormatter> listfmt(ListFormatter::createInstance(Locale(locale), *status)); in ulistfmt_open() 39 delete (ListFormatter*)listfmt; in ulistfmt_close() 83 ((const ListFormatter*)listfmt)->format( ustrings, stringCount, res, *status ); in ulistfmt_format()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ListFormatter.java | 32 final public class ListFormatter { class 112 public ListFormatter(String two, String start, String middle, String end) { in ListFormatter() method in ListFormatter 121 private ListFormatter(String two, String start, String middle, String end, ULocale locale) { in ListFormatter() method in ListFormatter 140 public static ListFormatter getInstance(ULocale locale) { in getInstance() 151 public static ListFormatter getInstance(Locale locale) { in getInstance() 165 public static ListFormatter getInstance(ULocale locale, Style style) { in getInstance() 174 public static ListFormatter getInstance() { in getInstance() 301 private final ICUCache<String, ListFormatter> cache = 302 new SimpleCache<String, ListFormatter>(); 304 public ListFormatter get(ULocale locale, String style) { in get() [all …]
|
D | MeasureFormat.java | 165 WIDE(ListFormatter.Style.DURATION, NumberFormat.PLURALCURRENCYSTYLE), 170 SHORT(ListFormatter.Style.DURATION_SHORT, NumberFormat.ISOCURRENCYSTYLE), 175 NARROW(ListFormatter.Style.DURATION_NARROW, NumberFormat.CURRENCYSTYLE), 182 NUMERIC(ListFormatter.Style.DURATION_NARROW, NumberFormat.CURRENCYSTYLE); 188 private final ListFormatter.Style listFormatterStyle; 191 private FormatWidth(ListFormatter.Style style, int currencyStyle) { in FormatWidth() 196 ListFormatter.Style getListFormatterStyle() { in getListFormatterStyle() 536 ListFormatter listFormatter = ListFormatter.getInstance( in formatMeasures() 1161 ListFormatter listFormatter, in formatMeasuresSlowTrack() 1183 ListFormatter.FormattedListBuilder builder = in formatMeasuresSlowTrack()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ListFormatter.java | 32 final public class ListFormatter { class 112 public ListFormatter(String two, String start, String middle, String end) { in ListFormatter() method in ListFormatter 121 private ListFormatter(String two, String start, String middle, String end, ULocale locale) { in ListFormatter() method in ListFormatter 141 public static ListFormatter getInstance(ULocale locale) { in getInstance() 153 public static ListFormatter getInstance(Locale locale) { in getInstance() 167 public static ListFormatter getInstance(ULocale locale, Style style) { in getInstance() 177 public static ListFormatter getInstance() { in getInstance() 307 private final ICUCache<String, ListFormatter> cache = 308 new SimpleCache<String, ListFormatter>(); 310 public ListFormatter get(ULocale locale, String style) { in get() [all …]
|
D | MeasureFormat.java | 169 WIDE(ListFormatter.Style.DURATION, NumberFormat.PLURALCURRENCYSTYLE), 176 SHORT(ListFormatter.Style.DURATION_SHORT, NumberFormat.ISOCURRENCYSTYLE), 183 NARROW(ListFormatter.Style.DURATION_NARROW, NumberFormat.CURRENCYSTYLE), 192 NUMERIC(ListFormatter.Style.DURATION_NARROW, NumberFormat.CURRENCYSTYLE); 198 private final ListFormatter.Style listFormatterStyle; 201 private FormatWidth(ListFormatter.Style style, int currencyStyle) { in FormatWidth() 206 ListFormatter.Style getListFormatterStyle() { in getListFormatterStyle() 555 ListFormatter listFormatter = ListFormatter.getInstance( in formatMeasures() 1189 ListFormatter listFormatter, in formatMeasuresSlowTrack() 1211 ListFormatter.FormattedListBuilder builder = in formatMeasuresSlowTrack()
|
/external/icu/icu4c/source/test/intltest/ |
D | listformattertest.cpp | 28 void ListFormatterTest::CheckFormatting(const ListFormatter* formatter, UnicodeString data[], int32… in CheckFormatting() 42 …LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCo… in CheckFourCases() 63 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(locale, errorCode)); in RecordFourCases() 117 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale("en"), errorCode)); in Test9946() 247 ListFormatter formatter(data, errorCode); in TestOutOfOrderPatterns()
|
D | listformattertest.h | 46 …void CheckFormatting(const ListFormatter* formatter, UnicodeString data[], int32_t data_size, cons…
|
/external/icu/icu4c/source/i18n/unicode/ |
D | measfmt.h | 86 class ListFormatter; variable 345 ListFormatter *listFormatter;
|
/external/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 642 listFormatter = new ListFormatter(*other.listFormatter); in MeasureFormat() 657 listFormatter = new ListFormatter(*other.listFormatter); in operator =() 891 listFormatter = ListFormatter::createInstance( in initMeasureFormat()
|
/external/icu/icu4j/ |
D | coverage-exclusion.txt | 672 com/ibm/icu/text/ListFormatter$Style#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/text/ListFormatter$St… 673 com/ibm/icu/text/ListFormatter$Style#values:()[Lcom/ibm/icu/text/ListFormatter$Style;
|
/external/icu/icu4j/tools/build/ |
D | icu4j52.api3.gz |
|
D | icu4j53.api3.gz |
|
D | icu4j57.api3.gz |
|
D | icu4j54.api3.gz |
|
D | icu4j55.api3.gz |
|
D | icu4j56.api3.gz | 12;ICU4J 56.1;;
2ST@3.6;PB;NS;NF;NS; ... |
D | icu4j58.api3.gz | 12;ICU4J 58.1;;
2ST@3.6;PB;NS;NF;NS; ... |
D | icu4j50.api3.gz | 12;ICU4J 50.1;;
2ST@3.6;PB;NS;NF;NS; ... |
D | icu4j51.api3.gz |
|