Home
last modified time | relevance | path

Searched refs:patStr (Results 1 – 12 of 12) 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/cronet/third_party/icu/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/cronet/third_party/icu/source/i18n/
Drepattrn.cpp824 UnicodeString patStr; in dumpPattern() local
826 patStr.append(c); in dumpPattern()
828 printf("Original Pattern: \"%s\"\n", CStr(patStr)()); in dumpPattern()
Dtzfmt.cpp1870 const UChar* patStr = field->getPatternText(); in parseOffsetFieldsWithPattern() local
1871 len = u_strlen(patStr); in parseOffsetFieldsWithPattern()
1881 U16_GET(patStr, 0, 0, len, ch); in parseOffsetFieldsWithPattern()
1885 patStr += chLen; in parseOffsetFieldsWithPattern()
1893 if (text.caseCompare(idx, len, patStr, 0) != 0) { in parseOffsetFieldsWithPattern()
/external/icu/icu4c/source/i18n/
Drepattrn.cpp824 UnicodeString patStr; in dumpPattern() local
826 patStr.append(c); in dumpPattern()
828 printf("Original Pattern: \"%s\"\n", CStr(patStr)()); in dumpPattern()
Dtzfmt.cpp1870 const UChar* patStr = field->getPatternText(); in parseOffsetFieldsWithPattern() local
1871 len = u_strlen(patStr); in parseOffsetFieldsWithPattern()
1881 U16_GET(patStr, 0, 0, len, ch); in parseOffsetFieldsWithPattern()
1885 patStr += chLen; in parseOffsetFieldsWithPattern()
1893 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.java3758 String patStr = chars.getCurrentBuffer(); in applyPropertyPattern() local
3761 applyPropertyPattern(patStr, pos, symbols); in applyPropertyPattern()
3767 append(rebuiltPat, patStr.substring(start, 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.java3838 String patStr = chars.getCurrentBuffer(); in applyPropertyPattern() local
3841 applyPropertyPattern(patStr, pos, symbols); in applyPropertyPattern()
3847 append(rebuiltPat, patStr.substring(start, pos.getIndex())); in applyPropertyPattern()