Lines Matching refs:msgPattern
233 msgPattern(success), in MessageFormat()
255 msgPattern(success), in MessageFormat()
278 msgPattern(success), in MessageFormat()
300 msgPattern(that.msgPattern), in MessageFormat()
377 msgPattern = that.msgPattern; in operator =()
398 msgPattern != that.msgPattern || in operator ==()
489 msgPattern.parse(pattern, &parseError, ec); in applyPattern()
498 msgPattern.clear(); in resetPattern()
512 if (aposMode != msgPattern.getApostropheMode()) { in applyPattern()
513 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern()
524 0 == msgPattern.countParts() in toPattern()
529 return appendTo.append(msgPattern.getPatternString()); in toPattern()
534 partIndex = msgPattern.getLimitPartIndex(partIndex); in nextTopLevelArgStart()
537 UMessagePatternPartType type = msgPattern.getPartType(++partIndex); in nextTopLevelArgStart()
571 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in argNameMatches()
573 msgPattern.partSubstringMatches(part, argName) : in argNameMatches()
841 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in getArgName()
842 return msgPattern.getSubstring(part); in getArgName()
1010 const UnicodeString& msgString = msgPattern.getPatternString(); in format()
1011 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1013 const MessagePattern::Part* part = &msgPattern.getPart(i); in format()
1037 int32_t argLimit = msgPattern.getLimitPartIndex(i); in format()
1039 part = &msgPattern.getPart(++i); in format()
1042 UnicodeString argName = msgPattern.getSubstring(*part); in format()
1089 … (subMsgString.indexOf(SINGLE_QUOTE) >= 0 && !MessageImpl::jdkAposMode(msgPattern)) in format()
1120 int32_t subMsgStart = ChoiceFormat::findSubMessage(msgPattern, i, number); in format()
1132 double offset = msgPattern.getPluralOffset(i); in format()
1135 msgPattern, i, selector, &context, arg->getDouble(success), success); in format()
1139 …int32_t subMsgStart = SelectFormat::findSubMessage(msgPattern, i, arg->getString(success), success… in format()
1148 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1165 if (!MessageImpl::jdkAposMode(msgPattern)) { in formatComplexSubMessage()
1175 const UnicodeString& msgString = msgPattern.getPatternString(); in formatComplexSubMessage()
1177 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1179 const MessagePattern::Part& part = msgPattern.getPart(++i); in formatComplexSubMessage()
1202 i = msgPattern.getLimitPartIndex(i); in formatComplexSubMessage()
1203 index = msgPattern.getPart(i).getLimit(); in formatComplexSubMessage()
1220 const UnicodeString& msgString=msgPattern.getPatternString(); in getLiteralStringUntilNextArgument()
1221 int32_t prevIndex=msgPattern.getPart(from).getLimit(); in getLiteralStringUntilNextArgument()
1224 const MessagePattern::Part& part = msgPattern.getPart(i); in getLiteralStringUntilNextArgument()
1254 int32_t count=msgPattern.countParts(); in findOtherSubMessage()
1255 const MessagePattern::Part *part = &msgPattern.getPart(partIndex); in findOtherSubMessage()
1263 part=&msgPattern.getPart(partIndex++); in findOtherSubMessage()
1270 if(msgPattern.partSubstringMatches(*part, other)) { in findOtherSubMessage()
1273 if(MessagePattern::Part::hasNumericValue(msgPattern.getPartType(partIndex))) { in findOtherSubMessage()
1276 partIndex=msgPattern.getLimitPartIndex(partIndex); in findOtherSubMessage()
1284 const MessagePattern::Part &part=msgPattern.getPart(i); in findFirstPluralNumberArg()
1296 if(msgPattern.partSubstringMatches(msgPattern.getPart(i+1), argName)) { in findFirstPluralNumberArg()
1300 i=msgPattern.getLimitPartIndex(i); in findFirstPluralNumberArg()
1374 if (msgPattern.hasNamedArguments()) { in parse()
1380 const UnicodeString& msgString=msgPattern.getPatternString(); in parse()
1381 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1387 const MessagePattern::Part* part=&msgPattern.getPart(i); in parse()
1411 int32_t argLimit=msgPattern.getLimitPartIndex(i); in parse()
1414 part=&msgPattern.getPart(++i); in parse()
1465 double choiceResult = ChoiceFormat::parseArgument(msgPattern, i, source, tempStatus); in parse()
1485 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
1512 if (msgPattern.hasNamedArguments()) { in parse()
1590 int32_t limit = msgPattern.countParts() - 2; in cacheExplicitFormats()
1598 const MessagePattern::Part& part = msgPattern.getPart(i); in cacheExplicitFormats()
1620 const MessagePattern::Part* part = &msgPattern.getPart(i); in cacheExplicitFormats()
1627 part = &msgPattern.getPart(i + 1); in cacheExplicitFormats()
1640 UnicodeString explicitType = msgPattern.getSubstring(msgPattern.getPart(i++)); in cacheExplicitFormats()
1642 if ((part = &msgPattern.getPart(i))->getType() == UMSGPAT_PART_TYPE_ARG_STYLE) { in cacheExplicitFormats()
1643 style = msgPattern.getSubstring(*part); in cacheExplicitFormats()
1835 return msgPattern.hasNamedArguments(); in usesNamedArguments()