/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SelectFormat.java | 164 transient private MessagePattern msgPattern; field in SelectFormat 180 if(msgPattern != null) { in reset() 181 msgPattern.clear(); in reset() 195 if (msgPattern == null) { in applyPattern() 196 msgPattern = new MessagePattern(); in applyPattern() 199 msgPattern.parseSelectStyle(pattern); in applyPattern() 260 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 265 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 266 if (!msgPattern.jdkAposMode()) { in format() 267 int msgLimit = msgPattern.getLimitPartIndex(msgStart); in format() [all …]
|
D | MessageFormat.java | 453 if (msgPattern == null) { in applyPattern() 454 msgPattern = new MessagePattern(pttrn); in applyPattern() 456 msgPattern.parse(pttrn); in applyPattern() 482 if (msgPattern == null) { in applyPattern() 483 msgPattern = new MessagePattern(aposMode); in applyPattern() 484 } else if (aposMode != msgPattern.getApostropheMode()) { in applyPattern() 485 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern() 496 if (msgPattern == null) { in getApostropheMode() 497 msgPattern = new MessagePattern(); // Sets the default mode. in getApostropheMode() 499 return msgPattern.getApostropheMode(); in getApostropheMode() [all …]
|
D | PluralFormat.java | 157 transient private MessagePattern msgPattern; field in PluralFormat 396 if(msgPattern != null) { in resetPattern() 397 msgPattern.clear(); in resetPattern() 414 if (msgPattern == null) { in applyPattern() 415 msgPattern = new MessagePattern(); in applyPattern() 418 msgPattern.parsePluralStyle(pattern); in applyPattern() 419 offset = msgPattern.getPluralOffset(0); in applyPattern() 608 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 627 int partIndex = findSubMessage(msgPattern, 0, pluralRulesWrapper, dec, number); in format() 631 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SelectFormat.java | 163 transient private MessagePattern msgPattern; field in SelectFormat 178 if(msgPattern != null) { in reset() 179 msgPattern.clear(); in reset() 192 if (msgPattern == null) { in applyPattern() 193 msgPattern = new MessagePattern(); in applyPattern() 196 msgPattern.parseSelectStyle(pattern); in applyPattern() 255 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 260 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 261 if (!msgPattern.jdkAposMode()) { in format() 262 int msgLimit = msgPattern.getLimitPartIndex(msgStart); in format() [all …]
|
D | MessageFormat.java | 445 if (msgPattern == null) { in applyPattern() 446 msgPattern = new MessagePattern(pttrn); in applyPattern() 448 msgPattern.parse(pttrn); in applyPattern() 473 if (msgPattern == null) { in applyPattern() 474 msgPattern = new MessagePattern(aposMode); in applyPattern() 475 } else if (aposMode != msgPattern.getApostropheMode()) { in applyPattern() 476 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern() 486 if (msgPattern == null) { in getApostropheMode() 487 msgPattern = new MessagePattern(); // Sets the default mode. in getApostropheMode() 489 return msgPattern.getApostropheMode(); in getApostropheMode() [all …]
|
D | PluralFormat.java | 157 transient private MessagePattern msgPattern; field in PluralFormat 383 if(msgPattern != null) { in resetPattern() 384 msgPattern.clear(); in resetPattern() 400 if (msgPattern == null) { in applyPattern() 401 msgPattern = new MessagePattern(); in applyPattern() 404 msgPattern.parsePluralStyle(pattern); in applyPattern() 405 offset = msgPattern.getPluralOffset(0); in applyPattern() 591 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 610 int partIndex = findSubMessage(msgPattern, 0, pluralRulesWrapper, dec, number); in format() 614 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() [all …]
|
/external/messageformat/java/com/ibm/icu/text/ |
D | SelectFormat.java | 163 transient private MessagePattern msgPattern; field in SelectFormat 179 if(msgPattern != null) { in reset() 180 msgPattern.clear(); in reset() 194 if (msgPattern == null) { in applyPattern() 195 msgPattern = new MessagePattern(); in applyPattern() 198 msgPattern.parseSelectStyle(pattern); in applyPattern() 259 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 264 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 265 if (!msgPattern.jdkAposMode()) { in format() 266 int msgLimit = msgPattern.getLimitPartIndex(msgStart); in format() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | selfmt.cpp | 47 UErrorCode& status) : msgPattern(status) { in SelectFormat() 52 msgPattern(other.msgPattern) { in SelectFormat() 64 msgPattern.parseSelectStyle(newPattern, NULL, status); in applyPattern() 66 msgPattern.clear(); in applyPattern() 99 if (msgPattern.countParts() == 0) { in format() 103 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); in format() 104 if (!MessageImpl::jdkAposMode(msgPattern)) { in format() 105 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format() 106 int32_t msgLimit = msgPattern.getLimitPartIndex(msgStart); in format() 107 appendTo.append(msgPattern.getPatternString(), in format() [all …]
|
D | plurfmt.cpp | 39 msgPattern(status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 47 msgPattern(status), in PluralFormat() 55 msgPattern(status), in PluralFormat() 65 msgPattern(status), in PluralFormat() 75 msgPattern(status), in PluralFormat() 84 msgPattern(status), in PluralFormat() 95 msgPattern(status), in PluralFormat() 106 msgPattern(status), in PluralFormat() 118 msgPattern(status), in PluralFormat() 130 msgPattern(status), in PluralFormat() [all …]
|
D | choicfmt.cpp | 80 msgPattern(status) in ChoiceFormat() 93 msgPattern(constructorErrorCode) in ChoiceFormat() 105 msgPattern(constructorErrorCode) in ChoiceFormat() 116 msgPattern(that.msgPattern) in ChoiceFormat() 129 msgPattern(status) in ChoiceFormat() 141 return msgPattern == thatAlias.msgPattern; in operator ==() 153 msgPattern = that.msgPattern; in operator =() 228 msgPattern.parseChoiceStyle(pattern, NULL, status); in applyPattern() 240 msgPattern.parseChoiceStyle(pattern, &parseError, status); in applyPattern() 249 return result = msgPattern.getPatternString(); in toPattern() [all …]
|
D | msgfmt.cpp | 235 msgPattern(success), in MessageFormat() 257 msgPattern(success), in MessageFormat() 280 msgPattern(success), in MessageFormat() 302 msgPattern(that.msgPattern), in MessageFormat() 379 msgPattern = that.msgPattern; in operator =() 400 msgPattern != that.msgPattern || in operator ==() 491 msgPattern.parse(pattern, &parseError, ec); in applyPattern() 500 msgPattern.clear(); in resetPattern() 514 if (aposMode != msgPattern.getApostropheMode()) { in applyPattern() 515 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern() [all …]
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | MessageFormat.java | 408 if (msgPattern == null) { in applyPattern() 409 msgPattern = new MessagePattern(pttrn); in applyPattern() 411 msgPattern.parse(pttrn); in applyPattern() 437 if (msgPattern == null) { in applyPattern() 438 msgPattern = new MessagePattern(aposMode); in applyPattern() 439 } else if (aposMode != msgPattern.getApostropheMode()) { in applyPattern() 440 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern() 451 if (msgPattern == null) { in getApostropheMode() 452 msgPattern = new MessagePattern(); // Sets the default mode. in getApostropheMode() 454 return msgPattern.getApostropheMode(); in getApostropheMode() [all …]
|
D | PluralFormat.java | 156 transient private MessagePattern msgPattern; field in PluralFormat 236 if(msgPattern != null) { in resetPattern() 237 msgPattern.clear(); in resetPattern() 254 if (msgPattern == null) { in applyPattern() 255 msgPattern = new MessagePattern(); in applyPattern() 258 msgPattern.parsePluralStyle(pattern); in applyPattern() 259 offset = msgPattern.getPluralOffset(0); in applyPattern()
|
/external/icu/icu4c/source/common/ |
D | messageimpl.h | 38 static UBool jdkAposMode(const MessagePattern &msgPattern) { in jdkAposMode() argument 39 return msgPattern.getApostropheMode()==UMSGPAT_APOS_DOUBLE_REQUIRED; in jdkAposMode() 53 static UnicodeString &appendSubMessageWithoutSkipSyntax(const MessagePattern &msgPattern,
|
D | messagepattern.cpp | 1206 MessageImpl::appendSubMessageWithoutSkipSyntax(const MessagePattern &msgPattern, in appendSubMessageWithoutSkipSyntax() argument 1209 const UnicodeString &msgString=msgPattern.getPatternString(); in appendSubMessageWithoutSkipSyntax() 1210 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in appendSubMessageWithoutSkipSyntax() 1212 const MessagePattern::Part &part=msgPattern.getPart(++i); in appendSubMessageWithoutSkipSyntax() 1223 i=msgPattern.getLimitPartIndex(i); in appendSubMessageWithoutSkipSyntax() 1224 index=msgPattern.getPart(i).getLimit(); in appendSubMessageWithoutSkipSyntax()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | selfmt.h | 361 MessagePattern msgPattern; variable
|
D | msgfmt.h | 481 return msgPattern.getApostropheMode(); in getApostropheMode() 865 MessagePattern msgPattern; variable
|
D | choicfmt.h | 542 MessagePattern msgPattern; variable
|
D | plurfmt.h | 572 MessagePattern msgPattern; variable
|