Lines Matching defs:part
571 const MessagePattern::Part& part = msgPattern.getPart(partIndex);
572 return part.getType() == UMSGPAT_PART_TYPE_ARG_NAME ?
573 msgPattern.partSubstringMatches(part, argName) :
574 part.getValue() == argNumber; // ARG_NUMBER
577 // Sets a custom formatter for a MessagePattern ARG_START part index.
841 const MessagePattern::Part& part = msgPattern.getPart(partIndex);
842 return msgPattern.getSubstring(part);
1013 const MessagePattern::Part* part = &msgPattern.getPart(i);
1014 const UMessagePatternPartType type = part->getType();
1015 int32_t index = part->getIndex();
1020 prevIndex = part->getLimit();
1038 UMessagePatternArgType argType = part->getArgType();
1039 part = &msgPattern.getPart(++i);
1042 UnicodeString argName = msgPattern.getSubstring(*part);
1044 int32_t argNumber = part->getValue(); // ARG_NUMBER
1179 const MessagePattern::Part& part = msgPattern.getPart(++i);
1180 const UMessagePatternPartType type = part.getType();
1181 int32_t index = part.getIndex();
1198 prevIndex = part.getLimit();
1224 const MessagePattern::Part& part = msgPattern.getPart(i);
1225 const UMessagePatternPartType type=part.getType();
1226 int32_t index=part.getIndex();
1231 // Unexpected Part "part" in parsed message.
1233 prevIndex=part.getLimit();
1255 const MessagePattern::Part *part = &msgPattern.getPart(partIndex);
1256 if(MessagePattern::Part::hasNumericValue(part->getType())) {
1263 part=&msgPattern.getPart(partIndex++);
1264 UMessagePatternPartType type=part->getType();
1269 // part is an ARG_SELECTOR followed by an optional explicit value, and then a message
1270 if(msgPattern.partSubstringMatches(*part, other)) {
1273 if(MessagePattern::Part::hasNumericValue(msgPattern.getPartType(partIndex))) {
1274 ++partIndex; // skip the numeric-value part of "=1" etc.
1284 const MessagePattern::Part &part=msgPattern.getPart(i);
1285 UMessagePatternPartType type=part.getType();
1293 UMessagePatternArgType argType=part.getArgType();
1387 const MessagePattern::Part* part=&msgPattern.getPart(i);
1388 part->getType();
1389 int32_t index=part->getIndex();
1405 prevIndex=part->getLimit();
1409 // Unexpected Part "part" in parsed message.
1413 UMessagePatternArgType argType=part->getArgType();
1414 part=&msgPattern.getPart(++i);
1415 int32_t argNumber = part->getValue(); // ARG_NUMBER
1598 const MessagePattern::Part& part = msgPattern.getPart(i);
1599 if (part.getType() == UMSGPAT_PART_TYPE_ARG_NUMBER) {
1600 const int argNumber = part.getValue();
1617 // This loop starts at part index 1 because we do need to examine
1620 const MessagePattern::Part* part = &msgPattern.getPart(i);
1621 if (part->getType() != UMSGPAT_PART_TYPE_ARG_START) {
1624 UMessagePatternArgType argType = part->getArgType();
1627 part = &msgPattern.getPart(i + 1);
1628 if (part->getType() == UMSGPAT_PART_TYPE_ARG_NUMBER) {
1629 argNumber = part->getValue();
1642 if ((part = &msgPattern.getPart(i))->getType() == UMSGPAT_PART_TYPE_ARG_STYLE) {
1643 style = msgPattern.getSubstring(*part);