Searched refs:tocopy (Results 1 - 11 of 11) sorted by last modified time

/freebsd-11-stable/contrib/unbound/sldns/
H A Dstr2wire.c200 uint8_t* tocopy; local
203 tocopy = origin;
206 tocopy = prev;
210 tocopy = (uint8_t*)"\0";
215 memmove(rr, tocopy, *dname_len);
219 uint8_t* tocopy; local
222 tocopy = prev;
225 tocopy = origin;
228 tocopy = (uint8_t*)"\0";
233 memmove(rr, tocopy, *dname_le
485 uint8_t* tocopy; local
[all...]
H A Dsbuffer.c153 size_t tocopy = sldns_buffer_limit(from); local
155 if(tocopy > sldns_buffer_capacity(result))
156 tocopy = sldns_buffer_capacity(result);
158 sldns_buffer_write(result, sldns_buffer_begin(from), tocopy);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read.c1326 size_t tocopy; local
1472 tocopy = (filter->buffer + filter->buffer_size)
1475 if (tocopy + filter->avail > min)
1476 tocopy = min - filter->avail;
1478 if (tocopy > filter->client_avail)
1479 tocopy = filter->client_avail;
1482 filter->client_next, tocopy);
1484 filter->client_next += tocopy;
1485 filter->client_avail -= tocopy;
1487 filter->avail += tocopy;
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c4647 size_t tocopy; local
4729 for (i = 0; len > 0; off += tocopy, len -= tocopy, i++) {
4730 tocopy = len > PAGE_SIZE ? PAGE_SIZE : len;
4732 dmu_write(zfsvfs->z_os, zp->z_id, off, tocopy, va, tx);
/freebsd-11-stable/sys/kern/
H A Dkern_umtx.c3421 int count, error, i, pos, tocopy; local
3425 for (count = uap->val, pos = 0; count > 0; count -= tocopy,
3426 pos += tocopy) {
3427 tocopy = MIN(count, BATCH_SIZE);
3428 error = copyin(upp + pos, uaddrs, tocopy * sizeof(char *));
3431 for (i = 0; i < tocopy; ++i)
4288 int count, error, i, pos, tocopy; local
4292 for (count = uap->val, pos = 0; count > 0; count -= tocopy,
4293 pos += tocopy) {
4294 tocopy
[all...]
/freebsd-11-stable/sys/netinet/
H A Dsctp_bsd_addr.c506 int tocopy, this_copy; local
510 tocopy = length;
H A Daccf_http.c318 int tocopy; local
320 tocopy = (NCHRS - ccleft) - copied;
321 src = mtod(m, char *) + (m->m_len - tocopy);
323 while (tocopy--) {
/freebsd-11-stable/contrib/ldns/
H A Dbuffer.c170 size_t tocopy = ldns_buffer_limit(from); local
172 if(tocopy > ldns_buffer_capacity(result))
173 tocopy = ldns_buffer_capacity(result);
175 ldns_buffer_write(result, ldns_buffer_begin(from), tocopy);
/freebsd-11-stable/contrib/binutils/binutils/
H A Dar.c803 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 Dobjcopy.c1252 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-11-stable/lib/libc/stdio/
H A Dopen_memstream.c93 ssize_t tocopy; local
98 tocopy = ms->len - ms->offset;
99 if (len < tocopy)
100 tocopy = len;
101 memcpy(*ms->bufp + ms->offset, buf, tocopy);
102 ms->offset += tocopy;
105 fprintf(stderr, "MS: write(%p, %d) = %zd\n", ms, len, tocopy);
107 return (tocopy);

Completed in 188 milliseconds