/ast/src/lib/libpz/ |
H A D | pzip.h | 93 struct Pz_s; typedef struct Pz_s Pz_t; typedef in typeref:struct:Pz_s 102 typedef ssize_t (*Pzconvert_f)(Pz_t*, Pzconvert_t*, const unsigned char*, unsigned char*, Pzdisc_t*); 103 typedef int (*Pzevent_f)(Pz_t*, int, void*, size_t, Pzdisc_t*); 104 typedef int (*Pzindex_f)(Pz_t*, Pzindex_t*, void*, Pzdisc_t*); 105 typedef const char* (*Pzinit_f)(Pz_t*, Pzdisc_t*); 106 typedef char* (*Pzname_f)(Pz_t*, unsigned long, Pzdisc_t*); 107 typedef Pzsplit_t* (*Pzsplit_f)(Pz_t*, Sfio_t*, Pzdisc_t*); 108 typedef ssize_t (*Pzread_f)(Pz_t*, Sfio_t*, void*, Pzdisc_t*); 109 typedef ssize_t (*Pzwrite_f)(Pz_t*, Sfio_t*, const void*, Pzdisc_t*); 247 extern const char* pz_init(Pz_t*, Pzdisc_ [all...] |
H A D | pzlib.h | 132 Pz_t* pz; /* pz initialized for dll */ 160 #define PZ_HANDLE 0x02000000 /* sfdcpzip() sp arg is Pz_t */ 164 #define PZ_AGAIN 0x20000000 /* path arg is Pz_t */ 223 extern int pznospace(Pz_t*); 224 extern int pzsdeflate(Pz_t*, Sfio_t*); 225 extern int pzsinflate(Pz_t*, Sfio_t*); 226 extern int pzssplit(Pz_t*);
|
H A D | pzinit.c | 29 pzinit(register Pz_t* pz, register const char* name, Pzinit_f initf)
|
H A D | sfdcpzip.c | 42 Pz_t* pz; /* pz handle */ 82 return (*((Pz_t**)val) = pz->pz) ? 1 : -1; 129 Pz_t* oz; 133 oz = (Pz_t*)sp;
|
H A D | pzopen.c | 39 Pz_t* pz = (Pz_t*)((char*)disc - offsetof(Pz_t, vmdisc)); 64 pzfind(Pz_t* pz, const char* file, const char* suffix, const char* mode) 91 Pz_t* 94 register Pz_t* pz; 100 pz = (Pz_t*)path; 108 if (!(pz = vmnewof(vm, 0, Pz_t, 1, 0)) || !(pz->tmp = sfstropen()) || !(pz->str = sfstropen()) || (flags & PZ_WRITE) && !(pz->det = sfstropen())) 233 pzclose(register Pz_t* pz) 394 pznospace(Pz_t* p [all...] |
H A D | pzhead.c | 33 pzheadread(register Pz_t* pz) 148 pzheadwrite(Pz_t* pz, Sfio_t* op) 230 pzheadprint(register Pz_t* pz, register Sfio_t* op, int parts) 292 pzfile(Pz_t* pz)
|
H A D | pzlib.c | 31 pzlib(register Pz_t* pz, register const char* name, int ignore)
|
H A D | pzpart.c | 57 pzpartget(Pz_t* pz, const char* name) 73 pzpartnext(Pz_t* pz, Pzpart_t* pp) 86 pzpartset(Pz_t* pz, Pzpart_t* pp) 107 range(Pz_t* pz, register Pzpart_t* pp, char* s, char** p, int* beg, int* end) 170 value(Pz_t* pz, char* s, char** p) 200 fixed(Pz_t* pz, register Pzpart_t* pp, int n, int m, int k) 229 pzpartmap(Pz_t* pz, register Pzpart_t* pp) 272 pzpartinit(Pz_t* pz, Pzpart_t* pp, const char* name) 432 pzoptions(register Pz_t* pz, register Pzpart_t* pp, char* options, int must) 674 partline(Pz_t* p [all...] |
H A D | pzfixed.c | 45 pzfixed(Pz_t* pz, register Sfio_t* io, void* buf, size_t z)
|
H A D | pzinflate.c | 29 restore(register Pz_t* pz, Pzpart_t* pp, register Sfio_t* ip, Sfio_t* op, register unsigned char* pat, register unsigned char* buf, size_t row, size_t m, register size_t* map, register unsigned char** mix, register size_t* inc) 74 pzinflate(register Pz_t* pz, Sfio_t* op)
|
H A D | pzconvert.c | 118 cvtread(Pz_t* pz, Sfio_t* sp, void* data, Pzdisc_t* disc) 167 cvtwrite(Pz_t* pz, Sfio_t* sp, const void* data, Pzdisc_t* disc) 216 closure(Pz_t* pz, Chain_t* cp, int n, Pzconvert_t* tab, unsigned char* hit, Pzconvert_t** stk, int i, int j, const char* to) 257 chain(Pz_t* pz, Pzconvert_t* tab, int n, const char* f, const char* t) 345 cvtevent(Pz_t* pz, int op, void* data, size_t size, Pzdisc_t* disc) 361 Pz_t* iz; 677 pzdcconvert(Pz_t* pz, const Pzconvert_t* conversions)
|
H A D | pzsplit.c | 58 Pz_t* pz; 66 Pz_t* pz; 291 deflate(Pz_t* pz, Sfio_t* op) 482 inflate(Pz_t* pz, Sfio_t* op) 687 pzsdeflate(Pz_t* pz, Sfio_t* op) 698 pzsinflate(Pz_t* pz, Sfio_t* op) 709 pzssplit(Pz_t* pz)
|
H A D | pzsync.c | 29 pzsync(register Pz_t* pz)
|
H A D | pzread.c | 30 pzread(register Pz_t* pz, void* buf, size_t z)
|
H A D | pzwrite.c | 32 pzwrite(register Pz_t* pz, Sfio_t* op, const void* buf, size_t n)
|
H A D | pzdeflate.c | 29 pzdeflate(register Pz_t* pz, Sfio_t* op)
|
/ast/src/cmd/pzip/ |
H A D | pop.c | 139 gather(register Pz_t* pz, register Pzpart_t* pp, Sfio_t* sp, register Info_t* ip, size_t* map, size_t m) 185 cut(register Pz_t* pz, register Pzpart_t* pp, int op, register size_t* map, size_t m) 235 label(register Pz_t* pz, Pzpart_t* pp, int op, register size_t* map, size_t m, char* format) 360 info(register Pz_t* pz, register Pzpart_t* pp, int op, register size_t* map, size_t m) 461 register Pz_t* pz;
|
H A D | pzip.c | 86 " \bint pz_init(Pz_t* pz, Pzdisc_t* disc)\b" 198 register Pz_t* pz;
|
H A D | pin.c | 527 filter(Sfio_t* ip, unsigned char** bufp, unsigned char** datp, Pz_t* pz, int high, int maxhigh, size_t row, size_t tot) 1465 Pz_t* pz = 0;
|