Lines Matching defs:nread
141 size_t buf_size, nread, psize, dsize;
157 ISO_DEFAULT_BLOCK_SIZE, buf, &nread);
160 if (nread != ISO_DEFAULT_BLOCK_SIZE) {
188 buf_size, buf, &nread);
191 if (nread != buf_size) {
245 buf, &nread);
248 if (nread != ISO_DEFAULT_BLOCK_SIZE) {
317 size_t nread, off;
333 ISO_DEFAULT_BLOCK_SIZE, dp, &nread);
336 if (nread != ISO_DEFAULT_BLOCK_SIZE)
341 if (nread > off + size)
342 nread = off + size;
343 nread -= off;
345 if (nread > nr)
346 nread = nr;
347 memcpy(start, buf + off, nread);
348 start = (char *)start + nread;
349 fp->off += (off_t)nread;
350 size -= nread;