Home
last modified time | relevance | path

Searched refs:msgStart (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSelectFormat.java225 int msgStart=0; in findSubMessage() local
238 } else if(msgStart==0 && pattern.partSubstringMatches(part, "other")) { in findSubMessage()
239 msgStart=partIndex; in findSubMessage()
243 return msgStart; in findSubMessage()
265 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() local
267 int msgLimit = msgPattern.getLimitPartIndex(msgStart); in format()
268 return msgPattern.getPatternString().substring(msgPattern.getPart(msgStart).getLimit(), in format()
273 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
274 for (int i = msgStart;;) { in format()
DPluralFormat.java480 int msgStart=0; in findSubMessage() local
502 if(msgStart==0) { in findSubMessage()
503 msgStart=partIndex; in findSubMessage()
514 if(msgStart!=0 && keyword.equals("other")) { in findSubMessage()
523 msgStart=partIndex; in findSubMessage()
531 return msgStart; in findSubMessage()
DMessageFormat.java1239 private void parse(int msgStart, String source, ParsePosition pos, in parse() argument
1245 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1249 for(int i=msgStart+1; ; ++i) { in parse()
1613 private void format(int msgStart, PluralSelectorContext pluralNumber, in format() argument
1617 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format()
1618 for(int i=msgStart+1;; ++i) { in format()
1768 int msgStart, PluralSelectorContext pluralNumber, in formatComplexSubMessage() argument
1772 format(msgStart, pluralNumber, args, argsMap, dest, null); in formatComplexSubMessage()
1783 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1784 for (int i = msgStart;;) { in formatComplexSubMessage()
[all …]
DMessagePattern.java937 int msgStart=parts.size(); in parseMessage() local
1001 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index-1, limitLength, nestingLevel); in parseMessage()
1015 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index, 0, nestingLevel); in parseMessage()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSelectFormat.java221 int msgStart=0; in findSubMessage() local
234 } else if(msgStart==0 && pattern.partSubstringMatches(part, "other")) { in findSubMessage()
235 msgStart=partIndex; in findSubMessage()
239 return msgStart; in findSubMessage()
260 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() local
262 int msgLimit = msgPattern.getLimitPartIndex(msgStart); in format()
263 return msgPattern.getPatternString().substring(msgPattern.getPart(msgStart).getLimit(), in format()
268 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
269 for (int i = msgStart;;) { in format()
DPluralFormat.java465 int msgStart=0; in findSubMessage() local
487 if(msgStart==0) { in findSubMessage()
488 msgStart=partIndex; in findSubMessage()
499 if(msgStart!=0 && keyword.equals("other")) { in findSubMessage()
508 msgStart=partIndex; in findSubMessage()
516 return msgStart; in findSubMessage()
DMessageFormat.java1205 private void parse(int msgStart, String source, ParsePosition pos, in parse() argument
1211 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1215 for(int i=msgStart+1; ; ++i) { in parse()
1566 private void format(int msgStart, PluralSelectorContext pluralNumber, in format() argument
1570 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format()
1571 for(int i=msgStart+1;; ++i) { in format()
1721 int msgStart, PluralSelectorContext pluralNumber, in formatComplexSubMessage() argument
1725 format(msgStart, pluralNumber, args, argsMap, dest, null); in formatComplexSubMessage()
1736 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1737 for (int i = msgStart;;) { in formatComplexSubMessage()
[all …]
DMessagePattern.java866 int msgStart=parts.size(); in parseMessage() local
930 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index-1, limitLength, nestingLevel); in parseMessage()
944 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index, 0, nestingLevel); in parseMessage()
/external/icu/icu4c/source/i18n/
Dselfmt.cpp103 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); in format() local
105 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format()
106 int32_t msgLimit = msgPattern.getLimitPartIndex(msgStart); in format()
113 return MessageImpl::appendSubMessageWithoutSkipSyntax(msgPattern, msgStart, appendTo); in format()
134 int32_t msgStart=0; in findSubMessage() local
146 } else if(msgStart==0 && pattern.partSubstringMatches(part, other)) { in findSubMessage()
147 msgStart=partIndex; in findSubMessage()
151 return msgStart; in findSubMessage()
Dchoicfmt.cpp411 int32_t msgStart = findSubMessage(msgPattern, 0, number); in format() local
413 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format()
414 int32_t msgLimit = msgPattern.getLimitPartIndex(msgStart); in format()
421 return MessageImpl::appendSubMessageWithoutSkipSyntax(msgPattern, msgStart, appendTo); in format()
427 int32_t msgStart; in findSubMessage() local
434 msgStart = partIndex; in findSubMessage()
462 return msgStart; in findSubMessage()
Dplurfmt.cpp445 int32_t msgStart=0; in findSubMessage() local
467 if(msgStart==0) { in findSubMessage()
468 msgStart=partIndex; in findSubMessage()
479 if(msgStart!=0 && (0 == keyword.compare(other))) { in findSubMessage()
488 msgStart=partIndex; in findSubMessage()
496 return msgStart; in findSubMessage()
Dmsgfmt.cpp1002 void MessageFormat::format(int32_t msgStart, const void *plNumber, in format() argument
1014 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1015 for (int32_t i = msgStart + 1; U_SUCCESS(success) ; ++i) { in format()
1157 void MessageFormat::formatComplexSubMessage(int32_t msgStart, in formatComplexSubMessage() argument
1169 format(msgStart, plNumber, arguments, argumentNames, cnt, appendTo, NULL, success); in formatComplexSubMessage()
1180 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1181 for (int32_t i = msgStart;;) { in formatComplexSubMessage()
1285 MessageFormat::findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const { in findFirstPluralNumberArg() argument
1286 for(int32_t i=msgStart+1;; ++i) { in findFirstPluralNumberArg()
1366 MessageFormat::parse(int32_t msgStart, in parse() argument
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMiniMessageFormatter.java92 private int format(int msgStart, Appendable dest, Object[] args, Map<String, Object> argsMap) { in format() argument
95 int prevIndex=msg.getPart(msgStart).getLimit(); in format()
96 for(int i=msgStart+1;; ++i) { in format()
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h976 void format(int32_t msgStart,
1007 Formattable* parse(int32_t msgStart,
1028 int32_t findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const;
1036 void formatComplexSubMessage(int32_t msgStart,
/external/icu/icu4c/source/common/
Dmessageimpl.h54 int32_t msgStart,
Dmessagepattern.cpp444 int32_t msgStart=partsLength; in parseMessage() local
518 addLimitPart(msgStart, UMSGPAT_PART_TYPE_MSG_LIMIT, index-1, limitLength, in parseMessage()
534 addLimitPart(msgStart, UMSGPAT_PART_TYPE_MSG_LIMIT, index, 0, nestingLevel, errorCode); in parseMessage()
1207 int32_t msgStart, in appendSubMessageWithoutSkipSyntax() argument
1210 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in appendSubMessageWithoutSkipSyntax()
1211 for(int32_t i=msgStart;;) { in appendSubMessageWithoutSkipSyntax()
/external/protobuf/objectivec/
DGPBUtilities.m1112 NSString *msgStart =
1128 [toStr appendString:(isFirst ? msgStartFirst : msgStart)];
1164 [toStr appendString:(isFirst ? msgStartFirst : msgStart)];