HomeSort by: relevance | last modified time | path
    Searched defs:tocopy (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/external/bsd/unbound/dist/sldns/
sbuffer.c 153 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);
sbuffer.c 153 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);
str2wire.c 201 uint8_t* tocopy; local
204 tocopy = origin;
207 tocopy = prev;
211 tocopy = (uint8_t*)"\0";
216 memmove(rr, tocopy, *dname_len);
220 uint8_t* tocopy; local
223 tocopy = prev;
226 tocopy = origin;
229 tocopy = (uint8_t*)"\0";
234 memmove(rr, tocopy, *dname_len)
493 uint8_t* tocopy; local
    [all...]
str2wire.c 201 uint8_t* tocopy; local
204 tocopy = origin;
207 tocopy = prev;
211 tocopy = (uint8_t*)"\0";
216 memmove(rr, tocopy, *dname_len);
220 uint8_t* tocopy; local
223 tocopy = prev;
226 tocopy = origin;
229 tocopy = (uint8_t*)"\0";
234 memmove(rr, tocopy, *dname_len)
493 uint8_t* tocopy; local
    [all...]
  /src/lib/libc/stdio/
open_memstream.c 97 size_t tocopy; local
105 tocopy = ms->len - ms->offset;
106 if (len < tocopy)
107 tocopy = len;
108 memcpy(*ms->bufp + ms->offset, buf, tocopy);
109 ms->offset += tocopy;
112 fprintf(stderr, "MS: write(%p, %zu) = %zu\n", ms, len, tocopy);
114 return (ssize_t)tocopy;
open_memstream.c 97 size_t tocopy; local
105 tocopy = ms->len - ms->offset;
106 if (len < tocopy)
107 tocopy = len;
108 memcpy(*ms->bufp + ms->offset, buf, tocopy);
109 ms->offset += tocopy;
112 fprintf(stderr, "MS: write(%p, %zu) = %zu\n", ms, len, tocopy);
114 return (ssize_t)tocopy;
  /src/sys/opencrypto/
deflate.c 88 uint32_t count, result, tocopy; local
168 tocopy = MIN(count, buf[j].size);
170 KASSERT(tocopy || j == (i - 1));
171 memcpy(output, buf[j].out, tocopy);
172 output += tocopy;
174 count -= tocopy;
deflate.c 88 uint32_t count, result, tocopy; local
168 tocopy = MIN(count, buf[j].size);
170 KASSERT(tocopy || j == (i - 1));
171 memcpy(output, buf[j].out, tocopy);
172 output += tocopy;
174 count -= tocopy;
  /src/sys/arch/hpc/stand/hpcboot/
load.cpp 221 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;
load.cpp 221 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;
  /src/sys/kern/
subr_iostat.c 408 size_t tocopy, left; local
420 tocopy = offsetof(struct io_sysctl, busy);
422 tocopy = name[0];
425 *oldlenp = iostat_count * tocopy;
436 if (left < tocopy)
472 error = copyout(&sdrive, where, uimin(tocopy, sizeof(sdrive)));
475 where += tocopy;
476 *oldlenp += tocopy;
477 left -= tocopy;
subr_iostat.c 408 size_t tocopy, left; local
420 tocopy = offsetof(struct io_sysctl, busy);
422 tocopy = name[0];
425 *oldlenp = iostat_count * tocopy;
436 if (left < tocopy)
472 error = copyout(&sdrive, where, uimin(tocopy, sizeof(sdrive)));
475 where += tocopy;
476 *oldlenp += tocopy;
477 left -= tocopy;
  /src/sys/netinet/
accf_http.c 379 int tocopy; local
381 tocopy = (NCHRS - ccleft) - copied;
382 src = mtod(m, char *) + (m->m_len - tocopy);
384 while (tocopy--) {
accf_http.c 379 int tocopy; local
381 tocopy = (NCHRS - ccleft) - copied;
382 src = mtod(m, char *) + (m->m_len - tocopy);
384 while (tocopy--) {
  /src/sys/fs/ntfs/
ntfs_subr.c 1262 size_t tocopy; local
1306 tocopy = MIN(left, ntfs_cntob(1) - off);
1307 cl = ntfs_btocl(tocopy + off);
1308 KASSERT(cl == 1 && tocopy <= ntfs_cntob(1));
1312 (long long) off, (long long) tocopy,
1314 if ((off == 0) && (tocopy == ntfs_cntob(cl))) {
1326 uiomove((char *)bp->b_data + off, tocopy, uio);
1328 memcpy((char *)bp->b_data + off, data, tocopy);
1330 data = (char *)data + tocopy;
1331 *initp += tocopy;
1366 size_t tocopy; local
1428 tocopy); local
1552 off_t off, left, tocopy; local
    [all...]
ntfs_subr.c 1262 size_t tocopy; local
1306 tocopy = MIN(left, ntfs_cntob(1) - off);
1307 cl = ntfs_btocl(tocopy + off);
1308 KASSERT(cl == 1 && tocopy <= ntfs_cntob(1));
1312 (long long) off, (long long) tocopy,
1314 if ((off == 0) && (tocopy == ntfs_cntob(cl))) {
1326 uiomove((char *)bp->b_data + off, tocopy, uio);
1328 memcpy((char *)bp->b_data + off, data, tocopy);
1330 data = (char *)data + tocopy;
1331 *initp += tocopy;
1366 size_t tocopy; local
1428 tocopy); local
1552 off_t off, left, tocopy; local
    [all...]
  /src/external/bsd/libarchive/dist/libarchive/
archive_read.c 1324 size_t tocopy; local
1470 tocopy = (filter->buffer + filter->buffer_size)
1473 if (tocopy + filter->avail > min)
1474 tocopy = min - filter->avail;
1476 if (tocopy > filter->client_avail)
1477 tocopy = filter->client_avail;
1480 filter->client_next, tocopy);
1482 filter->client_next += tocopy;
1483 filter->client_avail -= tocopy;
1485 filter->avail += tocopy;
    [all...]
archive_read.c 1324 size_t tocopy; local
1470 tocopy = (filter->buffer + filter->buffer_size)
1473 if (tocopy + filter->avail > min)
1474 tocopy = min - filter->avail;
1476 if (tocopy > filter->client_avail)
1477 tocopy = filter->client_avail;
1480 filter->client_next, tocopy);
1482 filter->client_next += tocopy;
1483 filter->client_avail -= tocopy;
1485 filter->avail += tocopy;
    [all...]
  /src/external/gpl3/binutils/dist/binutils/
