Lines Matching refs:wlen
195 wlen = eol_num - num; \
196 putnstr(buf + num, wlen); \
204 unsigned long wlen; in cread_add_char() local
216 wlen = *eol_num - *num; in cread_add_char()
217 if (wlen > 1) in cread_add_char()
218 memmove(&buf[*num+1], &buf[*num], wlen-1); in cread_add_char()
221 putnstr(buf + *num, wlen); in cread_add_char()
223 while (--wlen) in cread_add_char()
227 wlen = 1; in cread_add_char()
229 putnstr(buf + *num, wlen); in cread_add_char()
249 unsigned long wlen; in cread_line() local
395 wlen = eol_num - num - 1; in cread_line()
396 if (wlen) { in cread_line()
397 memmove(&buf[num], &buf[num+1], wlen); in cread_line()
398 putnstr(buf + num, wlen); in cread_line()
404 } while (wlen--); in cread_line()
426 wlen = eol_num - num; in cread_line()
428 memmove(&buf[num], &buf[num+1], wlen); in cread_line()
430 putnstr(buf + num, wlen); in cread_line()
434 } while (wlen--); in cread_line()