Lines Matching refs:nestingLevel
435 int32_t nestingLevel, UMessagePatternArgType parentType, in parseMessage() argument
440 if(nestingLevel>Part::MAX_VALUE) { in parseMessage()
445 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage()
511 index=parseArg(index-1, 1, nestingLevel, parseError, errorCode); in parseMessage()
512 } else if((nestingLevel>0 && c==u_rightCurlyBrace) || in parseMessage()
519 nestingLevel, errorCode); in parseMessage()
529 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
534 addLimitPart(msgStart, UMSGPAT_PART_TYPE_MSG_LIMIT, index, 0, nestingLevel, errorCode); in parseMessage()
539 MessagePattern::parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel, in parseArg() argument
647 index=parseChoiceStyle(index, nestingLevel, parseError, errorCode); in parseArg()
649 index=parsePluralOrSelectStyle(argType, index, nestingLevel, parseError, errorCode); in parseArg()
702 MessagePattern::parseChoiceStyle(int32_t index, int32_t nestingLevel, in parseChoiceStyle() argument
749 … index=parseMessage(++index, 0, nestingLevel+1, UMSGPAT_ARG_TYPE_CHOICE, parseError, errorCode); in parseChoiceStyle()
758 if(!inMessageFormatPattern(nestingLevel)) { in parseChoiceStyle()
771 int32_t index, int32_t nestingLevel, in parsePluralOrSelectStyle() argument
786 if(eos==inMessageFormatPattern(nestingLevel)) { in parsePluralOrSelectStyle()
879 index=parseMessage(index, 1, nestingLevel+1, argType, parseError, errorCode); in parsePluralOrSelectStyle()
1090 MessagePattern::inMessageFormatPattern(int32_t nestingLevel) { in inMessageFormatPattern() argument
1091 return nestingLevel>0 || partsList->a[0].type==UMSGPAT_PART_TYPE_MSG_START; in inMessageFormatPattern()
1095 MessagePattern::inTopLevelChoiceMessage(int32_t nestingLevel, UMessagePatternArgType parentType) { in inTopLevelChoiceMessage() argument
1097 nestingLevel==1 && in inTopLevelChoiceMessage()