Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcoleitr.cpp396 MaxExpSink(UHashtable *h, UErrorCode &ec) : maxExpansions(h), errorCode(ec) {} in MaxExpSink()
419 if (count > uhash_igeti(maxExpansions, (int32_t)lastHalf)) { in handleExpansion()
420 uhash_iputi(maxExpansions, (int32_t)lastHalf, count, &errorCode); in handleExpansion()
425 UHashtable *maxExpansions; member in __anon87d3b2fa0211::MaxExpSink
436 UHashtable *maxExpansions = uhash_open(uhash_hashLong, uhash_compareLong, in computeMaxExpansions() local
439 MaxExpSink sink(maxExpansions, errorCode); in computeMaxExpansions()
442 uhash_close(maxExpansions); in computeMaxExpansions()
445 return maxExpansions; in computeMaxExpansions()
450 return getMaxExpansion(rbc_->tailoring->maxExpansions, order); in getMaxExpansion()
454 CollationElementIterator::getMaxExpansion(const UHashtable *maxExpansions, int32_t order) { in getMaxExpansion() argument
[all …]
Dcollationtailoring.cpp39 maxExpansions(NULL) { in CollationTailoring()
63 uhash_close(maxExpansions); in ~CollationTailoring()
Dcollationtailoring.h82 mutable UHashtable *maxExpansions; member
Drulebasedcollator.cpp1614 t->maxExpansions = CollationElementIterator::computeMaxExpansions(t->data, errorCode); in computeMaxExpansions()
1651 return CollationElementIterator::getMaxExpansion(tailoring->maxExpansions, order); in getMaxExpansion()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationElementIterator.java591 maxExpansions = h; in MaxExpSink()
619 Integer oldCount = maxExpansions.get(lastHalf); in handleExpansion()
621 maxExpansions.put(lastHalf, count); in handleExpansion()
625 private Map<Integer, Integer> maxExpansions; field in CollationElementIterator.MaxExpSink
629 Map<Integer, Integer> maxExpansions = new HashMap<Integer, Integer>(); in computeMaxExpansions() local
630 MaxExpSink sink = new MaxExpSink(maxExpansions); in computeMaxExpansions()
632 return maxExpansions; in computeMaxExpansions()
645 return getMaxExpansion(rbc_.tailoring.maxExpansions, ce); in getMaxExpansion()
648 static int getMaxExpansion(Map<Integer, Integer> maxExpansions, int order) { in getMaxExpansion() argument
653 if (maxExpansions != null && (max = maxExpansions.get(order)) != null) { in getMaxExpansion()
DRuleBasedCollator.java253 if (tailoring.maxExpansions == null) { in initMaxExpansions()
254 … tailoring.maxExpansions = CollationElementIterator.computeMaxExpansions(tailoring.data); in initMaxExpansions()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java608 maxExpansions = h; in MaxExpSink()
636 Integer oldCount = maxExpansions.get(lastHalf); in handleExpansion()
638 maxExpansions.put(lastHalf, count); in handleExpansion()
642 private Map<Integer, Integer> maxExpansions; field in CollationElementIterator.MaxExpSink
646 Map<Integer, Integer> maxExpansions = new HashMap<Integer, Integer>(); in computeMaxExpansions() local
647 MaxExpSink sink = new MaxExpSink(maxExpansions); in computeMaxExpansions()
649 return maxExpansions; in computeMaxExpansions()
663 return getMaxExpansion(rbc_.tailoring.maxExpansions, ce); in getMaxExpansion()
666 static int getMaxExpansion(Map<Integer, Integer> maxExpansions, int order) { in getMaxExpansion() argument
671 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/impl/coll/
DCollationTailoring.java117 public Map<Integer, Integer> maxExpansions; field in CollationTailoring
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationTailoring.java119 public Map<Integer, Integer> maxExpansions; field in CollationTailoring
/external/icu/icu4c/source/i18n/unicode/
Dcoleitr.h356 static int32_t getMaxExpansion(const UHashtable *maxExpansions, int32_t order);