Home
last modified time | relevance | path

Searched refs:patStr (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtchcfmt.cpp641 UnicodeString patStr, expectedPattern1("1e-79#one|10000000000000#two|1e+77#three"), in TestChoiceFormatToPatternOverflow() local
643 fmt.toPattern(patStr); in TestChoiceFormatToPatternOverflow()
644 if (patStr != expectedPattern1 && patStr != expectedPattern2) { in TestChoiceFormatToPatternOverflow()
645 …errln("ChoiceFormat returned \"" + patStr + "\" instead of \"" + expectedPattern1 + " or " + expec… in TestChoiceFormatToPatternOverflow()
/external/icu/icu4c/source/i18n/
Drepattrn.cpp813 UnicodeString patStr; in dumpPattern() local
815 patStr.append(c); in dumpPattern()
817 printf("Original Pattern: \"%s\"\n", CStr(patStr)()); in dumpPattern()
Dtzfmt.cpp1865 const UChar* patStr = field->getPatternText(); in parseOffsetFieldsWithPattern() local
1866 len = u_strlen(patStr); in parseOffsetFieldsWithPattern()
1876 U16_GET(patStr, 0, 0, len, ch) in parseOffsetFieldsWithPattern()
1880 patStr += chLen; in parseOffsetFieldsWithPattern()
1888 if (text.caseCompare(idx, len, patStr, 0) != 0) { in parseOffsetFieldsWithPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneGenericNames.java281 public TimeZoneGenericNames setFormatPattern(Pattern patType, String patStr) { in setFormatPattern() argument
299 _patternFormatters[patType.ordinal()] = new MessageFormat(patStr); in setFormatPattern()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneGenericNames.java285 public TimeZoneGenericNames setFormatPattern(Pattern patType, String patStr) { in setFormatPattern() argument
303 _patternFormatters[patType.ordinal()] = new MessageFormat(patStr); in setFormatPattern()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java2329 String patStr = (String)patternItems[i];
2330 int len = patStr.length();
2339 int cp = patStr.codePointAt(patIdx);
2350 if (!text.regionMatches(true, idx, patStr, patIdx, len)) {
DUnicodeSet.java3719 String patStr = chars.lookahead(); in applyPropertyPattern() local
3721 applyPropertyPattern(patStr, pos, symbols); in applyPropertyPattern()
3726 append(rebuiltPat, patStr.substring(0, pos.getIndex())); in applyPropertyPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2399 String patStr = (String)patternItems[i];
2400 int len = patStr.length();
2409 int cp = patStr.codePointAt(patIdx);
2420 if (!text.regionMatches(true, idx, patStr, patIdx, len)) {
DUnicodeSet.java3797 String patStr = chars.lookahead(); in applyPropertyPattern() local
3799 applyPropertyPattern(patStr, pos, symbols); in applyPropertyPattern()
3804 append(rebuiltPat, patStr.substring(0, pos.getIndex())); in applyPropertyPattern()