• Home
  • Raw
  • Download

Lines Matching refs:parseError

162 MessagePattern::MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &e…  in MessagePattern()  argument
168 parse(pattern, parseError, errorCode); in MessagePattern()
268 MessagePattern::parse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode)… in parse() argument
269 preParse(pattern, parseError, errorCode); in parse()
270 parseMessage(0, 0, 0, UMSGPAT_ARG_TYPE_NONE, parseError, errorCode); in parse()
277 UParseError *parseError, UErrorCode &errorCode) { in parseChoiceStyle() argument
278 preParse(pattern, parseError, errorCode); in parseChoiceStyle()
279 parseChoiceStyle(0, 0, parseError, errorCode); in parseChoiceStyle()
286 UParseError *parseError, UErrorCode &errorCode) { in parsePluralStyle() argument
287 preParse(pattern, parseError, errorCode); in parsePluralStyle()
288 parsePluralOrSelectStyle(UMSGPAT_ARG_TYPE_PLURAL, 0, 0, parseError, errorCode); in parsePluralStyle()
295 UParseError *parseError, UErrorCode &errorCode) { in parseSelectStyle() argument
296 preParse(pattern, parseError, errorCode); in parseSelectStyle()
297 parsePluralOrSelectStyle(UMSGPAT_ARG_TYPE_SELECT, 0, 0, parseError, errorCode); in parseSelectStyle()
406 MessagePattern::preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCo… in preParse() argument
410 if(parseError!=NULL) { in preParse()
411 parseError->line=0; in preParse()
412 parseError->offset=0; in preParse()
413 parseError->preContext[0]=0; in preParse()
414 parseError->postContext[0]=0; in preParse()
436 UParseError *parseError, UErrorCode &errorCode) { in parseMessage() argument
511 index=parseArg(index-1, 1, nestingLevel, parseError, errorCode); in parseMessage()
530 setParseError(parseError, 0); // Unmatched '{' braces in message. in parseMessage()
540 UParseError *parseError, UErrorCode &errorCode) { in parseArg() argument
549 setParseError(parseError, 0); // Unmatched '{' braces in message. in parseArg()
559 setParseError(parseError, nameIndex); // Argument number too large. in parseArg()
568 setParseError(parseError, nameIndex); // Argument name too long. in parseArg()
575 setParseError(parseError, nameIndex); // Bad argument syntax. in parseArg()
581 setParseError(parseError, 0); // Unmatched '{' braces in message. in parseArg()
589 setParseError(parseError, nameIndex); // Bad argument syntax. in parseArg()
601 setParseError(parseError, 0); // Unmatched '{' braces in message. in parseArg()
606 setParseError(parseError, nameIndex); // Bad argument syntax. in parseArg()
611 setParseError(parseError, nameIndex); // Argument type name too long. in parseArg()
638 setParseError(parseError, nameIndex); // No style field for complex argument. in parseArg()
645 index=parseSimpleStyle(index, parseError, errorCode); in parseArg()
647 index=parseChoiceStyle(index, nestingLevel, parseError, errorCode); in parseArg()
649 index=parsePluralOrSelectStyle(argType, index, nestingLevel, parseError, errorCode); in parseArg()
659 MessagePattern::parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode) { in parseSimpleStyle() argument
673 setParseError(parseError, start); in parseSimpleStyle()
687 setParseError(parseError, start); // Argument style text too long. in parseSimpleStyle()
696 setParseError(parseError, 0); // Unmatched '{' braces in message. in parseSimpleStyle()
703 UParseError *parseError, UErrorCode &errorCode) { in parseChoiceStyle() argument
710 setParseError(parseError, 0); // Missing choice argument pattern. in parseChoiceStyle()
721 setParseError(parseError, start); // Bad choice pattern syntax. in parseChoiceStyle()
726 setParseError(parseError, numberIndex); // Choice number too long. in parseChoiceStyle()
730 parseDouble(numberIndex, index, TRUE, parseError, errorCode); // adds ARG_INT or ARG_DOUBLE in parseChoiceStyle()
737 setParseError(parseError, start); // Bad choice pattern syntax. in parseChoiceStyle()
743 setParseError(parseError, start); // Expected choice separator (#<\u2264) instead of c. in parseChoiceStyle()
749 … index=parseMessage(++index, 0, nestingLevel+1, UMSGPAT_ARG_TYPE_CHOICE, parseError, errorCode); in parseChoiceStyle()
759 setParseError(parseError, start); // Bad choice pattern syntax. in parseChoiceStyle()
772 UParseError *parseError, UErrorCode &errorCode) { in parsePluralOrSelectStyle() argument
787 setParseError(parseError, start); // Bad plural/select pattern syntax. in parsePluralOrSelectStyle()
792 setParseError(parseError, 0); // Missing 'other' keyword in plural/select pattern. in parsePluralOrSelectStyle()
804 setParseError(parseError, start); // Bad plural/select pattern syntax. in parsePluralOrSelectStyle()
809 setParseError(parseError, selectorIndex); // Argument selector too long. in parsePluralOrSelectStyle()
815 parseError, errorCode); // adds ARG_INT or ARG_DOUBLE in parsePluralOrSelectStyle()
820 setParseError(parseError, start); // Bad plural/select pattern syntax. in parsePluralOrSelectStyle()
831 setParseError(parseError, start); in parsePluralOrSelectStyle()
839 setParseError(parseError, start); // Missing value for plural 'offset:'. in parsePluralOrSelectStyle()
844 setParseError(parseError, valueIndex); // Plural offset value too long. in parsePluralOrSelectStyle()
849 parseError, errorCode); // adds ARG_INT or ARG_DOUBLE in parsePluralOrSelectStyle()
858 setParseError(parseError, selectorIndex); // Argument selector too long. in parsePluralOrSelectStyle()
875 … setParseError(parseError, selectorIndex); // No message fragment after plural/select selector. in parsePluralOrSelectStyle()
879 index=parseMessage(index, 1, nestingLevel+1, argType, parseError, errorCode); in parsePluralOrSelectStyle()
933 UParseError *parseError, UErrorCode &errorCode) { in parseDouble() argument
1000 setParseError(parseError, start /*, limit*/); // Bad syntax for numeric value. in parseDouble()
1149 MessagePattern::setParseError(UParseError *parseError, int32_t index) { in setParseError() argument
1150 if(parseError==NULL) { in setParseError()
1153 parseError->offset=index; in setParseError()
1164 msg.extract(index-length, length, parseError->preContext); in setParseError()
1165 parseError->preContext[length]=0; in setParseError()
1175 msg.extract(index, length, parseError->postContext); in setParseError()
1176 parseError->postContext[length]=0; in setParseError()