Lines Matching refs:pattern
160 MessagePattern::MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode)
166 parse(pattern, parseError, errorCode);
266 MessagePattern::parse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode) {
267 preParse(pattern, parseError, errorCode);
274 MessagePattern::parseChoiceStyle(const UnicodeString &pattern,
276 preParse(pattern, parseError, errorCode);
283 MessagePattern::parsePluralStyle(const UnicodeString &pattern,
285 preParse(pattern, parseError, errorCode);
292 MessagePattern::parseSelectStyle(const UnicodeString &pattern,
294 preParse(pattern, parseError, errorCode);
404 MessagePattern::preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode) {
414 msg=pattern;
455 // The apostrophe is the last character in the pattern.
633 // look for an argument style (pattern)
708 setParseError(parseError, 0); // Missing choice argument pattern.
719 setParseError(parseError, start); // Bad choice pattern syntax.
735 setParseError(parseError, start); // Bad choice pattern syntax.
757 setParseError(parseError, start); // Bad choice pattern syntax.
785 setParseError(parseError, start); // Bad plural/select pattern syntax.
790 setParseError(parseError, 0); // Missing 'other' keyword in plural/select pattern.
802 setParseError(parseError, start); // Bad plural/select pattern syntax.
818 setParseError(parseError, start); // Bad plural/select pattern syntax.