Lines Matching refs:zs

139 #define	fp		zs->zs_fp
140 #define zmode zs->zs_mode
141 #define state zs->zs_state
142 #define n_bits zs->zs_n_bits
143 #define maxbits zs->zs_maxbits
144 #define maxcode zs->zs_maxcode
145 #define maxmaxcode zs->zs_maxmaxcode
146 #define htab zs->zs_htab
147 #define codetab zs->zs_codetab
148 #define hsize zs->zs_hsize
149 #define free_ent zs->zs_free_ent
150 #define block_compress zs->zs_block_compress
151 #define clear_flg zs->zs_clear_flg
152 #define ratio zs->zs_ratio
153 #define checkpoint zs->zs_checkpoint
154 #define offset zs->zs_offset
155 #define in_count zs->zs_in_count
156 #define bytes_out zs->zs_bytes_out
157 #define out_count zs->zs_out_count
158 #define buf zs->zs_buf
159 #define fcode zs->u.w.zs_fcode
160 #define hsize_reg zs->u.w.zs_hsize_reg
161 #define ent zs->u.w.zs_ent
162 #define hshift zs->u.w.zs_hshift
163 #define stackp zs->u.r.zs_stackp
164 #define finchar zs->u.r.zs_finchar
165 #define code zs->u.r.zs_code
166 #define oldcode zs->u.r.zs_oldcode
167 #define incode zs->u.r.zs_incode
168 #define roffset zs->u.r.zs_roffset
169 #define size zs->u.r.zs_size
170 #define gbuf zs->u.r.zs_gbuf
236 struct s_zstate *zs;
244 zs = cookie;
278 cl_hash(zs, (count_int)hsize_reg); /* Clear hash table. */
303 nomatch: if (output(zs, (code_int) ent) == -1)
312 if (cl_block(zs) == -1)
322 struct s_zstate *zs;
325 zs = cookie;
327 if (output(zs, (code_int) ent) == -1) {
329 free(zs);
333 if (output(zs, (code_int) - 1) == -1) {
335 free(zs);
340 free(zs);
365 output(struct s_zstate *zs, code_int ocode)
456 struct s_zstate *zs;
462 zs = cookie;
498 finchar = oldcode = getcode(zs);
507 while ((code = getcode(zs)) > -1) {
572 getcode(struct s_zstate *zs)
630 cl_block(struct s_zstate *zs) /* Table clear for block compress. */
648 cl_hash(zs, (count_int) hsize);
651 if (output(zs, (code_int) CLEAR) == -1)
658 cl_hash(struct s_zstate *zs, count_int cl_hsize) /* Reset code table. */
692 struct s_zstate *zs;
700 if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
722 free(zs);
728 return (funopen(zs, zread, NULL, NULL, zclose));
731 return (funopen(zs, NULL, zwrite, NULL, zclose));