Lines Matching defs:count
54 /* repeat previous bit length 3-6 times (2 bits of repeat count) */
57 /* repeat a zero length 3-10 times (3 bits of repeat count) */
60 /* repeat a zero length 11-138 times (7 bits of repeat count) */
715 int count = 0; /* repeat count of the current code */
716 int max_count = 7; /* max repeat count */
717 int min_count = 4; /* min repeat count */
724 if (++count < max_count && curlen == nextlen) {
726 } else if (count < min_count) {
727 s->bl_tree[curlen].Freq += count;
731 } else if (count <= 10) {
736 count = 0; prevlen = curlen;
756 int count = 0; /* repeat count of the current code */
757 int max_count = 7; /* max repeat count */
758 int min_count = 4; /* min repeat count */
765 if (++count < max_count && curlen == nextlen) {
767 } else if (count < min_count) {
768 do { send_code(s, curlen, s->bl_tree); } while (--count != 0);
772 send_code(s, curlen, s->bl_tree); count--;
774 Assert(count >= 3 && count <= 6, " 3_6?");
775 send_code(s, REP_3_6, s->bl_tree); send_bits(s, count - 3, 2);
777 } else if (count <= 10) {
778 send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count - 3, 3);
781 send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count - 11, 7);
783 count = 0; prevlen = curlen;