Lines Matching refs:count
9814 var count = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */
9854 count[len] = 0;
9857 count[lens[lens_index + sym]]++;
9863 if (count[max] !== 0) { break; }
9884 if (count[min] !== 0) { break; }
9894 left -= count[len];
9906 offs[len + 1] = offs[len] + count[len];
10024 if (--count[len] === 0) {
10043 left -= count[curr + drop];
10897 var count = 0; /* repeat count of the current code */
10911 if (++count < max_count && curlen === nextlen) {
10914 } else if (count < min_count) {
10915 s.bl_tree[curlen * 2]/*.Freq*/ += count;
10922 } else if (count <= 10) {
10929 count = 0;
10963 var count = 0; /* repeat count of the current code */
10977 if (++count < max_count && curlen === nextlen) {
10980 } else if (count < min_count) {
10981 do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);
10986 count--;
10990 send_bits(s, count - 3, 2);
10992 } else if (count <= 10) {
10994 send_bits(s, count - 3, 3);
10998 send_bits(s, count - 11, 7);
11001 count = 0;