/src/sys/opencrypto/ |
deflate.c | 87 u_int32_t count, result, tocopy; local in function:deflate_global 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;
|
/src/lib/libc/stdio/ |
open_memstream.c | 97 size_t tocopy; local in function:memstream_write 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/arch/hpc/stand/hpcboot/ |
load.cpp | 221 vsize_t tocopy = (remsz < _tpsz) ? remsz : _tpsz; local in function:Loader::_load_memory 222 memcpy((void *)v, data, tocopy); 225 _pvec_prev->sz = tocopy; 231 data = (char *)data + tocopy; 232 dst += tocopy; 233 remsz -= tocopy;
|
/src/sys/netinet/ |
accf_http.c | 379 int tocopy; local in function:soishttpconnected 381 tocopy = (NCHRS - ccleft) - copied; 382 src = mtod(m, char *) + (m->m_len - tocopy); 384 while (tocopy--) {
|
/src/sys/kern/ |
subr_iostat.c | 405 size_t tocopy, left; local in function:sysctl_hw_iostats 417 tocopy = offsetof(struct io_sysctl, busy); 419 tocopy = name[0]; 422 *oldlenp = iostat_count * tocopy; 433 if (left < tocopy) 469 error = copyout(&sdrive, where, uimin(tocopy, sizeof(sdrive))); 472 where += tocopy; 473 *oldlenp += tocopy; 474 left -= tocopy;
|
/src/sys/fs/ntfs/ |
ntfs_subr.c | 1262 size_t tocopy; local in function:ntfs_writentvattr_plain 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 in function:ntfs_readntvattr_plain 1552 off_t off, left, tocopy; local in function:ntfs_readattr [all...] |