Lines Matching refs:msgPattern
236 msgPattern(success), in MessageFormat()
258 msgPattern(success), in MessageFormat()
281 msgPattern(success), in MessageFormat()
303 msgPattern(that.msgPattern), in MessageFormat()
380 msgPattern = that.msgPattern; in operator =()
401 msgPattern != that.msgPattern || in operator ==()
492 msgPattern.parse(pattern, &parseError, ec); in applyPattern()
501 msgPattern.clear(); in resetPattern()
515 if (aposMode != msgPattern.getApostropheMode()) { in applyPattern()
516 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern()
527 0 == msgPattern.countParts() in toPattern()
532 return appendTo.append(msgPattern.getPatternString()); in toPattern()
537 partIndex = msgPattern.getLimitPartIndex(partIndex); in nextTopLevelArgStart()
540 UMessagePatternPartType type = msgPattern.getPartType(++partIndex); in nextTopLevelArgStart()
574 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in argNameMatches()
576 msgPattern.partSubstringMatches(part, argName) : in argNameMatches()
849 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in getArgName()
850 return msgPattern.getSubstring(part); in getArgName()
1018 const UnicodeString& msgString = msgPattern.getPatternString(); in format()
1019 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1021 const MessagePattern::Part* part = &msgPattern.getPart(i); in format()
1045 int32_t argLimit = msgPattern.getLimitPartIndex(i); in format()
1047 part = &msgPattern.getPart(++i); in format()
1050 UnicodeString argName = msgPattern.getSubstring(*part); in format()
1097 … (subMsgString.indexOf(SINGLE_QUOTE) >= 0 && !MessageImpl::jdkAposMode(msgPattern)) in format()
1128 int32_t subMsgStart = ChoiceFormat::findSubMessage(msgPattern, i, number); in format()
1140 double offset = msgPattern.getPluralOffset(i); in format()
1143 msgPattern, i, selector, &context, arg->getDouble(success), success); in format()
1147 …int32_t subMsgStart = SelectFormat::findSubMessage(msgPattern, i, arg->getString(success), success… in format()
1156 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1173 if (!MessageImpl::jdkAposMode(msgPattern)) { in formatComplexSubMessage()
1183 const UnicodeString& msgString = msgPattern.getPatternString(); in formatComplexSubMessage()
1185 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1187 const MessagePattern::Part& part = msgPattern.getPart(++i); in formatComplexSubMessage()
1210 i = msgPattern.getLimitPartIndex(i); in formatComplexSubMessage()
1211 index = msgPattern.getPart(i).getLimit(); in formatComplexSubMessage()
1228 const UnicodeString& msgString=msgPattern.getPatternString(); in getLiteralStringUntilNextArgument()
1229 int32_t prevIndex=msgPattern.getPart(from).getLimit(); in getLiteralStringUntilNextArgument()
1232 const MessagePattern::Part& part = msgPattern.getPart(i); in getLiteralStringUntilNextArgument()
1262 int32_t count=msgPattern.countParts(); in findOtherSubMessage()
1263 const MessagePattern::Part *part = &msgPattern.getPart(partIndex); in findOtherSubMessage()
1271 part=&msgPattern.getPart(partIndex++); in findOtherSubMessage()
1278 if(msgPattern.partSubstringMatches(*part, other)) { in findOtherSubMessage()
1281 if(MessagePattern::Part::hasNumericValue(msgPattern.getPartType(partIndex))) { in findOtherSubMessage()
1284 partIndex=msgPattern.getLimitPartIndex(partIndex); in findOtherSubMessage()
1292 const MessagePattern::Part &part=msgPattern.getPart(i); in findFirstPluralNumberArg()
1304 if(msgPattern.partSubstringMatches(msgPattern.getPart(i+1), argName)) { in findFirstPluralNumberArg()
1308 i=msgPattern.getLimitPartIndex(i); in findFirstPluralNumberArg()
1382 if (msgPattern.hasNamedArguments()) { in parse()
1388 const UnicodeString& msgString=msgPattern.getPatternString(); in parse()
1389 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1395 const MessagePattern::Part* part=&msgPattern.getPart(i); in parse()
1419 int32_t argLimit=msgPattern.getLimitPartIndex(i); in parse()
1422 part=&msgPattern.getPart(++i); in parse()
1473 double choiceResult = ChoiceFormat::parseArgument(msgPattern, i, source, tempStatus); in parse()
1493 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
1520 if (msgPattern.hasNamedArguments()) { in parse()
1598 int32_t limit = msgPattern.countParts() - 2; in cacheExplicitFormats()
1606 const MessagePattern::Part& part = msgPattern.getPart(i); in cacheExplicitFormats()
1628 const MessagePattern::Part* part = &msgPattern.getPart(i); in cacheExplicitFormats()
1635 part = &msgPattern.getPart(i + 1); in cacheExplicitFormats()
1648 UnicodeString explicitType = msgPattern.getSubstring(msgPattern.getPart(i++)); in cacheExplicitFormats()
1650 if ((part = &msgPattern.getPart(i))->getType() == UMSGPAT_PART_TYPE_ARG_STYLE) { in cacheExplicitFormats()
1651 style = msgPattern.getSubstring(*part); in cacheExplicitFormats()
1859 return msgPattern.hasNamedArguments(); in usesNamedArguments()