Home
last modified time | relevance | path

Searched refs:zs_maxbits (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/usr.bin/compress/
Dzopen.c104 int zs_maxbits; /* User settable max # bits/code. */ member
231 zs->zs_maxmaxcode = 1L << zs->zs_maxbits; in zwrite()
235 tmp = (u_char)(zs->zs_maxbits | zs->zs_block_compress); in zwrite()
268 zs->zs_fcode = (long)(((long)c << zs->zs_maxbits) + in zwrite()
423 if (zs->zs_n_bits == zs->zs_maxbits) in output()
501 zs->zs_maxbits = header[2]; /* Set -b from file. */ in zread()
503 zs->zs_block_compress = zs->zs_maxbits & BLOCK_MASK; in zread()
504 zs->zs_maxbits &= BIT_MASK; in zread()
505 zs->zs_maxmaxcode = 1L << zs->zs_maxbits; in zread()
506 if (zs->zs_maxbits > BITS) { in zread()
[all …]
/openbsd/src/sbin/savecore/
Dzopen.c104 int zs_maxbits; /* User settable max # bits/code. */ member
230 zs->zs_maxmaxcode = 1L << zs->zs_maxbits; in zwrite()
234 tmp = (u_char)(zs->zs_maxbits | zs->zs_block_compress); in zwrite()
267 zs->zs_fcode = (long)(((long)c << zs->zs_maxbits) + in zwrite()
425 if (zs->zs_n_bits == zs->zs_maxbits) in output()
560 zs->zs_maxbits = bits ? bits : BITS; in z_open()
562 zs->zs_maxmaxcode = 1 << zs->zs_maxbits; in z_open()