Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java754 ParsePosition highWaterMark = new ParsePosition(0); in parse() local
767 if (parsePosition.getIndex() > highWaterMark.getIndex()) { in parse()
769 highWaterMark.setIndex(parsePosition.getIndex()); in parse()
788 for (int i = rules.length - 1; i >= 0 && highWaterMark.getIndex() < text.length(); i--) { in parse()
794 if (parsePosition.getIndex() > highWaterMark.getIndex()) { in parse()
796 highWaterMark.setIndex(parsePosition.getIndex()); in parse()
808 parsePosition.setIndex(highWaterMark.getIndex()); in parse()
DNFRule.java936 int highWaterMark = 0; in doParse() local
973 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
974 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
1004 parsePosition.setIndex(highWaterMark); in doParse()
1016 if (isFractionRule && highWaterMark > 0 && sub1 == null) { in doParse()
DRuleBasedNumberFormat.java1288 ParsePosition highWaterMark = new ParsePosition(workingPos.getIndex()); in parse() local
1303 if (workingPos.getIndex() > highWaterMark.getIndex()) { in parse()
1305 highWaterMark.setIndex(workingPos.getIndex()); in parse()
1314 if (highWaterMark.getIndex() == workingText.length()) { in parse()
1325 parsePosition.setIndex(parsePosition.getIndex() + highWaterMark.getIndex()); in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRuleSet.java755 ParsePosition highWaterMark = new ParsePosition(0); in parse() local
768 if (parsePosition.getIndex() > highWaterMark.getIndex()) { in parse()
770 highWaterMark.setIndex(parsePosition.getIndex()); in parse()
789 for (int i = rules.length - 1; i >= 0 && highWaterMark.getIndex() < text.length(); i--) { in parse()
795 if (parsePosition.getIndex() > highWaterMark.getIndex()) { in parse()
797 highWaterMark.setIndex(parsePosition.getIndex()); in parse()
809 parsePosition.setIndex(highWaterMark.getIndex()); in parse()
DNFRule.java937 int highWaterMark = 0; in doParse() local
974 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
975 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
1005 parsePosition.setIndex(highWaterMark); in doParse()
1017 if (isFractionRule && highWaterMark > 0 && sub1 == null) { in doParse()
DRuleBasedNumberFormat.java1260 ParsePosition highWaterMark = new ParsePosition(workingPos.getIndex()); in parse() local
1275 if (workingPos.getIndex() > highWaterMark.getIndex()) { in parse()
1277 highWaterMark.setIndex(workingPos.getIndex()); in parse()
1286 if (highWaterMark.getIndex() == workingText.length()) { in parse()
1297 parsePosition.setIndex(parsePosition.getIndex() + highWaterMark.getIndex()); in parse()
/external/icu/icu4c/source/i18n/
Dnfrs.cpp694 ParsePosition highWaterMark; in parse() local
710 if (success && (workingPos.getIndex() > highWaterMark.getIndex())) { in parse()
712 highWaterMark = workingPos; in parse()
720 fprintf(stderr, "' hwm: %d\n", highWaterMark.getIndex()); in parse()
743 for (int32_t i = rules.size(); --i >= 0 && highWaterMark.getIndex() < text.length();) { in parse()
749 if (success && workingPos.getIndex() > highWaterMark.getIndex()) { in parse()
751 highWaterMark = workingPos; in parse()
762 pos = highWaterMark; in parse()
Dnfrule.cpp980 int highWaterMark = 0; in doParse() local
1022 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
1023 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
1056 parsePosition.setIndex(highWaterMark); in doParse()
1059 if (highWaterMark > 0) { in doParse()
1069 if (isFractionRule && highWaterMark > 0 && sub1 == NULL) { 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.h164 int32_t highWaterMark; /* If count > highWaterMark, rehash */ member