Lines Matching refs:ush
135 static void gen_codes (ct_data *tree, int max_code, ush *bl_count);
179 ush bl_count[MAX_BITS+1]; in tr_static_init()
368 ush f; /* frequency */ in gen_bitlen()
382 tree[n].Len = (ush)bits; in gen_bitlen()
426 tree[m].Len = (ush)bits; in gen_bitlen()
444 ush *bl_count /* number of codes at each bit length */ in gen_codes()
447 ush next_code[MAX_BITS+1]; /* next code value for each bit length */ in gen_codes()
448 ush code = 0; /* running code value */ in gen_codes()
544 tree[n].Dad = tree[m].Dad = (ush)node; in build_tree()
587 tree[max_code+1].Len = (ush)0xffff; /* guard */ in scan_tree()
921 s->d_buf[s->last_lit] = (ush)dist;
930 Assert((ush)dist < (ush)MAX_DIST(s) &&
931 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
932 (ush)d_code(dist) < (ush)D_CODES, "zlib_tr_tally: bad match");
1046 put_short(s, (ush)len);
1047 put_short(s, (ush)~len);