Lines Matching defs:len
50 size_t len;
57 if ((len = uio->uio_resid) == 0)
70 len = iov->iov_len;
73 while (len == 0) { \
76 len = iov->iov_len; \
85 w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ));
89 len -= w;
106 (__SALC | __SSTR) && fp->_w < len) {
115 } while (_size < blen + len);
126 if (len < w)
127 w = len;
128 COPY(w); /* copy MIN(fp->_w,len), */
131 w = len; /* but pretend copied all */
132 } else if (fp->_p > fp->_bf._base && len > w) {
139 } else if (len >= (w = fp->_bf._size)) {
146 w = len;
152 len -= w;
160 * that the amount to write is MIN(len,nldist).
167 nl = memchr((void *)p, '\n', len);
168 nldist = nl ? nl + 1 - p : len + 1;
171 s = MIN(len, nldist);
196 len -= w;