Searched refs:Huff_t (Results 1 - 12 of 12) sorted by relevance

/ast/src/cmd/codexlib/zip/
H A Dhuff.h22 struct Huff_s; typedef struct Huff_s Huff_t; typedef in typeref:struct:Huff_s
31 Huff_t* t; /* pointer to next level of table */
35 extern int huff(ulg*, ulg, ulg, ush*, ush*, Huff_t**, int*, Vmalloc_t*);
H A Dhuff.c47 Huff_t **t, /* result: starting table */
71 register Huff_t *q; /* points to current table */
72 Huff_t r; /* table entry for structure assignment */
73 Huff_t *u[BMAX]; /* table stack */
93 *t = (Huff_t *)NULL;
142 u[0] = (Huff_t *)NULL; /* just to keep compilers happy */
143 q = (Huff_t *)NULL; /* ditto */
177 q = (Huff_t *)vmalloc(vm, (z + 1)*sizeof(Huff_t));
184 *(t = &(q->v.t)) = (Huff_t *)NUL
[all...]
H A Ddeflate.c150 Huff_t* fixed_tl; /* inflate static */
151 Huff_t* fixed_td; /* inflate static */
158 Huff_t* tl; /* literal length state table */
159 Huff_t* td; /* literal distance state table */
216 Huff_t* t; /* pointer to table entry */
217 Huff_t* tl; /* literal length state table */
218 Huff_t* td; /* literal distance state table */
383 Huff_t* tl; /* literal/length code table */
429 Huff_t* tl; /* literal/length code table */
430 Huff_t* t
[all...]
H A Dimplode.c115 Huff_t *tb; /* literal, length, and distance tables */
116 Huff_t *tl;
117 Huff_t *td;
249 Huff_t *t; /* pointer to table entry */
252 Huff_t *tb, *tl, *td; /* literal, length, and distance tables */
390 Huff_t *t; /* pointer to table entry */
393 Huff_t *tb, *tl, *td; /* literal, length, and distance tables */
530 Huff_t *t; /* pointer to table entry */
533 Huff_t *tl, *td; /* length and distance state tables */
658 Huff_t *
[all...]
/ast/src/cmd/pack/
H A Dhuffman.h50 } Huff_t; typedef in typeref:struct:__anon178
52 Huff_t* huffinit(Sfio_t*,Sfoff_t);
53 Huff_t* huffgethdr(Sfio_t*);
54 int huffputhdr(Huff_t*,Sfio_t*);
55 Sfoff_t huffencode(Huff_t*,Sfio_t*,Sfio_t*,int);
56 Sfoff_t huffdecode(Huff_t*,Sfio_t*,Sfio_t*,int);
H A Dhuffgethdr.c33 Huff_t *huffgethdr(register Sfio_t *infile)
35 register Huff_t* hp;
38 if(!(hp=newof(0, Huff_t, 1, 0)))
41 return((Huff_t*)0);
90 return ((Huff_t*)0);
H A Dhuffinit.c44 Huff_t *huffinit(Sfio_t *infile, Sfoff_t insize)
49 register Huff_t *hp;
53 if(!(hp=newof(0, Huff_t, 1, 0)))
56 return((Huff_t*)0);
76 return((Huff_t*)0);
H A Dpack.c85 static void vprint(Huff_t*, int);
93 register Huff_t *hp;
138 hp = (Huff_t*)0;
222 static void vprint(Huff_t *hp,int dsize)
H A Dhuffputhdr.c35 int huffputhdr(register Huff_t *hp,Sfio_t *outfile)
H A Dunpack.c88 register Huff_t *hp;
144 hp = (Huff_t*)0;
H A Dhuffdecode.c54 static void decode_header(Huff_t *);
64 Sfoff_t huffdecode(register Huff_t *hp,Sfio_t *input,Sfio_t *output,int size)
167 static void decode_header(register Huff_t *hp)
H A Dhuffencode.c59 Sfoff_t huffencode(register Huff_t *hp,Sfio_t *infile,Sfio_t *outfile,int size)

Completed in 100 milliseconds