Lines Matching refs:count
7642 var count = new utils.Buf16(MAXBITS+1); //[MAXBITS+1]; /* number of codes of each length */
7682 count[len] = 0;
7685 count[lens[lens_index + sym]]++;
7691 if (count[max] !== 0) { break; }
7712 if (count[min] !== 0) { break; }
7722 left -= count[len];
7734 offs[len + 1] = offs[len] + count[len];
7852 if (--count[len] === 0) {
7871 left -= count[curr + drop];
8684 var count = 0; /* repeat count of the current code */
8698 if (++count < max_count && curlen === nextlen) {
8701 } else if (count < min_count) {
8702 s.bl_tree[curlen * 2]/*.Freq*/ += count;
8709 } else if (count <= 10) {
8716 count = 0;
8750 var count = 0; /* repeat count of the current code */
8764 if (++count < max_count && curlen === nextlen) {
8767 } else if (count < min_count) {
8768 do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);
8773 count--;
8777 send_bits(s, count-3, 2);
8779 } else if (count <= 10) {
8781 send_bits(s, count-3, 3);
8785 send_bits(s, count-11, 7);
8788 count = 0;