Lines Matching refs:wlen
223 uint wlen = cls->eol_num - cls->num; \
224 putnstr(buf + cls->num, wlen); \
232 uint wlen;
244 wlen = *eol_num - *num;
245 if (wlen > 1)
246 memmove(&buf[*num+1], &buf[*num], wlen-1);
249 putnstr(buf + *num, wlen);
251 while (--wlen)
255 wlen = 1;
257 putnstr(buf + *num, wlen);
306 uint wlen;
308 wlen = cls->eol_num - cls->num - 1;
309 if (wlen) {
311 wlen);
312 putnstr(buf + cls->num, wlen);
318 } while (wlen--);
333 uint base, wlen;
342 wlen = cls->num - base;
343 cls->eol_num -= wlen;
347 getcmd_putchars(wlen, CTL_BACKSPACE);
349 getcmd_putchars(wlen, ' ');
350 getcmd_putchars(wlen + cls->eol_num - cls->num,
363 uint wlen;
365 wlen = cls->eol_num - cls->num;
367 memmove(&buf[cls->num], &buf[cls->num + 1], wlen);
369 putnstr(buf + cls->num, wlen);
373 } while (wlen--);