Home
last modified time | relevance | path

Searched refs:ptnLen (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/i18n/
Dcurrpinf.cpp249 int32_t ptnLen; in setupCurrencyPluralPattern() local
250 …t UChar* numberStylePattern = ures_getStringByKeyWithFallback(rb, gDecimalFormatTag, &ptnLen, &ec); in setupCurrencyPluralPattern()
256 numberStylePattern = ures_getStringByKeyWithFallback(rb, gDecimalFormatTag, &ptnLen, &ec); in setupCurrencyPluralPattern()
258 int32_t numberStylePatternLen = ptnLen; in setupCurrencyPluralPattern()
265 for (int32_t styleCharIndex = 0; styleCharIndex < ptnLen; ++styleCharIndex) { in setupCurrencyPluralPattern()
270 negNumberStylePatternLen = ptnLen - styleCharIndex - 1; in setupCurrencyPluralPattern()
295 int32_t ptnLen; in setupCurrencyPluralPattern() local
298 currencyRes, pluralCount, &ptnLen, &err); in setupCurrencyPluralPattern()
299 if (U_SUCCESS(err) && ptnLen > 0) { in setupCurrencyPluralPattern()
300 UnicodeString* pattern = new UnicodeString(patternChars, ptnLen); in setupCurrencyPluralPattern()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dcurrpinf.cpp247 int32_t ptnLen; in setupCurrencyPluralPattern() local
248 …t UChar* numberStylePattern = ures_getStringByKeyWithFallback(rb, gDecimalFormatTag, &ptnLen, &ec); in setupCurrencyPluralPattern()
249 int32_t numberStylePatternLen = ptnLen; in setupCurrencyPluralPattern()
256 for (int32_t styleCharIndex = 0; styleCharIndex < ptnLen; ++styleCharIndex) { in setupCurrencyPluralPattern()
261 negNumberStylePatternLen = ptnLen - styleCharIndex - 1; in setupCurrencyPluralPattern()
283 int32_t ptnLen; in setupCurrencyPluralPattern() local
286 currencyRes, pluralCount, &ptnLen, &err); in setupCurrencyPluralPattern()
287 if (U_SUCCESS(err) && ptnLen > 0) { in setupCurrencyPluralPattern()
288 UnicodeString* pattern = new UnicodeString(patternChars, ptnLen); in setupCurrencyPluralPattern()
299 UnicodeString negPattern(patternChars, ptnLen); in setupCurrencyPluralPattern()