Home
last modified time | relevance | path

Searched refs:affixPat (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java2886 … String affixPat, boolean complexCurrencyParsing, int type, Currency[] currency) { in compareAffix() argument
2888 return compareComplexAffix(affixPat, text, pos, type, currency); in compareAffix()
3077 private int compareComplexAffix(String affixPat, String text, int pos, int type, in compareComplexAffix() argument
3080 for (int i = 0; i < affixPat.length() && pos >= 0;) { in compareComplexAffix()
3081 char c = affixPat.charAt(i++); in compareComplexAffix()
3084 int j = affixPat.indexOf(QUOTE, i); in compareComplexAffix()
3090 pos = match(text, pos, affixPat.substring(i, j)); in compareComplexAffix()
3092 if (i < affixPat.length() && affixPat.charAt(i) == QUOTE) { in compareComplexAffix()
3117 boolean intl = i < affixPat.length() && affixPat.charAt(i) == CURRENCY_SIGN; in compareComplexAffix()
3121 boolean plural = i < affixPat.length() && affixPat.charAt(i) == CURRENCY_SIGN; in compareComplexAffix()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java2872 … String affixPat, boolean complexCurrencyParsing, int type, Currency[] currency) { in compareAffix() argument
2874 return compareComplexAffix(affixPat, text, pos, type, currency); in compareAffix()
3063 private int compareComplexAffix(String affixPat, String text, int pos, int type, in compareComplexAffix() argument
3066 for (int i = 0; i < affixPat.length() && pos >= 0;) { in compareComplexAffix()
3067 char c = affixPat.charAt(i++); in compareComplexAffix()
3070 int j = affixPat.indexOf(QUOTE, i); in compareComplexAffix()
3076 pos = match(text, pos, affixPat.substring(i, j)); in compareComplexAffix()
3078 if (i < affixPat.length() && affixPat.charAt(i) == QUOTE) { in compareComplexAffix()
3103 boolean intl = i < affixPat.length() && affixPat.charAt(i) == CURRENCY_SIGN; in compareComplexAffix()
3107 boolean plural = i < affixPat.length() && affixPat.charAt(i) == CURRENCY_SIGN; in compareComplexAffix()
[all …]
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp1835 const UnicodeString* affixPat, in compareAffix() argument
1844 if (affixPat != NULL) { in compareAffix()
1845 return compareComplexAffix(*affixPat, text, pos, type, currency); in compareAffix()
2126 int32_t DecimalFormat::compareComplexAffix(const UnicodeString& affixPat, in compareComplexAffix() argument
2136 i<affixPat.length() && pos >= 0; ) { in compareComplexAffix()
2137 UChar32 c = affixPat.char32At(i); in compareComplexAffix()
2141 U_ASSERT(i <= affixPat.length()); in compareComplexAffix()
2142 c = affixPat.char32At(i); in compareComplexAffix()
2154 UBool intl = i<affixPat.length() && in compareComplexAffix()
2155 affixPat.char32At(i) == kCurrencySign; in compareComplexAffix()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Ddecimfmt.h2146 const UnicodeString* affixPat,
2168 int32_t compareComplexAffix(const UnicodeString& affixPat,