Home
last modified time | relevance | path

Searched refs:maxExpansions (Results 1 – 8 of 8) 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/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java612 maxExpansions = h; in MaxExpSink()
640 Integer oldCount = maxExpansions.get(lastHalf); in handleExpansion()
642 maxExpansions.put(lastHalf, count); in handleExpansion()
646 private Map<Integer, Integer> maxExpansions; field in CollationElementIterator.MaxExpSink
650 Map<Integer, Integer> maxExpansions = new HashMap<Integer, Integer>(); in computeMaxExpansions() local
651 MaxExpSink sink = new MaxExpSink(maxExpansions); in computeMaxExpansions()
653 return maxExpansions; in computeMaxExpansions()
667 return getMaxExpansion(rbc_.tailoring.maxExpansions, ce); in getMaxExpansion()
670 static int getMaxExpansion(Map<Integer, Integer> maxExpansions, int order) { in getMaxExpansion() argument
675 if (maxExpansions != null && (max = maxExpansions.get(order)) != null) { in getMaxExpansion()
DRuleBasedCollator.java269 if (tailoring.maxExpansions == null) { in initMaxExpansions()
270 … tailoring.maxExpansions = CollationElementIterator.computeMaxExpansions(tailoring.data); in initMaxExpansions()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationTailoring.java93 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);