| /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/nativeclient/ |
| randombytes_nativeclient.c | 20 size_t toread = size; local 26 while (toread > (size_t) 0U) { 31 toread -= readnb;
|
| /src/sys/rump/fs/lib/libsyspuffs/ |
| puffs_rumpglue.c | 131 size_t toread; local 145 toread = sizeof(struct putter_hdr); 150 iov.iov_len = toread; 159 toread = phdr->pth_framelen - off; 161 toread = off - sizeof(struct putter_hdr); 162 } while (toread);
|
| /src/sys/arch/hpc/stand/hpcboot/ |
| file_manager.cpp | 202 size_t toread = toskip; local 203 if (toread > DUMMYBUFSIZE) 204 toread = DUMMYBUFSIZE; 206 size_t nread = _read(dummybuf, toread); 213 if (nread != toread)
|
| /src/sys/fs/ntfs/ |
| ntfs_vnops.c | 120 u_int64_t toread; local 131 toread = 0; 133 toread = MIN(uio->uio_resid, fp->f_size - uio->uio_offset ); 135 dprintf((", toread: %qu\n",(long long)toread)); 137 if (toread == 0) 141 fp->f_attrname, uio->uio_offset, toread, NULL, uio); 309 u_int32_t toread; local 315 toread = MIN(bp->b_bcount, 317 dprintf(("ntfs_strategy: toread: %d, fsize: %d\n" [all...] |
| ntfs_subr.c | 1484 off_t off = roff, left = rsize, toread; local 1494 toread = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off); 1496 (long long) off, (long long) toread, 1501 toread, data, &init, uio); 1505 (long long) off, (long long) toread); 1513 left -= toread; 1514 off += toread; 1515 data = (char *)data + toread;
|
| /src/tests/fs/common/ |
| fstest_puffs.c | 162 size_t toread; local 182 toread = sizeof(struct putter_hdr); 183 assert(toread < BUFSIZE); 185 n = xread(comfd, buf+off, toread); 193 toread = phdr->pth_framelen - off; 195 toread = off - sizeof(struct putter_hdr); 196 } while (toread);
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| zap_leaf.c | 384 int toread = MIN(array_numints - bseen, ZAP_LEAF_ARRAY_BYTES); local 386 if (bcmp(la->la_array, (char *)zn->zn_key_orig + bseen, toread)) 389 bseen += toread;
|
| /src/external/gpl2/groff/dist/src/utils/tfmtodit/ |
| tfmtodit.cpp | 293 int toread = lf*4 - 2; local 294 unsigned char *buf = new unsigned char[toread]; 295 if (fread(buf, 1, toread, fp) != (size_t)toread) {
|
| /src/external/gpl2/xcvs/dist/src/ |
| client.c | 1487 size_t toread; 1529 toread = usize - nread; 1530 if (toread > sizeof buf) 1531 toread = sizeof buf; 1533 nread += try_read_from_server (buf, toread); 2838 size_t toread; 2855 toread = size - totalread; 2856 if (toread > sizeof buf) 2857 toread = sizeof buf; 2859 nread = try_read_from_server (buf, toread); 1486 size_t toread; local 2837 size_t toread; local [all...] |
| server.c | 1630 size_t toread = size; local 1638 while (toread > 0) 1644 status = buf_read_data (buf_from_net, toread, &data, &nread); 1670 toread -= nread; 2468 size_t toread; local 2596 status = buf_input_data (buf_from_primary, &toread); 2605 while (buf_clientlog && toread > 0) 2607 s = buf_read_data (buf_clientlog, toread, &data, &got); 2624 * BUF_FROM_PRIMARY (see how TOREAD is set above). 2655 toread -= got [all...] |