• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ICU-531.30/icuSources/i18n/

Lines Matching +defs:list +defs:part

93     0 /* empty string, used for default so that null can mark end of list */
105 // NumberFormat modifier list, default, currency, percent or integer
127 // DateFormat modifier list, default, short, medium, long or full
570 const MessagePattern::Part& part = msgPattern.getPart(partIndex);
571 return part.getType() == UMSGPAT_PART_TYPE_ARG_NAME ?
572 msgPattern.partSubstringMatches(part, argName) :
573 part.getValue() == argNumber; // ARG_NUMBER
576 // Sets a custom formatter for a MessagePattern ARG_START part index.
844 const MessagePattern::Part& part = msgPattern.getPart(partIndex);
845 return msgPattern.getSubstring(part);
1016 const MessagePattern::Part* part = &msgPattern.getPart(i);
1017 const UMessagePatternPartType type = part->getType();
1018 int32_t index = part->getIndex();
1023 prevIndex = part->getLimit();
1041 UMessagePatternArgType argType = part->getArgType();
1042 part = &msgPattern.getPart(++i);
1045 UnicodeString argName = msgPattern.getSubstring(*part);
1047 int32_t argNumber = part->getValue(); // ARG_NUMBER
1182 const MessagePattern::Part& part = msgPattern.getPart(++i);
1183 const UMessagePatternPartType type = part.getType();
1184 int32_t index = part.getIndex();
1201 prevIndex = part.getLimit();
1227 const MessagePattern::Part& part = msgPattern.getPart(i);
1228 const UMessagePatternPartType type=part.getType();
1229 int32_t index=part.getIndex();
1234 // Unexpected Part "part" in parsed message.
1236 prevIndex=part.getLimit();
1258 const MessagePattern::Part *part = &msgPattern.getPart(partIndex);
1259 if(MessagePattern::Part::hasNumericValue(part->getType())) {
1266 part=&msgPattern.getPart(partIndex++);
1267 UMessagePatternPartType type=part->getType();
1272 // part is an ARG_SELECTOR followed by an optional explicit value, and then a message
1273 if(msgPattern.partSubstringMatches(*part, other)) {
1277 ++partIndex; // skip the numeric-value part of "=1" etc.
1287 const MessagePattern::Part &part=msgPattern.getPart(i);
1288 UMessagePatternPartType type=part.getType();
1296 UMessagePatternArgType argType=part.getArgType();
1390 const MessagePattern::Part* part=&msgPattern.getPart(i);
1391 const UMessagePatternPartType type=part->getType();
1392 int32_t index=part->getIndex();
1408 prevIndex=part->getLimit();
1412 // Unexpected Part "part" in parsed message.
1416 UMessagePatternArgType argType=part->getArgType();
1417 part=&msgPattern.getPart(++i);
1418 int32_t argNumber = part->getValue(); // ARG_NUMBER
1599 // (This is for the C API which needs the argTypes to read its va_arg list.)
1601 const MessagePattern::Part& part = msgPattern.getPart(i);
1602 if (part.getType() == UMSGPAT_PART_TYPE_ARG_NUMBER) {
1603 const int argNumber = part.getValue();
1620 // This loop starts at part index 1 because we do need to examine
1623 const MessagePattern::Part* part = &msgPattern.getPart(i);
1624 if (part->getType() != UMSGPAT_PART_TYPE_ARG_START) {
1627 UMessagePatternArgType argType = part->getArgType();
1630 part = &msgPattern.getPart(i + 1);
1631 if (part->getType() == UMSGPAT_PART_TYPE_ARG_NUMBER) {
1632 argNumber = part->getValue();
1645 if ((part = &msgPattern.getPart(i))->getType() == UMSGPAT_PART_TYPE_ARG_STYLE) {
1646 style = msgPattern.getSubstring(*part);
1759 // Finds the string, s, in the string array, list.
1761 const UChar * const *list)
1773 for (int32_t i = 0; list[i]; ++i) {
1774 if (!buffer.compare(list[i], u_strlen(list[i]))) {