/ast/src/cmd/pax/ |
H A D | pax-rpm.c | 98 paxread(pax, ap, NiL, (off_t)sizeof(magic), (off_t)sizeof(magic), 0); 99 if (paxread(pax, ap, &lead_old, (off_t)sizeof(lead_old), (off_t)sizeof(lead_old), 0) <= 0) 113 paxread(pax, ap, NiL, (off_t)sizeof(magic), (off_t)sizeof(magic), 0); 114 if (paxread(pax, ap, &lead, (off_t)sizeof(lead), (off_t)sizeof(lead), 0) <= 0) 133 if (paxread(pax, ap, NiL, (off_t)num, (off_t)num, 0) <= 0) 142 if (paxread(pax, ap, zip, (off_t)sizeof(zip), (off_t)sizeof(zip), 0) <= 0) 166 if (paxread(pax, ap, NiL, (off_t)num, (off_t)num, 0) <= 0) 173 if (paxread(pax, ap, &verify, (off_t)sizeof(verify), (off_t)sizeof(verify), 0) <= 0) 195 if (paxread(pax, ap, &head, (off_t)sizeof(head), (off_t)sizeof(head), 0) <= 0) 204 if (paxread(pa [all...] |
H A D | pax-mime.c | 46 if (paxread(pax, ap, s, (off_t)0, (off_t)MIME_HEADER, 0) <= 0) 64 paxread(pax, ap, NiL, (off_t)0, n, 0); 91 if (paxread(pax, ap, s = state.tmp.buffer, mime->length + 2, mime->length + 2, 1) <= 0 || memcmp(s, mime->magic, mime->length)) 95 while (paxread(pax, ap, s, 1, 1, 1) > 0 && *s != '\n'); 106 if (paxread(pax, ap, s, 1, 1, 1) <= 0)
|
H A D | paxlib.c | 37 #undef paxread macro 69 paxread(Pax_t* pax, Paxarchive_t* ap, void* b, off_t n, off_t m, int must) function 159 if ((r = paxread(part->pax, part->ap, buf, n, 0, 0)) > 0) 227 pax->readf = paxread;
|
H A D | pax-cpio.c | 281 paxread(pax, ap, f->name, (off_t)0, (off_t)(f->namesize + align), 1); 322 while (paxread(pax, ap, s, (off_t)1, (off_t)1, 1) > 0) 357 if (paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)CPIO_HEADER, 0) <= 0) 490 if (f->st->st_size == f->linkpathsize && paxread(pax, ap, state.tmp.buffer, (off_t)0, n = f->st->st_size + 6, 0) > 0) 527 if (paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)ASC_HEADER, 0) <= 0) 609 if (paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)ASC_HEADER, 0) <= 0) 722 if (paxread(pax, ap, &hdr, (off_t)BINARY_HEADER, (off_t)BINARY_HEADER, 0) <= 0)
|
H A D | pax-tnef.c | 47 if ((ap->swap = swapop(&magic, buf, 4)) < 0 || paxread(pax, ap, NiL, (off_t)6, (off_t)6, 0) != 6) 84 while (paxread(pax, ap, s = state.tmp.buffer, (off_t)0, (off_t)9, 0) > 0)
|
H A D | pax-slt.c | 118 if (slt->done || (c = paxread(pax, ap, slt->buf, (off_t)HDR_SIZE, (off_t)LABEL_MAX, 0)) < HDR_SIZE) 124 if (ap->io->blocked || paxread(pax, ap, slt->buf + HDR_SIZE, (off_t)0, (off_t)c, 1) != c) 390 n = paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)state.buffersize, 0); 397 n = paxread(pax, ap, state.tmp.buffer, (off_t)0, m, 1); 400 n = paxread(pax, ap, NiL, (off_t)0, m, 1); 894 else if (paxread(pax, f->ap, state.tmp.buffer, (off_t)0, (off_t)m, 1) <= 0)
|
H A D | paxlib.h | 237 #define paxread(p,a,b,n,m,f) (*(p)->readf)(p,a,b,n,m,f) macro
|
H A D | pax-saveset.c | 90 if (paxread(pax, ap, ss->bp, (off_t)0, (off_t)state.blocksize, 0) <= 0)
|
H A D | pax-tar.c | 546 if (paxread(pax, ap, &tar->header, (off_t)0, (off_t)TAR_HEADER, 0) <= 0)
|
/ast/src/cmd/paxlib/tp/ |
H A D | tp.c | 98 if (paxread(pax, ap, NiL, PAX_BLOCK, 0, 0) != PAX_BLOCK || paxread(pax, ap, ar->dir, n, 0, 0) != n) 181 if (skip && paxread(pax, ap, NiL, skip, 0, 0) != skip)
|
/ast/src/cmd/paxlib/zoo/ |
H A D | zoo.c | 145 if (paxread(pax, ap, name, sizeof(name) - 1, 0, 1) != (sizeof(name) - 1)) 186 else if (paxread(pax, ap, f->name + extdir, extname, 0, 1) != extname) 192 if (paxread(pax, ap, f->name, extdir, 0, 1) != extdir)
|
/ast/src/cmd/paxlib/zip/ |
H A D | zip.c | 175 if (paxread(pax, ap, mem->name, (off_t)n, (off_t)0, 0) <= 0) 184 if (ext && paxread(pax, ap, NiL, (off_t)ext, (off_t)0, 0) <= 0) 190 if (com && paxread(pax, ap, NiL, (off_t)com, (off_t)0, 0) <= 0) 288 if (paxread(pax, ap, NiL, (off_t)ZIP_EXT_HEADER, (off_t)0, 0) <= 0)
|
/ast/src/cmd/paxlib/ico/ |
H A D | ico.c | 107 if (paxread(pax, ap, ico->dir, n, n, 0) <= 0)
|
/ast/src/cmd/paxlib/lha/ |
H A D | lha.c | 110 if (paxread(pax, ap, ss, sizeof(ss), 0, 0) != sizeof(ss) || !(hdr = paxget(pax, ap, n = ss[0], NiL)) || lha_method(hdr))
|
/ast/src/cmd/paxlib/calib/ |
H A D | calib.c | 294 else if (paxread(pax, ap, hdr, (off_t)sizeof(hdr), (off_t)sizeof(hdr), 0) <= 0) 315 if (paxread(pax, ap, blk, (off_t)sizeof(blk), (off_t)sizeof(blk), 0) <= 0) 323 if (paxread(pax, ap, dir, (off_t)sizeof(dir), (off_t)sizeof(dir), 0) <= 0)
|