Home | History | Annotate | Download | only in i18n

Lines Matching defs:count2

444     // Calculate how to split the range between minLength (count1) and minLength+1 (count2).
446 // count1 + count2 * nextCountBytes = n
447 // count1 + count2 = count
449 // (count - count2) + count2 * nextCountBytes = n
450 // and then into the following count1 & count2 computations.
451 int32_t count2 = (n - count) / (nextCountBytes - 1); // number of weights to be lengthened
452 int32_t count1 = count - count2; // number of minLength weights
453 if(count2 == 0 || (count1 + count2 * nextCountBytes) < n) {
455 ++count2;
457 U_ASSERT((count1 + count2 * nextCountBytes) >= n);
472 splitRange, rangeCount, count1, count2);
482 ranges[1].count = count2; // *countBytes when lengthened