Lines Matching refs:len
33 while (len == 0) \
37 len = iov->iov_len; \
56 register size_t len; in _sfvwrite() local
63 if ((len = uio->uio_resid) == 0) in _sfvwrite()
71 len = 0; in _sfvwrite()
84 while (len > 0) in _sfvwrite()
89 len--; in _sfvwrite()
100 while (len > 0) in _sfvwrite()
105 len--; in _sfvwrite()
125 MIN (len, INT_MAX - INT_MAX % BUFSIZ)); in _sfvwrite()
129 len -= w; in _sfvwrite()
154 if (len >= (size_t) w && fp->_flags & (__SMBF | __SOPT)) in _sfvwrite()
166 if ((size_t) newsize < curpos + len + 1) in _sfvwrite()
167 newsize = curpos + len + 1; in _sfvwrite()
198 w = len; in _sfvwrite()
201 if (len < (size_t) w) in _sfvwrite()
202 w = len; in _sfvwrite()
206 w = len; /* but pretend copied all */ in _sfvwrite()
208 else if (fp->_p > fp->_bf._base || len < (size_t) fp->_bf._size) in _sfvwrite()
211 w = MIN (len, (size_t) w); in _sfvwrite()
221 w = ((int)MIN (len, INT_MAX)) / fp->_bf._size * fp->_bf._size; in _sfvwrite()
227 len -= w; in _sfvwrite()
247 nl = memchr ((void *) p, '\n', len); in _sfvwrite()
248 nldist = nl ? nl + 1 - p : (int) (len + 1); in _sfvwrite()
251 s = MIN (len, (size_t) nldist); in _sfvwrite()
282 len -= w; in _sfvwrite()