ar.c 1089 bfd_size_type tocopy = size - ncopied;
1091 if (tocopy > BUFSIZE)
1092 tocopy = BUFSIZE;
1094 nread = bfd_read (cbuf, tocopy, abfd);
1095 if (nread != tocopy)
1105 ncopied += tocopy;
1200 bfd_size_type nread, tocopy;
1202 tocopy = size - ncopied;
1203 if (tocopy > BUFSIZE)
1204 tocopy = BUFSIZE
1087 bfd_size_type tocopy = size - ncopied; local
1198 bfd_size_type nread, tocopy; local
    [all...]
ar.c 1089 bfd_size_type tocopy = size - ncopied;
1091 if (tocopy > BUFSIZE)
1092 tocopy = BUFSIZE;
1094 nread = bfd_read (cbuf, tocopy, abfd);
1095 if (nread != tocopy)
1105 ncopied += tocopy;
1200 bfd_size_type nread, tocopy;
1202 tocopy = size - ncopied;
1203 if (tocopy > BUFSIZE)
1204 tocopy = BUFSIZE
1087 bfd_size_type tocopy = size - ncopied; local
1198 bfd_size_type nread, tocopy; local
    [all...]
objcopy.c 1946 bfd_size_type tocopy;
1969 tocopy = BUFSIZE;
1971 tocopy = size;
1973 if (bfd_read (cbuf, tocopy, ibfd) != tocopy)
1980 if (bfd_write (cbuf, tocopy, obfd) != tocopy)
1987 size -= tocopy;
1944 bfd_size_type tocopy; local
objcopy.c 1946 bfd_size_type tocopy;
1969 tocopy = BUFSIZE;
1971 tocopy = size;
1973 if (bfd_read (cbuf, tocopy, ibfd) != tocopy)
1980 if (bfd_write (cbuf, tocopy, obfd) != tocopy)
1987 size -= tocopy;
1944 bfd_size_type tocopy; local
  /src/external/gpl3/binutils.old/dist/binutils/
ar.c 1112 bfd_size_type tocopy = size - ncopied;
1114 if (tocopy > BUFSIZE)
1115 tocopy = BUFSIZE;
1117 nread = bfd_read (cbuf, tocopy, abfd);
1118 if (nread != tocopy)
1128 ncopied += tocopy;
1223 bfd_size_type nread, tocopy;
1225 tocopy = size - ncopied;
1226 if (tocopy > BUFSIZE)
1227 tocopy = BUFSIZE
1109 bfd_size_type tocopy = size - ncopied; local
1220 bfd_size_type nread, tocopy; local
    [all...]
ar.c 1112 bfd_size_type tocopy = size - ncopied;
1114 if (tocopy > BUFSIZE)
1115 tocopy = BUFSIZE;
1117 nread = bfd_read (cbuf, tocopy, abfd);
1118 if (nread != tocopy)
1128 ncopied += tocopy;
1223 bfd_size_type nread, tocopy;
1225 tocopy = size - ncopied;
1226 if (tocopy > BUFSIZE)
1227 tocopy = BUFSIZE
1109 bfd_size_type tocopy = size - ncopied; local
1220 bfd_size_type nread, tocopy; local
    [all...]
objcopy.c 1937 bfd_size_type tocopy;
1960 tocopy = BUFSIZE;
1962 tocopy = size;
1964 if (bfd_read (cbuf, tocopy, ibfd) != tocopy)
1971 if (bfd_write (cbuf, tocopy, obfd) != tocopy)
1978 size -= tocopy;
1935 bfd_size_type tocopy; local

Completed in 60 milliseconds

1 2