Home
last modified time | relevance | path

Searched refs:bl_count (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/zlib/
H A Dtrees.c202 local void gen_codes(ct_data *tree, int max_code, ushf *bl_count) { in gen_codes() argument
212 code = (code + bl_count[bits - 1]) << 1; in gen_codes()
218 Assert (code + bl_count[MAX_BITS] - 1 == (1 << MAX_BITS) - 1, in gen_codes()
302 ush bl_count[MAX_BITS+1]; in tr_static_init() local
350 for (bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0; in tr_static_init()
352 while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init()
353 while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; in tr_static_init()
354 while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; in tr_static_init()
355 while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; in tr_static_init()
360 gen_codes((ct_data *)static_ltree, L_CODES+1, bl_count); in tr_static_init()
[all …]
H A Ddeflate.h210 ush bl_count[MAX_BITS+1]; member
/freebsd/sys/contrib/zlib/doc/
H A Drfc1951.txt423 bl_count[N] be the number of codes of length N, N >= 1.
429 bl_count[0] = 0;
431 code = (code + bl_count[bits-1]) << 1;
462 N bl_count[N]