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) */
720 int count = 0; /* repeat count of the current code */
721 int max_count = 7; /* max repeat count */
722 int min_count = 4; /* min repeat count */
729 if (++count < max_count && curlen == nextlen) {
731 } else if (count < min_count) {
732 s->bl_tree[curlen].Freq += count;
736 } else if (count <= 10) {
741 count = 0; prevlen = curlen;
765 int count = 0; /* repeat count of the current code */
766 int max_count = 7; /* max repeat count */
767 int min_count = 4; /* min repeat count */
774 if (++count < max_count && curlen == nextlen) {
776 } else if (count < min_count) {
777 do { send_code(s, curlen, s->bl_tree); } while (--count != 0);
781 send_code(s, curlen, s->bl_tree); count--;
783 Assert(count >= 3 && count <= 6, " 3_6?");
784 send_code(s, REP_3_6, s->bl_tree); send_bits(s, count-3, 2);
786 } else if (count <= 10) {
787 send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count-3, 3);
790 send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count-11, 7);
792 count = 0; prevlen = curlen;