• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.bin/compress/

Lines Matching defs:zs

144 #define	fp		zs->zs_fp
145 #define zmode zs->zs_mode
146 #define state zs->zs_state
147 #define n_bits zs->zs_n_bits
148 #define maxbits zs->zs_maxbits
149 #define maxcode zs->zs_maxcode
150 #define maxmaxcode zs->zs_maxmaxcode
151 #define htab zs->zs_htab
152 #define codetab zs->zs_codetab
153 #define hsize zs->zs_hsize
154 #define free_ent zs->zs_free_ent
155 #define block_compress zs->zs_block_compress
156 #define clear_flg zs->zs_clear_flg
157 #define ratio zs->zs_ratio
158 #define checkpoint zs->zs_checkpoint
159 #define offset zs->zs_offset
160 #define in_count zs->zs_in_count
161 #define bytes_out zs->zs_bytes_out
162 #define out_count zs->zs_out_count
163 #define buf zs->zs_buf
164 #define fcode zs->u.w.zs_fcode
165 #define hsize_reg zs->u.w.zs_hsize_reg
166 #define ent zs->u.w.zs_ent
167 #define hshift zs->u.w.zs_hshift
168 #define stackp zs->u.r.zs_stackp
169 #define finchar zs->u.r.zs_finchar
170 #define code zs->u.r.zs_code
171 #define oldcode zs->u.r.zs_oldcode
172 #define incode zs->u.r.zs_incode
173 #define roffset zs->u.r.zs_roffset
174 #define size zs->u.r.zs_size
175 #define gbuf zs->u.r.zs_gbuf
241 struct s_zstate *zs;
249 zs = cookie;
283 cl_hash(zs, (count_int)hsize_reg); /* Clear hash table. */
308 nomatch: if (output(zs, (code_int) ent) == -1)
317 if (cl_block(zs) == -1)
327 struct s_zstate *zs;
330 zs = cookie;
332 if (output(zs, (code_int) ent) == -1) {
334 free(zs);
338 if (output(zs, (code_int) - 1) == -1) {
340 free(zs);
345 free(zs);
370 output(struct s_zstate *zs, code_int ocode)
461 struct s_zstate *zs;
467 zs = cookie;
503 finchar = oldcode = getcode(zs);
512 while ((code = getcode(zs)) > -1) {
577 getcode(struct s_zstate *zs)
635 cl_block(struct s_zstate *zs) /* Table clear for block compress. */
653 cl_hash(zs, (count_int) hsize);
656 if (output(zs, (code_int) CLEAR) == -1)
663 cl_hash(struct s_zstate *zs, count_int cl_hsize) /* Reset code table. */
697 struct s_zstate *zs;
705 if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL)
727 free(zs);
733 return (funopen(zs, zread, NULL, NULL, zclose));
736 return (funopen(zs, NULL, zwrite, NULL, zclose));