/external/messageformat/java/com/ibm/icu/simple/ |
D | MessageFormat.java | 487 private int nextTopLevelArgStart(int partIndex) { in nextTopLevelArgStart() argument 488 if (partIndex != 0) { in nextTopLevelArgStart() 489 partIndex = msgPattern.getLimitPartIndex(partIndex); in nextTopLevelArgStart() 492 MessagePattern.Part.Type type = msgPattern.getPartType(++partIndex); in nextTopLevelArgStart() 494 return partIndex; in nextTopLevelArgStart() 502 private boolean argNameMatches(int partIndex, String argName, int argNumber) { in argNameMatches() argument 503 Part part = msgPattern.getPart(partIndex); in argNameMatches() 509 private String getArgName(int partIndex) { in getArgName() argument 510 Part part = msgPattern.getPart(partIndex); in getArgName() 551 for (int partIndex = 0; (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) { in setFormatsByArgumentIndex() [all …]
|
D | PluralFormat.java | 287 MessagePattern pattern, int partIndex, in findSubMessage() argument 291 MessagePattern.Part part=pattern.getPart(partIndex); in findSubMessage() 294 ++partIndex; in findSubMessage() 321 part=pattern.getPart(partIndex++); in findSubMessage() 328 if(pattern.getPartType(partIndex).hasNumericValue()) { in findSubMessage() 330 part=pattern.getPart(partIndex++); in findSubMessage() 333 return partIndex; in findSubMessage() 340 msgStart=partIndex; in findSubMessage() 360 msgStart=partIndex; in findSubMessage() 366 partIndex=pattern.getLimitPartIndex(partIndex); in findSubMessage() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessageFormat.java | 530 private int nextTopLevelArgStart(int partIndex) { in nextTopLevelArgStart() argument 531 if (partIndex != 0) { in nextTopLevelArgStart() 532 partIndex = msgPattern.getLimitPartIndex(partIndex); in nextTopLevelArgStart() 535 MessagePattern.Part.Type type = msgPattern.getPartType(++partIndex); in nextTopLevelArgStart() 537 return partIndex; in nextTopLevelArgStart() 545 private boolean argNameMatches(int partIndex, String argName, int argNumber) { in argNameMatches() argument 546 Part part = msgPattern.getPart(partIndex); in argNameMatches() 552 private String getArgName(int partIndex) { in getArgName() argument 553 Part part = msgPattern.getPart(partIndex); in getArgName() 594 for (int partIndex = 0; (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) { in setFormatsByArgumentIndex() [all …]
|
D | PluralFormat.java | 445 MessagePattern pattern, int partIndex, in findSubMessage() argument 449 MessagePattern.Part part=pattern.getPart(partIndex); in findSubMessage() 452 ++partIndex; in findSubMessage() 479 part=pattern.getPart(partIndex++); in findSubMessage() 486 if(pattern.getPartType(partIndex).hasNumericValue()) { in findSubMessage() 488 part=pattern.getPart(partIndex++); in findSubMessage() 491 return partIndex; in findSubMessage() 498 msgStart=partIndex; in findSubMessage() 518 msgStart=partIndex; in findSubMessage() 524 partIndex=pattern.getLimitPartIndex(partIndex); in findSubMessage() [all …]
|
D | SelectFormat.java | 221 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 226 MessagePattern.Part part=pattern.getPart(partIndex++); in findSubMessage() 235 return partIndex; in findSubMessage() 237 msgStart=partIndex; in findSubMessage() 239 partIndex=pattern.getLimitPartIndex(partIndex); in findSubMessage() 240 } while(++partIndex<count); in findSubMessage()
|
D | MessagePattern.java | 460 public int getPatternIndex(int partIndex) { in getPatternIndex() argument 461 return parts.get(partIndex).index; in getPatternIndex()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessageFormat.java | 519 private int nextTopLevelArgStart(int partIndex) { in nextTopLevelArgStart() argument 520 if (partIndex != 0) { in nextTopLevelArgStart() 521 partIndex = msgPattern.getLimitPartIndex(partIndex); in nextTopLevelArgStart() 524 MessagePattern.Part.Type type = msgPattern.getPartType(++partIndex); in nextTopLevelArgStart() 526 return partIndex; in nextTopLevelArgStart() 534 private boolean argNameMatches(int partIndex, String argName, int argNumber) { in argNameMatches() argument 535 Part part = msgPattern.getPart(partIndex); in argNameMatches() 541 private String getArgName(int partIndex) { in getArgName() argument 542 Part part = msgPattern.getPart(partIndex); in getArgName() 582 for (int partIndex = 0; (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) { in setFormatsByArgumentIndex() [all …]
|
D | PluralFormat.java | 430 MessagePattern pattern, int partIndex, in findSubMessage() argument 434 MessagePattern.Part part=pattern.getPart(partIndex); in findSubMessage() 437 ++partIndex; in findSubMessage() 464 part=pattern.getPart(partIndex++); in findSubMessage() 471 if(pattern.getPartType(partIndex).hasNumericValue()) { in findSubMessage() 473 part=pattern.getPart(partIndex++); in findSubMessage() 476 return partIndex; in findSubMessage() 483 msgStart=partIndex; in findSubMessage() 503 msgStart=partIndex; in findSubMessage() 509 partIndex=pattern.getLimitPartIndex(partIndex); in findSubMessage() [all …]
|
D | SelectFormat.java | 217 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 222 MessagePattern.Part part=pattern.getPart(partIndex++); in findSubMessage() 231 return partIndex; in findSubMessage() 233 msgStart=partIndex; in findSubMessage() 235 partIndex=pattern.getLimitPartIndex(partIndex); in findSubMessage() 236 } while(++partIndex<count); in findSubMessage()
|
D | MessagePattern.java | 433 public int getPatternIndex(int partIndex) { in getPatternIndex() argument 434 return parts.get(partIndex).index; in getPatternIndex()
|
/external/icu/icu4c/source/i18n/ |
D | choicfmt.cpp | 423 ChoiceFormat::findSubMessage(const MessagePattern &pattern, int32_t partIndex, double number) { in findSubMessage() argument 429 partIndex += 2; in findSubMessage() 432 msgStart = partIndex; in findSubMessage() 433 partIndex = pattern.getLimitPartIndex(partIndex); in findSubMessage() 434 if (++partIndex >= count) { in findSubMessage() 439 const MessagePattern::Part &part = pattern.getPart(partIndex++); in findSubMessage() 450 int32_t selectorIndex = pattern.getPatternIndex(partIndex++); in findSubMessage() 505 const MessagePattern &pattern, int32_t partIndex, in parseArgument() argument 513 while (partIndex < count && pattern.getPartType(partIndex) != UMSGPAT_PART_TYPE_ARG_LIMIT) { in parseArgument() 514 tempNumber = pattern.getNumericValue(pattern.getPart(partIndex)); in parseArgument() [all …]
|
D | plurfmt.cpp | 297 int32_t partIndex = findSubMessage(msgPattern, 0, pluralRulesWrapper, &dec, number, status); in format() local 302 int32_t prevIndex = msgPattern.getPart(partIndex).getLimit(); in format() 304 const MessagePattern::Part& part = msgPattern.getPart(++partIndex); in format() 319 partIndex = msgPattern.getLimitPartIndex(partIndex); in format() 320 index = msgPattern.getPart(partIndex).getLimit(); in format() 417 int32_t PluralFormat::findSubMessage(const MessagePattern& pattern, int32_t partIndex, in findSubMessage() argument 425 const MessagePattern::Part* part=&pattern.getPart(partIndex); in findSubMessage() 428 ++partIndex; in findSubMessage() 456 part=&pattern.getPart(partIndex++); in findSubMessage() 463 if(MessagePattern::Part::hasNumericValue(pattern.getPartType(partIndex))) { in findSubMessage() [all …]
|
D | msgfmt.cpp | 532 int32_t MessageFormat::nextTopLevelArgStart(int32_t partIndex) const { in nextTopLevelArgStart() 533 if (partIndex != 0) { in nextTopLevelArgStart() 534 partIndex = msgPattern.getLimitPartIndex(partIndex); in nextTopLevelArgStart() 537 UMessagePatternPartType type = msgPattern.getPartType(++partIndex); in nextTopLevelArgStart() 539 return partIndex; in nextTopLevelArgStart() 570 UBool MessageFormat::argNameMatches(int32_t partIndex, const UnicodeString& argName, int32_t argNum… in argNameMatches() argument 571 const MessagePattern::Part& part = msgPattern.getPart(partIndex); in argNameMatches() 622 for (int32_t partIndex = 0; in adoptFormats() local 624 (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) { in adoptFormats() 625 setCustomArgStartFormat(partIndex, newFormats[formatNumber], status); in adoptFormats() [all …]
|
D | selfmt.cpp | 125 int32_t SelectFormat::findSubMessage(const MessagePattern& pattern, int32_t partIndex, in findSubMessage() argument 135 const MessagePattern::Part& part=pattern.getPart(partIndex++); in findSubMessage() 143 return partIndex; in findSubMessage() 145 msgStart=partIndex; in findSubMessage() 147 partIndex=pattern.getLimitPartIndex(partIndex); in findSubMessage() 148 } while(++partIndex<count); in findSubMessage()
|
/external/messageformat/java/com/ibm/icu/text/ |
D | SelectFormat.java | 222 public static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 227 MessagePattern.Part part=pattern.getPart(partIndex++); in findSubMessage() 236 return partIndex; in findSubMessage() 238 msgStart=partIndex; in findSubMessage() 240 partIndex=pattern.getLimitPartIndex(partIndex); in findSubMessage() 241 } while(++partIndex<count); in findSubMessage()
|
D | MessagePattern.java | 459 public int getPatternIndex(int partIndex) { in getPatternIndex() argument 460 return parts.get(partIndex).index; in getPatternIndex()
|
/external/skia/tests/ |
D | SubsetPath.cpp | 18 int partIndex = fSubset - parts; in range() local 19 SkASSERT(partIndex >= 0); in range() 21 int start = count * partIndex / parts; in range() 22 *end = count * (partIndex + 1) / parts; in range()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | choicfmt.h | 507 static int32_t findSubMessage(const MessagePattern &pattern, int32_t partIndex, double number); 510 const MessagePattern &pattern, int32_t partIndex, 522 const MessagePattern &pattern, int32_t partIndex, int32_t limitPartIndex,
|
D | msgfmt.h | 980 UnicodeString getArgName(int32_t partIndex); 986 int32_t nextTopLevelArgStart(int32_t partIndex) const; 988 UBool argNameMatches(int32_t partIndex, const UnicodeString& argName, int32_t argNumber); 1016 int32_t findOtherSubMessage(int32_t partIndex) const;
|
D | selfmt.h | 356 static int32_t findSubMessage(const MessagePattern& pattern, int32_t partIndex,
|
D | plurfmt.h | 600 const MessagePattern& pattern, int32_t partIndex,
|
/external/icu/icu4c/source/common/unicode/ |
D | messagepattern.h | 644 int32_t getPatternIndex(int32_t partIndex) const { in getPatternIndex() argument 645 return getPart(partIndex).index; in getPatternIndex()
|