Searched refs:tocopy (Results 1 - 13 of 13) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_set_compression_gzip.c293 unsigned tocopy; local
310 tocopy = a->bytes_per_block -
312 while (tocopy > 0 && tocopy < (unsigned)a->bytes_per_block) {
314 state->stream.avail_in = tocopy < a->null_length ?
315 tocopy : a->null_length;
319 tocopy -= state->stream.avail_in;
341 tocopy = 8;
342 if (tocopy > state->stream.avail_out)
343 tocopy
[all...]
H A Darchive_write_set_compression_bzip2.c256 unsigned tocopy; local
272 tocopy = a->bytes_per_block -
274 while (tocopy > 0 && tocopy < (unsigned)a->bytes_per_block) {
276 state->stream.avail_in = tocopy < a->null_length ?
277 tocopy : a->null_length;
279 tocopy -= state->stream.avail_in;
H A Darchive_write_set_compression_xz.c288 unsigned tocopy; local
304 tocopy = a->bytes_per_block -
306 while (tocopy > 0 && tocopy < (unsigned)a->bytes_per_block) {
308 state->stream.avail_in = tocopy < a->null_length ?
309 tocopy : a->null_length;
311 tocopy -= state->stream.avail_in;
H A Darchive_write_set_compression_compress.c428 size_t tocopy; local
442 tocopy = a->bytes_per_block -
444 if (tocopy > a->null_length)
445 tocopy = a->null_length;
447 tocopy);
H A Darchive_read.c960 size_t tocopy; local
1096 tocopy = (filter->buffer + filter->buffer_size)
1099 if (tocopy + filter->avail > min)
1100 tocopy = min - filter->avail;
1102 if (tocopy > filter->client_avail)
1103 tocopy = filter->client_avail;
1106 tocopy);
1108 filter->client_next += tocopy;
1109 filter->client_avail -= tocopy;
1111 filter->avail += tocopy;
[all...]
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsubr_iostat.c325 size_t tocopy, left; local
337 tocopy = offsetof(struct io_sysctl, busy);
339 tocopy = name[0];
342 *oldlenp = iostat_count * tocopy;
353 if (left < tocopy)
371 error = copyout(&sdrive, where, min(tocopy, sizeof(sdrive)));
374 where += tocopy;
375 *oldlenp += tocopy;
376 left -= tocopy;
/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/hpcboot/
H A Dload.cpp221 vsize_t tocopy = (remsz < _tpsz) ? remsz : _tpsz; local
222 memcpy((void *)v, data, tocopy);
225 _pvec_prev->sz = tocopy;
231 data = (char *)data + tocopy;
232 dst += tocopy;
233 remsz -= tocopy;
/netbsd-6-1-5-RELEASE/sys/fs/ntfs/
H A Dntfs_subr.c1494 size_t tocopy; local
1539 tocopy = MIN(left, ntfs_cntob(1) - off);
1540 cl = ntfs_btocl(tocopy + off);
1541 KASSERT(cl == 1 && tocopy <= ntfs_cntob(1));
1545 (long long) off, (long long) tocopy,
1547 if ((off == 0) && (tocopy == ntfs_cntob(cl)))
1562 uiomove((char *)bp->b_data + off, tocopy, uio);
1564 memcpy((char *)bp->b_data + off, data, tocopy);
1566 data = (char *)data + tocopy;
1567 *initp += tocopy;
1608 size_t tocopy; local
1672 tocopy); local
1811 off_t off = roff, left = rsize, tocopy; local
[all...]
/netbsd-6-1-5-RELEASE/sys/opencrypto/
H A Ddeflate.c87 u_int32_t count, result, tocopy; local
167 tocopy = MIN(count, buf[j].size);
169 KASSERT(tocopy || j == (i - 1));
170 memcpy(output, buf[j].out, tocopy);
171 output += tocopy;
173 count -= tocopy;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dar.c835 size_t tocopy = size - ncopied;
836 if (tocopy > BUFSIZE)
837 tocopy = BUFSIZE;
839 nread = bfd_bread (cbuf, (bfd_size_type) tocopy, abfd);
840 if (nread != tocopy)
850 ncopied += tocopy;
870 size_t nread, tocopy;
903 tocopy = size - ncopied;
904 if (tocopy > BUFSIZE)
905 tocopy
832 size_t tocopy = size - ncopied; local
867 size_t nread, tocopy; local
[all...]
H A Dobjcopy.c1349 int tocopy;
1382 tocopy = size - ncopied;
1383 if (tocopy > BUFSIZE)
1384 tocopy = BUFSIZE;
1386 if (bfd_bread (cbuf, (bfd_size_type) tocopy, ibfd)
1387 != (bfd_size_type) tocopy)
1394 if (bfd_bwrite (cbuf, (bfd_size_type) tocopy, obfd)
1395 != (bfd_size_type) tocopy)
1402 ncopied += tocopy;
1347 int tocopy; local
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Daccf_http.c388 int tocopy; local
390 tocopy = (NCHRS - ccleft) - copied;
391 src = mtod(m, char *) + (m->m_len - tocopy);
393 while (tocopy--) {
/netbsd-6-1-5-RELEASE/sys/arch/amd64/amd64/
H A Dmachdep.c652 int onstack, tocopy, error; local
683 tocopy = sizeof (struct sigframe_siginfo);
685 tocopy = sizeof (struct sigframe_siginfo) -
700 error = copyout(&frame, fp, tocopy);

Completed in 202 milliseconds