Lines Matching refs:pattern
207 icu::UnicodeString pattern;
218 pattern += kKeywords[j];
219 pattern += UNICODE_STRING_SIMPLE("{");
220 pattern += icu::UnicodeString(sub_pattern.c_str(), "UTF-8");
221 pattern += UNICODE_STRING_SIMPLE("}");
224 icu::PluralFormat* format = new icu::PluralFormat(*rules, pattern, err);
247 icu::UnicodeString pattern;
249 pattern += UNICODE_STRING_SIMPLE("one{# ") + kUnits[index][0] + suffix;
251 pattern += UNICODE_STRING_SIMPLE(" other{# ") + kUnits[index][1] + suffix;
253 icu::PluralFormat* format = new icu::PluralFormat(rules, pattern, err);