Home
last modified time | relevance | path

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

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java1233 private void parse(int msgStart, String source, ParsePosition pos, in parse() argument
1239 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1243 for(int i=msgStart+1; ; ++i) { in parse()
1594 private void format(int msgStart, PluralSelectorContext pluralNumber, in format() argument
1598 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format()
1599 for(int i=msgStart+1;; ++i) { in format()
1749 int msgStart, PluralSelectorContext pluralNumber, in formatComplexSubMessage() argument
1753 format(msgStart, pluralNumber, args, argsMap, dest, null); in formatComplexSubMessage()
1764 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1765 for (int i = msgStart;;) { in formatComplexSubMessage()
[all …]
/third_party/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.java1264 private void parse(int msgStart, String source, ParsePosition pos, in parse() argument
1270 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in parse()
1274 for(int i=msgStart+1; ; ++i) { in parse()
1638 private void format(int msgStart, PluralSelectorContext pluralNumber, in format() argument
1642 int prevIndex=msgPattern.getPart(msgStart).getLimit(); in format()
1643 for(int i=msgStart+1;; ++i) { in format()
1793 int msgStart, PluralSelectorContext pluralNumber, in formatComplexSubMessage() argument
1797 format(msgStart, pluralNumber, args, argsMap, dest, null); in formatComplexSubMessage()
1808 int prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1809 for (int i = msgStart;;) { in formatComplexSubMessage()
[all …]
/third_party/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.cpp452 int32_t msgStart=0; in findSubMessage() local
474 if(msgStart==0) { in findSubMessage()
475 msgStart=partIndex; in findSubMessage()
486 if(msgStart!=0 && (0 == keyword.compare(other))) { in findSubMessage()
495 msgStart=partIndex; in findSubMessage()
503 return msgStart; in findSubMessage()
Dmsgfmt.cpp1009 void MessageFormat::format(int32_t msgStart, const void *plNumber, in format() argument
1021 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1022 for (int32_t i = msgStart + 1; U_SUCCESS(success) ; ++i) { in format()
1164 void MessageFormat::formatComplexSubMessage(int32_t msgStart, in formatComplexSubMessage() argument
1176 format(msgStart, plNumber, arguments, argumentNames, cnt, appendTo, NULL, success); in formatComplexSubMessage()
1187 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1188 for (int32_t i = msgStart;;) { in formatComplexSubMessage()
1292 MessageFormat::findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const { in findFirstPluralNumberArg() argument
1293 for(int32_t i=msgStart+1;; ++i) { in findFirstPluralNumberArg()
1373 MessageFormat::parse(int32_t msgStart, in parse() argument
[all …]
/third_party/node/deps/icu-small/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.cpp452 int32_t msgStart=0; in findSubMessage() local
474 if(msgStart==0) { in findSubMessage()
475 msgStart=partIndex; in findSubMessage()
486 if(msgStart!=0 && (0 == keyword.compare(other))) { in findSubMessage()
495 msgStart=partIndex; in findSubMessage()
503 return msgStart; in findSubMessage()
Dmsgfmt.cpp1010 void MessageFormat::format(int32_t msgStart, const void *plNumber, in format() argument
1022 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1023 for (int32_t i = msgStart + 1; U_SUCCESS(success) ; ++i) { in format()
1165 void MessageFormat::formatComplexSubMessage(int32_t msgStart, in formatComplexSubMessage() argument
1177 format(msgStart, plNumber, arguments, argumentNames, cnt, appendTo, nullptr, success); in formatComplexSubMessage()
1188 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1189 for (int32_t i = msgStart;;) { in formatComplexSubMessage()
1293 MessageFormat::findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const { in findFirstPluralNumberArg() argument
1294 for(int32_t i=msgStart+1;; ++i) { in findFirstPluralNumberArg()
1374 MessageFormat::parse(int32_t msgStart, in parse() argument
[all …]
/third_party/skia/third_party/externals/icu/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.cpp452 int32_t msgStart=0; in findSubMessage() local
474 if(msgStart==0) { in findSubMessage()
475 msgStart=partIndex; in findSubMessage()
486 if(msgStart!=0 && (0 == keyword.compare(other))) { in findSubMessage()
495 msgStart=partIndex; in findSubMessage()
503 return msgStart; in findSubMessage()
Dmsgfmt.cpp1007 void MessageFormat::format(int32_t msgStart, const void *plNumber, in format() argument
1019 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in format()
1020 for (int32_t i = msgStart + 1; U_SUCCESS(success) ; ++i) { in format()
1162 void MessageFormat::formatComplexSubMessage(int32_t msgStart, in formatComplexSubMessage() argument
1174 format(msgStart, plNumber, arguments, argumentNames, cnt, appendTo, NULL, success); in formatComplexSubMessage()
1185 int32_t prevIndex = msgPattern.getPart(msgStart).getLimit(); in formatComplexSubMessage()
1186 for (int32_t i = msgStart;;) { in formatComplexSubMessage()
1290 MessageFormat::findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const { in findFirstPluralNumberArg() argument
1291 for(int32_t i=msgStart+1;; ++i) { in findFirstPluralNumberArg()
1371 MessageFormat::parse(int32_t msgStart, in parse() argument
[all …]
/third_party/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()
/third_party/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h993 void format(int32_t msgStart,
1024 Formattable* parse(int32_t msgStart,
1045 int32_t findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const;
1053 void formatComplexSubMessage(int32_t msgStart,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dmsgfmt.h993 void format(int32_t msgStart,
1026 Formattable* parse(int32_t msgStart,
1047 int32_t findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const;
1055 void formatComplexSubMessage(int32_t msgStart,
/third_party/node/deps/icu-small/source/i18n/unicode/
Dmsgfmt.h993 void format(int32_t msgStart,
1024 Formattable* parse(int32_t msgStart,
1045 int32_t findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const;
1053 void formatComplexSubMessage(int32_t msgStart,
/third_party/skia/third_party/externals/icu/source/common/
Dmessageimpl.h54 int32_t msgStart,
/third_party/icu/icu4c/source/common/
Dmessageimpl.h54 int32_t msgStart,
/third_party/node/deps/icu-small/source/common/
Dmessageimpl.h54 int32_t msgStart,

12