Home
last modified time | relevance | path

Searched refs:nextCountBytes (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java496 int nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges() local
497 if(n > count * nextCountBytes) { return false; } in allocWeightsInMinLengthRanges()
514 int count2 = (n - count) / (nextCountBytes - 1); // number of weights to be lengthened in allocWeightsInMinLengthRanges()
516 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) { in allocWeightsInMinLengthRanges()
520 assert((count1 + count2 * nextCountBytes) >= n); in allocWeightsInMinLengthRanges()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationWeights.java498 int nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges() local
499 if(n > count * nextCountBytes) { return false; } in allocWeightsInMinLengthRanges()
516 int count2 = (n - count) / (nextCountBytes - 1); // number of weights to be lengthened in allocWeightsInMinLengthRanges()
518 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) { in allocWeightsInMinLengthRanges()
522 assert((count1 + count2 * nextCountBytes) >= n); in allocWeightsInMinLengthRanges()
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp435 int32_t nextCountBytes = countBytes(minLength + 1); in allocWeightsInMinLengthRanges() local
436 if(n > count * nextCountBytes) { return FALSE; } in allocWeightsInMinLengthRanges()
453 int32_t count2 = (n - count) / (nextCountBytes - 1); // number of weights to be lengthened in allocWeightsInMinLengthRanges()
455 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) { in allocWeightsInMinLengthRanges()
459 U_ASSERT((count1 + count2 * nextCountBytes) >= n); in allocWeightsInMinLengthRanges()