Lines Matching defs:pax
23 * pax tp format
55 Pax_t* pax;
64 tp_done(Pax_t* pax, register Paxarchive_t* ap)
77 tp_getprologue(Pax_t* pax, Paxformat_t* fp, register Paxarchive_t* ap, Paxfile_t* f, unsigned char* buf, size_t size)
97 return paxnospace(pax);
98 if (paxread(pax, ap, NiL, PAX_BLOCK, 0, 0) != PAX_BLOCK || paxread(pax, ap, ar->dir, n, 0, 0) != n)
106 ar->pax = pax;
113 tp_getheader(Pax_t* pax, register Paxarchive_t* ap, register Paxfile_t* f)
151 tp_getdata(Pax_t* pax, register Paxarchive_t* ap, register Paxfile_t* f, int fd)
164 else if (sp = paxpart(pax, ap, f->st->st_size))
167 if ((n = sfread(sp, pax->buf, sizeof(pax->buf))) < 0)
169 (*pax->errorf)(NiL, pax, 2, "%s: %s: unexpected EOF", ap->name, f->name);
178 if (paxdata(pax, ap, f, fd, pax->buf, n))
181 if (skip && paxread(pax, ap, NiL, skip, 0, 0) != skip)
183 (*pax->errorf)(NiL, pax, 2, "%s: %s: cannot skip past %s format data", ap->name, f->name, ap->format->name);