/freebsd-9.3-release/lib/libc/stdio/ |
H A D | open_memstream.c | 90 ssize_t tocopy; local 95 tocopy = ms->len - ms->offset; 96 if (len < tocopy) 97 tocopy = len; 98 memcpy(*ms->bufp + ms->offset, buf, tocopy); 99 ms->offset += tocopy; 102 fprintf(stderr, "MS: write(%p, %d) = %zd\n", ms, len, tocopy); 104 return (tocopy);
|
/freebsd-9.3-release/contrib/libarchive/libarchive/ |
H A D | archive_write_set_compression_gzip.c | 293 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 D | archive_write_set_compression_bzip2.c | 256 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 D | archive_write_set_compression_xz.c | 289 unsigned tocopy; local 305 tocopy = a->bytes_per_block - 307 while (tocopy > 0 && tocopy < (unsigned)a->bytes_per_block) { 309 state->stream.avail_in = tocopy < a->null_length ? 310 tocopy : a->null_length; 312 tocopy -= state->stream.avail_in;
|
H A D | archive_write_set_compression_compress.c | 428 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 D | archive_read.c | 960 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...] |
/freebsd-9.3-release/sys/fs/ntfs/ |
H A D | ntfs_subr.c | 1432 size_t tocopy; local 1477 tocopy = MIN(left, ntfs_cntob(1) - off); 1478 cl = ntfs_btocl(tocopy + off); 1479 KASSERT(cl == 1 && tocopy <= ntfs_cntob(1), 1484 (u_int32_t) off, (u_int32_t) tocopy, 1486 if ((off == 0) && (tocopy == ntfs_cntob(cl))) 1502 uiomove(bp->b_data + off, tocopy, uio); 1504 memcpy(bp->b_data + off, data, tocopy); 1506 data = data + tocopy; 1507 *initp += tocopy; 1548 size_t tocopy; local 1749 off_t off = roff, left = rsize, tocopy; local [all...] |
/freebsd-9.3-release/sys/netinet/ |
H A D | accf_http.c | 317 int tocopy; local 319 tocopy = (NCHRS - ccleft) - copied; 320 src = mtod(m, char *) + (m->m_len - tocopy); 322 while (tocopy--) {
|
H A D | sctp_bsd_addr.c | 519 int tocopy, this_copy; local 523 tocopy = length;
|
/freebsd-9.3-release/contrib/binutils/binutils/ |
H A D | ar.c | 803 size_t tocopy = size - ncopied; 804 if (tocopy > BUFSIZE) 805 tocopy = BUFSIZE; 807 nread = bfd_bread (cbuf, (bfd_size_type) tocopy, abfd); 808 if (nread != tocopy) 818 ncopied += tocopy; 838 size_t nread, tocopy; 871 tocopy = size - ncopied; 872 if (tocopy > BUFSIZE) 873 tocopy 800 size_t tocopy = size - ncopied; local 835 size_t nread, tocopy; local [all...] |
H A D | objcopy.c | 1252 int tocopy; 1285 tocopy = size - ncopied; 1286 if (tocopy > BUFSIZE) 1287 tocopy = BUFSIZE; 1289 if (bfd_bread (cbuf, (bfd_size_type) tocopy, ibfd) 1290 != (bfd_size_type) tocopy) 1297 if (bfd_bwrite (cbuf, (bfd_size_type) tocopy, obfd) 1298 != (bfd_size_type) tocopy) 1305 ncopied += tocopy; 1250 int tocopy; local
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_umtx.c | 3273 int tocopy; local 3278 tocopy = count; 3279 if (tocopy > BATCH_SIZE) 3280 tocopy = BATCH_SIZE; 3281 error = copyin(upp+pos, uaddrs, tocopy * sizeof(char *)); 3284 for (i = 0; i < tocopy; ++i) 3286 count -= tocopy; 3287 pos += tocopy; 3710 int tocopy; local 3715 tocopy [all...] |
H A D | uipc_syscalls.c | 1112 unsigned int tocopy; local 1115 tocopy = m->m_len; 1118 tocopy = len; 1122 ctlbuf, tocopy)) != 0) 1125 ctlbuf += tocopy; 1126 len -= tocopy;
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 5804 size_t tocopy; local 5894 for (i = 0; len > 0; off += tocopy, len -= tocopy, i++) { 5895 tocopy = len > PAGE_SIZE ? PAGE_SIZE : len; 5897 dmu_write(zfsvfs->z_os, zp->z_id, off, tocopy, va, tx);
|