Home
last modified time | relevance | path

Searched refs:highWaterMark (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java706 ParsePosition highWaterMark = new ParsePosition(0); in parse() local
718 if (parsePosition.getIndex() > highWaterMark.getIndex()) { in parse()
720 highWaterMark.setIndex(parsePosition.getIndex()); in parse()
733 if (parsePosition.getIndex() > highWaterMark.getIndex()) { in parse()
735 highWaterMark.setIndex(parsePosition.getIndex()); in parse()
754 for (int i = rules.length - 1; i >= 0 && highWaterMark.getIndex() < text.length(); i--) { in parse()
760 if (parsePosition.getIndex() > highWaterMark.getIndex()) { in parse()
762 highWaterMark.setIndex(parsePosition.getIndex()); in parse()
774 parsePosition.setIndex(highWaterMark.getIndex()); in parse()
DNFRule.java861 int highWaterMark = 0; in doParse() local
898 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
899 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
928 parsePosition.setIndex(highWaterMark); in doParse()
940 if (isFractionRule && highWaterMark > 0 && sub1.isNullSubstitution()) { in doParse()
DRuleBasedNumberFormat.java1232 ParsePosition highWaterMark = new ParsePosition(workingPos.getIndex()); in parse() local
1247 if (workingPos.getIndex() > highWaterMark.getIndex()) { in parse()
1249 highWaterMark.setIndex(workingPos.getIndex()); in parse()
1258 if (highWaterMark.getIndex() == workingText.length()) { in parse()
1269 parsePosition.setIndex(parsePosition.getIndex() + highWaterMark.getIndex()); in parse()
/external/icu/icu4c/source/i18n/
Dnfrs.cpp623 ParsePosition highWaterMark; in parse() local
645 if (success && workingPos.getIndex() > highWaterMark.getIndex()) { in parse()
647 highWaterMark = workingPos; in parse()
654 fprintf(stderr, "' hwm: %d\n", highWaterMark.getIndex()); in parse()
662 if (success && (workingPos.getIndex() > highWaterMark.getIndex())) { in parse()
664 highWaterMark = workingPos; in parse()
673 fprintf(stderr, "' hwm: %d\n", highWaterMark.getIndex()); in parse()
696 for (int32_t i = rules.size(); --i >= 0 && highWaterMark.getIndex() < text.length();) { in parse()
702 if (success && workingPos.getIndex() > highWaterMark.getIndex()) { in parse()
704 highWaterMark = workingPos; in parse()
[all …]
Dnfrule.cpp913 int highWaterMark = 0; in doParse() local
955 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
956 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
989 parsePosition.setIndex(highWaterMark); in doParse()
992 if (highWaterMark > 0) { in doParse()
1003 highWaterMark > 0 && in doParse()
/external/icu/icu4c/source/common/
Duhash.c243 hash->highWaterMark = (int32_t)(hash->length * hash->highWaterRatio); in _uhash_allocate()
400 if (hash->count > hash->highWaterMark) { in _uhash_rehash()
487 if (hash->count > hash->highWaterMark) { in _uhash_put()
631 hash->highWaterMark = (int32_t)(hash->length * hash->highWaterRatio); in uhash_setResizePolicy()
Duhash.h161 int32_t highWaterMark; /* If count > highWaterMark, rehash */ member