Lines Matching refs:len
47 while (len == 0) \
51 len = iov->iov_len; \
61 register size_t len;
84 len = iov->iov_len;
93 w = (*fp->f_write)(fp, p, SM_MIN(len, SM_IO_BUFSIZ));
108 len -= w;
132 && (size_t) fp->f_w < len)
143 } while ((size_t) tsize < blen + len);
160 if (len < (size_t) w)
161 w = len;
162 COPY(w); /* copy SM_MIN(fp->f_w,len), */
165 w = len; /* but pretend copied all */
168 && len > (size_t) w)
176 else if (len >= (size_t) (w = fp->f_bf.smb_size))
195 w = len;
201 len -= w;
214 ** that the amount to write is SM_MIN(len,nldist).
224 nl = memchr((void *)p, '\n', len);
225 nldist = nl != NULL ? nl + 1 - p : len + 1;
228 s = SM_MIN(len, ((size_t) nldist));
269 len -= w;