Home
last modified time | relevance | path

Searched refs:maxExpansions (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcoleitr.cpp399 MaxExpSink(UHashtable *h, UErrorCode &ec) : maxExpansions(h), errorCode(ec) {} in MaxExpSink()
422 if (count > uhash_igeti(maxExpansions, (int32_t)lastHalf)) { in handleExpansion()
423 uhash_iputi(maxExpansions, (int32_t)lastHalf, count, &errorCode); in handleExpansion()
428 UHashtable *maxExpansions; member in __anonfe6b1d830211::MaxExpSink
439 UHashtable *maxExpansions = uhash_open(uhash_hashLong, uhash_compareLong, in computeMaxExpansions() local
442 MaxExpSink sink(maxExpansions, errorCode); in computeMaxExpansions()
445 uhash_close(maxExpansions); in computeMaxExpansions()
448 return maxExpansions; in computeMaxExpansions()
453 return getMaxExpansion(rbc_->tailoring->maxExpansions, order); in getMaxExpansion()
457 CollationElementIterator::getMaxExpansion(const UHashtable *maxExpansions, int32_t order) { in getMaxExpansion() argument
[all …]
Dcollationtailoring.cpp41 maxExpansions(NULL) { in CollationTailoring()
65 uhash_close(maxExpansions); in ~CollationTailoring()
Dcollationtailoring.h84 mutable UHashtable *maxExpansions; member
Drulebasedcollator.cpp1616 t->maxExpansions = CollationElementIterator::computeMaxExpansions(t->data, errorCode); in computeMaxExpansions()
1653 return CollationElementIterator::getMaxExpansion(tailoring->maxExpansions, order); in getMaxExpansion()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationElementIterator.java572 maxExpansions = h; in MaxExpSink()
600 Integer oldCount = maxExpansions.get(lastHalf); in handleExpansion()
602 maxExpansions.put(lastHalf, count); in handleExpansion()
606 private Map<Integer, Integer> maxExpansions; field in CollationElementIterator.MaxExpSink
610 Map<Integer, Integer> maxExpansions = new HashMap<>(); in computeMaxExpansions() local
611 MaxExpSink sink = new MaxExpSink(maxExpansions); in computeMaxExpansions()
613 return maxExpansions; in computeMaxExpansions()
626 return getMaxExpansion(rbc_.tailoring.maxExpansions, ce); in getMaxExpansion()
629 static int getMaxExpansion(Map<Integer, Integer> maxExpansions, int order) { in getMaxExpansion() argument
634 if (maxExpansions != null && (max = maxExpansions.get(order)) != null) { in getMaxExpansion()
DRuleBasedCollator.java255 if (tailoring.maxExpansions == null) { in initMaxExpansions()
256 … tailoring.maxExpansions = CollationElementIterator.computeMaxExpansions(tailoring.data); in initMaxExpansions()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java589 maxExpansions = h; in MaxExpSink()
617 Integer oldCount = maxExpansions.get(lastHalf); in handleExpansion()
619 maxExpansions.put(lastHalf, count); in handleExpansion()
623 private Map<Integer, Integer> maxExpansions; field in CollationElementIterator.MaxExpSink
627 Map<Integer, Integer> maxExpansions = new HashMap<>(); in computeMaxExpansions() local
628 MaxExpSink sink = new MaxExpSink(maxExpansions); in computeMaxExpansions()
630 return maxExpansions; in computeMaxExpansions()
644 return getMaxExpansion(rbc_.tailoring.maxExpansions, ce); in getMaxExpansion()
647 static int getMaxExpansion(Map<Integer, Integer> maxExpansions, int order) { in getMaxExpansion() argument
652 if (maxExpansions != null && (max = maxExpansions.get(order)) != null) { in getMaxExpansion()
DRuleBasedCollator.java257 if (tailoring.maxExpansions == null) { in initMaxExpansions()
258 … tailoring.maxExpansions = CollationElementIterator.computeMaxExpansions(tailoring.data); in initMaxExpansions()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationTailoring.java121 public Map<Integer, Integer> maxExpansions; field in CollationTailoring
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationTailoring.java119 public Map<Integer, Integer> maxExpansions; field in CollationTailoring
/external/icu/icu4c/source/i18n/unicode/
Dcoleitr.h359 static int32_t getMaxExpansion(const UHashtable *maxExpansions, int32_t order);