Home
last modified time | relevance | path

Searched refs:getPart (Results 1 – 25 of 50) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DMessagePatternUtil.java433 int prevPatternIndex = pattern.getPart(start).getLimit(); in buildMessageNode()
436 MessagePattern.Part part = pattern.getPart(i); in buildMessageNode()
451 part = pattern.getPart(i); in buildMessageNode()
463 MessagePattern.Part part = pattern.getPart(start); in buildArgNode()
465 part = pattern.getPart(++start); // ARG_NAME or ARG_NUMBER in buildArgNode()
474 node.typeName = pattern.getSubstring(pattern.getPart(start++)); in buildArgNode()
477 node.style = pattern.getSubstring(pattern.getPart(start)); in buildArgNode()
508 MessagePattern.Part part = pattern.getPart(start); in buildChoiceStyleNode()
513 variant.selector = pattern.getSubstring(pattern.getPart(valueIndex + 1)); in buildChoiceStyleNode()
526 MessagePattern.Part offset = pattern.getPart(start); in buildPluralStyleNode()
[all …]
DMessageFormat.java566 Part part = msgPattern.getPart(partIndex); in argNameMatches()
573 Part part = msgPattern.getPart(partIndex); in getArgName()
614 int argNumber = msgPattern.getPart(partIndex + 1).getValue(); in setFormatsByArgumentIndex()
710 if (msgPattern.getPart(partIndex + 1).getValue() == argumentIndex) { in setFormatByArgumentIndex()
806 int argNumber = msgPattern.getPart(partIndex + 1).getValue(); in getFormatsByArgumentIndex()
1157 int argNumber=msgPattern.getPart(partIndex + 1).getValue(); in parse()
1239 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1244 Part part=msgPattern.getPart(i); in parse()
1270 part=msgPattern.getPart(++i); in parse()
1351 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
[all …]
DSelectFormat.java224 MessagePattern.Part part=pattern.getPart(partIndex++); in findSubMessage()
263 return msgPattern.getPatternString().substring(msgPattern.getPart(msgStart).getLimit(), in format()
268 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
270 MessagePattern.Part part = msgPattern.getPart(++i); in format()
292 index = msgPattern.getPart(i).getLimit(); in format()
DPluralFormat.java439 MessagePattern.Part part=pattern.getPart(partIndex); in findSubMessage()
469 part=pattern.getPart(partIndex++); in findSubMessage()
478 part=pattern.getPart(partIndex++); in findSubMessage()
627 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format()
629 MessagePattern.Part part = msgPattern.getPart(++partIndex); in format()
656 index = msgPattern.getPart(partIndex).getLimit(); in format()
724 MessagePattern.Part partSelector=msgPattern.getPart(partIndex++); in parseType()
730 MessagePattern.Part partStart=msgPattern.getPart(partIndex++); in parseType()
736 MessagePattern.Part partLimit=msgPattern.getPart(partIndex++); in parseType()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePatternUtil.java461 int prevPatternIndex = pattern.getPart(start).getLimit(); in buildMessageNode()
464 MessagePattern.Part part = pattern.getPart(i); in buildMessageNode()
479 part = pattern.getPart(i); in buildMessageNode()
491 MessagePattern.Part part = pattern.getPart(start); in buildArgNode()
493 part = pattern.getPart(++start); // ARG_NAME or ARG_NUMBER in buildArgNode()
502 node.typeName = pattern.getSubstring(pattern.getPart(start++)); in buildArgNode()
505 node.style = pattern.getSubstring(pattern.getPart(start)); in buildArgNode()
536 MessagePattern.Part part = pattern.getPart(start); in buildChoiceStyleNode()
541 variant.selector = pattern.getSubstring(pattern.getPart(valueIndex + 1)); in buildChoiceStyleNode()
554 MessagePattern.Part offset = pattern.getPart(start); in buildPluralStyleNode()
[all …]
DMessageFormat.java577 Part part = msgPattern.getPart(partIndex); in argNameMatches()
584 Part part = msgPattern.getPart(partIndex); in getArgName()
626 int argNumber = msgPattern.getPart(partIndex + 1).getValue(); in setFormatsByArgumentIndex()
725 if (msgPattern.getPart(partIndex + 1).getValue() == argumentIndex) { in setFormatByArgumentIndex()
824 int argNumber = msgPattern.getPart(partIndex + 1).getValue(); in getFormatsByArgumentIndex()
1186 int argNumber=msgPattern.getPart(partIndex + 1).getValue(); in parse()
1270 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1275 Part part=msgPattern.getPart(i); in parse()
1301 part=msgPattern.getPart(++i); in parse()
1382 prevIndex=msgPattern.getPart(argLimit).getLimit(); in parse()
[all …]
DSelectFormat.java228 MessagePattern.Part part=pattern.getPart(partIndex++); in findSubMessage()
268 return msgPattern.getPatternString().substring(msgPattern.getPart(msgStart).getLimit(), in format()
273 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
275 MessagePattern.Part part = msgPattern.getPart(++i); in format()
297 index = msgPattern.getPart(i).getLimit(); in format()
DPluralFormat.java454 MessagePattern.Part part=pattern.getPart(partIndex); in findSubMessage()
484 part=pattern.getPart(partIndex++); in findSubMessage()
493 part=pattern.getPart(partIndex++); in findSubMessage()
644 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format()
646 MessagePattern.Part part = msgPattern.getPart(++partIndex); in format()
673 index = msgPattern.getPart(partIndex).getLimit(); in format()
743 MessagePattern.Part partSelector=msgPattern.getPart(partIndex++); in parseType()
749 MessagePattern.Part partStart=msgPattern.getPart(partIndex++); in parseType()
755 MessagePattern.Part partLimit=msgPattern.getPart(partIndex++); in parseType()
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMiniMessageFormatter.java95 int prevIndex=msg.getPart(msgStart).getLimit(); in format()
97 Part part=msg.getPart(i); in format()
111 part=msg.getPart(++i); in format()
135 part=msg.getPart(i++); in format()
153 prevIndex=msg.getPart(argLimit).getLimit(); in format()
/third_party/icu/icu4c/source/i18n/
Dplurfmt.cpp302 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format()
304 const MessagePattern::Part& part = msgPattern.getPart(++partIndex); in format()
320 index = msgPattern.getPart(partIndex).getLimit(); in format()
425 const MessagePattern::Part* part=&pattern.getPart(partIndex); in findSubMessage()
456 part=&pattern.getPart(partIndex++); in findSubMessage()
465 part=&pattern.getPart(partIndex++); in findSubMessage()
532 const MessagePattern::Part* partSelector = &msgPattern.getPart(partIndex++); in parseType()
538 const MessagePattern::Part* partStart = &msgPattern.getPart(partIndex++); in parseType()
544 const MessagePattern::Part* partLimit = &msgPattern.getPart(partIndex++); in parseType()
Dmsgfmt.cpp574 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in argNameMatches()
849 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in getArgName()
1019 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1021 const MessagePattern::Part* part = &msgPattern.getPart(i); in format()
1047 part = &msgPattern.getPart(++i); in format()
1156 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1185 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1187 const MessagePattern::Part& part = msgPattern.getPart(++i); in formatComplexSubMessage()
1211 index = msgPattern.getPart(i).getLimit(); in formatComplexSubMessage()
1229 int32_t prevIndex=msgPattern.getPart(from).getLimit(); in getLiteralStringUntilNextArgument()
[all …]
Dchoicfmt.cpp413 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format()
441 const MessagePattern::Part &part = pattern.getPart(partIndex++); in findSubMessage()
516 tempNumber = pattern.getNumericValue(pattern.getPart(partIndex)); in parseArgument()
546 int32_t prevIndex = pattern.getPart(partIndex).getLimit(); in matchStringUntilLimitPart()
548 const MessagePattern::Part &part = pattern.getPart(++partIndex); in matchStringUntilLimitPart()
/third_party/node/deps/icu-small/source/i18n/
Dplurfmt.cpp302 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format()
304 const MessagePattern::Part& part = msgPattern.getPart(++partIndex); in format()
320 index = msgPattern.getPart(partIndex).getLimit(); in format()
425 const MessagePattern::Part* part=&pattern.getPart(partIndex); in findSubMessage()
456 part=&pattern.getPart(partIndex++); in findSubMessage()
465 part=&pattern.getPart(partIndex++); in findSubMessage()
532 const MessagePattern::Part* partSelector = &msgPattern.getPart(partIndex++); in parseType()
538 const MessagePattern::Part* partStart = &msgPattern.getPart(partIndex++); in parseType()
544 const MessagePattern::Part* partLimit = &msgPattern.getPart(partIndex++); in parseType()
Dmsgfmt.cpp574 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in argNameMatches()
849 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in getArgName()
1019 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1021 const MessagePattern::Part* part = &msgPattern.getPart(i); in format()
1047 part = &msgPattern.getPart(++i); in format()
1156 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1185 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1187 const MessagePattern::Part& part = msgPattern.getPart(++i); in formatComplexSubMessage()
1211 index = msgPattern.getPart(i).getLimit(); in formatComplexSubMessage()
1229 int32_t prevIndex=msgPattern.getPart(from).getLimit(); in getLiteralStringUntilNextArgument()
[all …]
Dchoicfmt.cpp413 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format()
441 const MessagePattern::Part &part = pattern.getPart(partIndex++); in findSubMessage()
516 tempNumber = pattern.getNumericValue(pattern.getPart(partIndex)); in parseArgument()
546 int32_t prevIndex = pattern.getPart(partIndex).getLimit(); in matchStringUntilLimitPart()
548 const MessagePattern::Part &part = pattern.getPart(++partIndex); in matchStringUntilLimitPart()
/third_party/skia/third_party/externals/icu/source/i18n/
Dplurfmt.cpp302 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format()
304 const MessagePattern::Part& part = msgPattern.getPart(++partIndex); in format()
320 index = msgPattern.getPart(partIndex).getLimit(); in format()
425 const MessagePattern::Part* part=&pattern.getPart(partIndex); in findSubMessage()
456 part=&pattern.getPart(partIndex++); in findSubMessage()
465 part=&pattern.getPart(partIndex++); in findSubMessage()
532 const MessagePattern::Part* partSelector = &msgPattern.getPart(partIndex++); in parseType()
538 const MessagePattern::Part* partStart = &msgPattern.getPart(partIndex++); in parseType()
544 const MessagePattern::Part* partLimit = &msgPattern.getPart(partIndex++); in parseType()
Dmsgfmt.cpp574 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in argNameMatches()
849 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in getArgName()
1019 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1021 const MessagePattern::Part* part = &msgPattern.getPart(i); in format()
1047 part = &msgPattern.getPart(++i); in format()
1156 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1185 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1187 const MessagePattern::Part& part = msgPattern.getPart(++i); in formatComplexSubMessage()
1211 index = msgPattern.getPart(i).getLimit(); in formatComplexSubMessage()
1229 int32_t prevIndex=msgPattern.getPart(from).getLimit(); in getLiteralStringUntilNextArgument()
[all …]
Dchoicfmt.cpp413 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format()
441 const MessagePattern::Part &part = pattern.getPart(partIndex++); in findSubMessage()
516 tempNumber = pattern.getNumericValue(pattern.getPart(partIndex)); in parseArgument()
546 int32_t prevIndex = pattern.getPart(partIndex).getLimit(); in matchStringUntilLimitPart()
548 const MessagePattern::Part &part = pattern.getPart(++partIndex); in matchStringUntilLimitPart()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dplurfmt.cpp295 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format()
297 const MessagePattern::Part& part = msgPattern.getPart(++partIndex); in format()
313 index = msgPattern.getPart(partIndex).getLimit(); in format()
418 const MessagePattern::Part* part=&pattern.getPart(partIndex); in findSubMessage()
449 part=&pattern.getPart(partIndex++); in findSubMessage()
458 part=&pattern.getPart(partIndex++); in findSubMessage()
525 const MessagePattern::Part* partSelector = &msgPattern.getPart(partIndex++); in parseType()
531 const MessagePattern::Part* partStart = &msgPattern.getPart(partIndex++); in parseType()
537 const MessagePattern::Part* partLimit = &msgPattern.getPart(partIndex++); in parseType()
Dmsgfmt.cpp574 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in argNameMatches()
844 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in getArgName()
1014 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1016 const MessagePattern::Part* part = &msgPattern.getPart(i); in format()
1042 part = &msgPattern.getPart(++i); in format()
1151 prevIndex = msgPattern.getPart(argLimit).getLimit(); in format()
1180 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1182 const MessagePattern::Part& part = msgPattern.getPart(++i); in formatComplexSubMessage()
1206 index = msgPattern.getPart(i).getLimit(); in formatComplexSubMessage()
1224 int32_t prevIndex=msgPattern.getPart(from).getLimit(); in getLiteralStringUntilNextArgument()
[all …]
Dchoicfmt.cpp413 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format()
441 const MessagePattern::Part &part = pattern.getPart(partIndex++); in findSubMessage()
516 tempNumber = pattern.getNumericValue(pattern.getPart(partIndex)); in parseArgument()
546 int32_t prevIndex = pattern.getPart(partIndex).getLimit(); in matchStringUntilLimitPart()
548 const MessagePattern::Part &part = pattern.getPart(++partIndex); in matchStringUntilLimitPart()
/third_party/node/deps/icu-small/source/common/unicode/
Dmessagepattern.h626 const Part &getPart(int32_t i) const { in getPart() function
638 return getPart(i).type; in getPartType()
649 return getPart(partIndex).index; in getPatternIndex()
699 int32_t limit=getPart(start).limitPartIndex; in getLimitPartIndex()
/third_party/icu/icu4c/source/common/unicode/
Dmessagepattern.h626 const Part &getPart(int32_t i) const { in getPart() function
638 return getPart(i).type; in getPartType()
649 return getPart(partIndex).index; in getPatternIndex()
699 int32_t limit=getPart(start).limitPartIndex; in getLimitPartIndex()
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dmessagepattern.h624 const Part &getPart(int32_t i) const { in getPart() function
636 return getPart(i).type; in getPartType()
647 return getPart(partIndex).index; in getPatternIndex()
697 int32_t limit=getPart(start).limitPartIndex; in getLimitPartIndex()
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dmessagepattern.h626 const Part &getPart(int32_t i) const { in getPart() function
638 return getPart(i).type; in getPartType()
649 return getPart(partIndex).index; in getPatternIndex()
699 int32_t limit=getPart(start).limitPartIndex; in getLimitPartIndex()

12