Lines Matching defs:zs

142 #define	fp		zs->zs_fp
143 #define zmode zs->zs_mode
144 #define state zs->zs_state
145 #define n_bits zs->zs_n_bits
146 #define maxbits zs->zs_maxbits
147 #define maxcode zs->zs_maxcode
148 #define maxmaxcode zs->zs_maxmaxcode
149 #define htab zs->zs_htab
150 #define codetab zs->zs_codetab
151 #define hsize zs->zs_hsize
152 #define free_ent zs->zs_free_ent
153 #define block_compress zs->zs_block_compress
154 #define clear_flg zs->zs_clear_flg
155 #define ratio zs->zs_ratio
156 #define checkpoint zs->zs_checkpoint
157 #define offset zs->zs_offset
158 #define in_count zs->zs_in_count
159 #define bytes_out zs->zs_bytes_out
160 #define out_count zs->zs_out_count
161 #define buf zs->zs_buf
162 #define fcode zs->u.w.zs_fcode
163 #define hsize_reg zs->u.w.zs_hsize_reg
164 #define ent zs->u.w.zs_ent
165 #define hshift zs->u.w.zs_hshift
166 #define stackp zs->u.r.zs_stackp
167 #define finchar zs->u.r.zs_finchar
168 #define code zs->u.r.zs_code
169 #define oldcode zs->u.r.zs_oldcode
170 #define incode zs->u.r.zs_incode
171 #define roffset zs->u.r.zs_roffset
172 #define size zs->u.r.zs_size
173 #define gbuf zs->u.r.zs_gbuf
239 struct s_zstate *zs;
247 zs = cookie;
281 cl_hash(zs, (count_int)hsize_reg); /* Clear hash table. */
306 nomatch: if (output(zs, (code_int) ent) == -1)
315 if (cl_block(zs) == -1)
325 struct s_zstate *zs;
328 zs = cookie;
330 if (output(zs, (code_int) ent) == -1) {
332 free(zs);
336 if (output(zs, (code_int) - 1) == -1) {
338 free(zs);
343 free(zs);
368 output(struct s_zstate *zs, code_int ocode)
459 struct s_zstate *zs;
465 zs = cookie;
501 finchar = oldcode = getcode(zs);
510 while ((code = getcode(zs)) > -1) {
575 getcode(struct s_zstate *zs)
633 cl_block(struct s_zstate *zs) /* Table clear for block compress. */
651 cl_hash(zs, (count_int) hsize);
654 if (output(zs, (code_int) CLEAR) == -1)
661 cl_hash(struct s_zstate *zs, count_int cl_hsize) /* Reset code table. */
695 struct s_zstate *zs;
703 if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
725 free(zs);
731 return (funopen(zs, zread, NULL, NULL, zclose));
734 return (funopen(zs, NULL, zwrite, NULL, zclose));