Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dquantityformattertest.cpp40 fmt.addIfAbsent("a bad variant", "{0} pounds", status)); in TestBasic()
45 fmt.addIfAbsent("other", "{0} {1} too many placeholders", status)); in TestBasic()
51 fmt.addIfAbsent("zero", "no placeholder", status)); in TestBasic()
54 fmt.addIfAbsent("other", "{0} pounds", status)); in TestBasic()
58 fmt.addIfAbsent("one", "{0} pound", status)); in TestBasic()
/external/icu/icu4c/source/i18n/
Dquantityformatter.h76 UBool addIfAbsent(const char *variant, const UnicodeString &rawPattern, UErrorCode &status);
Dquantityformatter.cpp74 UBool QuantityFormatter::addIfAbsent( in addIfAbsent() function in QuantityFormatter
Dreldatefmt.cpp189 if (!formatter.addIfAbsent( in initQuantityFormatter()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantityFormatter.java40 public void addIfAbsent(CharSequence variant, String template) { in addIfAbsent() method in QuantityFormatter
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java39 public void addIfAbsent(CharSequence variant, String template) { in addIfAbsent() method in QuantityFormatter