Searched defs:nextCountBytes (Results 1 - 1 of 1) sorted by relevance

/external/icu/icu4c/source/i18n/
H A Dcollationweights.cpp435 int32_t nextCountBytes = countBytes(minLength + 1); local
436 if(n > count * nextCountBytes) { return FALSE; }
448 // count1 + count2 * nextCountBytes = n
451 // (count - count2) + count2 * nextCountBytes = n
453 int32_t count2 = (n - count) / (nextCountBytes - 1); // number of weights to be lengthened
455 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) {
459 U_ASSERT((count1 + count2 * nextCountBytes) >= n);

Completed in 209 milliseconds