Lines Matching refs:buffer
89 char opsbuf[PATH_MAX]; /* extended ops buffer */
357 if (paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)CPIO_HEADER, 0) <= 0)
359 state.tmp.buffer[CPIO_HEADER] = 0;
360 if (state.tmp.buffer[0] == '0' && sfsscanf(state.tmp.buffer, "%6o%6lo%6lo%6lo%6lo%6lo%6lo%6lo%11lo%6o%11I*o",
384 paxunread(pax, ap, state.tmp.buffer, CPIO_HEADER);
440 sfsprintf(state.tmp.buffer, state.tmp.buffersize, "%0.6lo%0.6lo%0.6lo%0.6lo%0.6lo%0.6lo%0.6lo%0.6lo%0.11lo%0.6o%0.11I*o",
452 paxwrite(pax, ap, state.tmp.buffer, CPIO_HEADER);
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)
492 paxunread(pax, ap, state.tmp.buffer, n);
493 state.tmp.buffer[6] = 0;
494 state.tmp.buffer[n] = 0;
495 if (strtol(state.tmp.buffer, NiL, 8) == CPIO_MAGIC && strtol(state.tmp.buffer + f->st->st_size, NiL, 8) != CPIO_MAGIC)
527 if (paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)ASC_HEADER, 0) <= 0)
529 state.tmp.buffer[ASC_HEADER] = 0;
530 if (state.tmp.buffer[0] == '0' && sfsscanf(state.tmp.buffer, "%6o%8lx%8lx%8lx%8lx%8lx%8lx%8I*x%8lx%8lx%8lx%8lx%8x%8lx",
558 paxunread(pax, ap, state.tmp.buffer, ASC_HEADER);
571 sfsprintf(state.tmp.buffer, state.tmp.buffersize, "%0.6lo%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx%0.8lx",
586 paxwrite(pax, ap, state.tmp.buffer, ASC_HEADER);
609 if (paxread(pax, ap, state.tmp.buffer, (off_t)0, (off_t)ASC_HEADER, 0) <= 0)
611 state.tmp.buffer[ASC_HEADER] = 0;
612 if (state.tmp.buffer[0] == '0' && sfsscanf(state.tmp.buffer, "%6o%8lx%8lx%8lx%8lx%8lx%8lx%8I*x%8lx%8lx%8lx%8lx%8x%8lx",
640 paxunread(pax, ap, state.tmp.buffer, ASC_HEADER);
726 memcpy(state.tmp.buffer, &hdr, BINARY_HEADER);
744 paxunread(pax, ap, state.tmp.buffer, CPIO_HEADER);