/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SelectFormat.java | 162 transient private MessagePattern msgPattern; field in SelectFormat 178 if(msgPattern != null) { in reset() 179 msgPattern.clear(); in reset() 193 if (msgPattern == null) { in applyPattern() 194 msgPattern = new MessagePattern(); in applyPattern() 197 msgPattern.parseSelectStyle(pattern); in applyPattern() 258 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 263 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 264 if (!msgPattern.jdkAposMode()) { in format() 265 int msgLimit = msgPattern.getLimitPartIndex(msgStart); in format() [all …]
|
D | MessageFormat.java | 451 if (msgPattern == null) { in applyPattern() 452 msgPattern = new MessagePattern(pttrn); in applyPattern() 454 msgPattern.parse(pttrn); in applyPattern() 480 if (msgPattern == null) { in applyPattern() 481 msgPattern = new MessagePattern(aposMode); in applyPattern() 482 } else if (aposMode != msgPattern.getApostropheMode()) { in applyPattern() 483 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern() 494 if (msgPattern == null) { in getApostropheMode() 495 msgPattern = new MessagePattern(); // Sets the default mode. in getApostropheMode() 497 return msgPattern.getApostropheMode(); in getApostropheMode() [all …]
|
D | PluralFormat.java | 155 transient private MessagePattern msgPattern; field in PluralFormat 394 if(msgPattern != null) { in resetPattern() 395 msgPattern.clear(); in resetPattern() 412 if (msgPattern == null) { in applyPattern() 413 msgPattern = new MessagePattern(); in applyPattern() 416 msgPattern.parsePluralStyle(pattern); in applyPattern() 417 offset = msgPattern.getPluralOffset(0); in applyPattern() 604 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 623 int partIndex = findSubMessage(msgPattern, 0, pluralRulesWrapper, dec, number); in format() 627 int prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SelectFormat.java | 161 transient private MessagePattern msgPattern; field in SelectFormat 176 if(msgPattern != null) { in reset() 177 msgPattern.clear(); in reset() 190 if (msgPattern == null) { in applyPattern() 191 msgPattern = new MessagePattern(); in applyPattern() 194 msgPattern.parseSelectStyle(pattern); in applyPattern() 253 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 258 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 259 if (!msgPattern.jdkAposMode()) { in format() 260 int msgLimit = msgPattern.getLimitPartIndex(msgStart); in format() [all …]
|
D | MessageFormat.java | 443 if (msgPattern == null) { in applyPattern() 444 msgPattern = new MessagePattern(pttrn); in applyPattern() 446 msgPattern.parse(pttrn); in applyPattern() 471 if (msgPattern == null) { in applyPattern() 472 msgPattern = new MessagePattern(aposMode); in applyPattern() 473 } else if (aposMode != msgPattern.getApostropheMode()) { in applyPattern() 474 msgPattern.clearPatternAndSetApostropheMode(aposMode); in applyPattern() 484 if (msgPattern == null) { in getApostropheMode() 485 msgPattern = new MessagePattern(); // Sets the default mode. in getApostropheMode() 487 return msgPattern.getApostropheMode(); in getApostropheMode() [all …]
|
D | PluralFormat.java | 155 transient private MessagePattern msgPattern; field in PluralFormat 381 if(msgPattern != null) { in resetPattern() 382 msgPattern.clear(); in resetPattern() 398 if (msgPattern == null) { in applyPattern() 399 msgPattern = new MessagePattern(); in applyPattern() 402 msgPattern.parsePluralStyle(pattern); in applyPattern() 403 offset = msgPattern.getPluralOffset(0); in applyPattern() 587 if (msgPattern == null || msgPattern.countParts() == 0) { in format() 606 int partIndex = findSubMessage(msgPattern, 0, pluralRulesWrapper, dec, number); in format() 610 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 | 45 UErrorCode& status) : msgPattern(status) { in SelectFormat() 50 msgPattern(other.msgPattern) { in SelectFormat() 62 msgPattern.parseSelectStyle(newPattern, NULL, status); in applyPattern() 64 msgPattern.clear(); in applyPattern() 97 if (msgPattern.countParts() == 0) { in format() 101 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); in format() 102 if (!MessageImpl::jdkAposMode(msgPattern)) { in format() 103 int32_t patternStart = msgPattern.getPart(msgStart).getLimit(); in format() 104 int32_t msgLimit = msgPattern.getLimitPartIndex(msgStart); in format() 105 appendTo.append(msgPattern.getPatternString(), in format() [all …]
|
D | plurfmt.cpp | 37 msgPattern(status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 45 msgPattern(status), in PluralFormat() 53 msgPattern(status), in PluralFormat() 63 msgPattern(status), in PluralFormat() 73 msgPattern(status), in PluralFormat() 82 msgPattern(status), in PluralFormat() 93 msgPattern(status), in PluralFormat() 104 msgPattern(status), in PluralFormat() 116 msgPattern(status), in PluralFormat() 128 msgPattern(status), in PluralFormat() [all …]
|
D | choicfmt.cpp | 78 msgPattern(status) in ChoiceFormat() 91 msgPattern(constructorErrorCode) in ChoiceFormat() 103 msgPattern(constructorErrorCode) in ChoiceFormat() 114 msgPattern(that.msgPattern) in ChoiceFormat() 127 msgPattern(status) in ChoiceFormat() 139 return msgPattern == thatAlias.msgPattern; in operator ==() 151 msgPattern = that.msgPattern; in operator =() 226 msgPattern.parseChoiceStyle(pattern, NULL, status); in applyPattern() 238 msgPattern.parseChoiceStyle(pattern, &parseError, status); in applyPattern() 247 return result = msgPattern.getPatternString(); in toPattern() [all …]
|
D | msgfmt.cpp | 233 msgPattern(success), in MessageFormat() 255 msgPattern(success), in MessageFormat() 278 msgPattern(success), in MessageFormat() 300 msgPattern(that.msgPattern), in MessageFormat() 377 msgPattern = that.msgPattern; in operator =() 398 msgPattern != that.msgPattern || in operator ==() 489 msgPattern.parse(pattern, &parseError, ec); in applyPattern() 498 msgPattern.clear(); in resetPattern() 512 if (aposMode != msgPattern.getApostropheMode()) { in applyPattern() 513 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 | 36 static UBool jdkAposMode(const MessagePattern &msgPattern) { in jdkAposMode() argument 37 return msgPattern.getApostropheMode()==UMSGPAT_APOS_DOUBLE_REQUIRED; in jdkAposMode() 51 static UnicodeString &appendSubMessageWithoutSkipSyntax(const MessagePattern &msgPattern,
|
D | messagepattern.cpp | 1204 MessageImpl::appendSubMessageWithoutSkipSyntax(const MessagePattern &msgPattern, in appendSubMessageWithoutSkipSyntax() argument 1207 const UnicodeString &msgString=msgPattern.getPatternString(); in appendSubMessageWithoutSkipSyntax() 1208 int32_t prevIndex=msgPattern.getPart(msgStart).getLimit(); in appendSubMessageWithoutSkipSyntax() 1210 const MessagePattern::Part &part=msgPattern.getPart(++i); in appendSubMessageWithoutSkipSyntax() 1221 i=msgPattern.getLimitPartIndex(i); in appendSubMessageWithoutSkipSyntax() 1222 index=msgPattern.getPart(i).getLimit(); in appendSubMessageWithoutSkipSyntax()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | selfmt.h | 359 MessagePattern msgPattern; variable
|
D | msgfmt.h | 479 return msgPattern.getApostropheMode(); in getApostropheMode() 863 MessagePattern msgPattern; variable
|
D | choicfmt.h | 540 MessagePattern msgPattern; variable
|
D | plurfmt.h | 570 MessagePattern msgPattern; variable
|