Lines Matching full:codes

50 /* Bit length codes must not exceed MAX_BL_BITS bits */
75 /* The lengths of the bit length codes are sent in order of decreasing
76 * probability, to avoid transmitting the lengths for unused bit length codes.
85 * need for the L_CODES extra codes used during heap construction. However
86 * The codes 286 and 287 are needed to build a canonical tree (see zlib_tr_init
91 /* The static distance tree. (Actually a trivial tree since all codes use
96 /* distance codes. The first 256 values correspond to the distances
115 int max_length; /* max bit length for the codes */
180 /* number of codes at each bit length for an optimal tree */ in tr_static_init()
217 /* Construct the codes of the static literal tree */ in tr_static_init()
224 /* Codes 286 and 287 do not exist, but we must include them in the in tr_static_init()
434 * Generate the codes for a given tree and bit counts (which need not be
444 ush *bl_count /* number of codes at each bit length */ in gen_codes()
514 * two codes of non zero frequency. in build_tree()
564 /* The field len is now set, we can generate the bit codes */ in build_tree()
569 * Scan a literal or distance tree to determine the frequencies of the codes
615 * Send a literal or distance tree in compressed form, using the codes in
683 * the lengths of the bit lengths codes and the 5+5+4 bits for the counts. in build_bl_tree()
686 /* Determine the number of bit length codes to send. The pkzip format in build_bl_tree()
687 * requires that at least 4 bit length codes be sent. (appnote.txt says in build_bl_tree()
703 * lengths of the bit length codes, the literal tree and the distance tree.
708 int lcodes, /* number of codes for each tree */ in send_all_trees()
709 int dcodes, /* number of codes for each tree */ in send_all_trees()
710 int blcodes /* number of codes for each tree */ in send_all_trees()
715 Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes"); in send_all_trees()
717 "too many codes"); in send_all_trees()
768 * last two codes for the previous block (real code plus EOB) were coded