Lines Matching refs:len
51 int len, r;
65 if ((len = fp->f_r) <= 0)
80 len = fp->f_r;
91 if (len > n)
92 len = n;
93 t = (unsigned char *) memchr((void *) p, '\n', len);
96 len = ++t - p;
97 r += len;
98 fp->f_r -= len;
100 (void) memcpy((void *) s, (void *) p, len);
101 s[len] = 0;
104 fp->f_r -= len;
105 fp->f_p += len;
106 (void) memcpy((void *) s, (void *) p, len);
107 s += len;
108 r += len;
109 n -= len;