Lines Matching refs:len

66 	size_t len, notused;
96 p = msg_cat(sp, msg, &len);
98 (void)gp->scr_addstr(sp, p, len);
164 size_t len, mlen, oldx, oldy;
201 mlen = len = strlen(m1);
202 if (len > sp->cols - 2)
203 mlen = len = sp->cols - 2;
206 len = 0;
209 if (len + mlen > sp->cols - 2)
210 mlen = (sp->cols - 2) - len;
231 vs_msg(SCR *sp, mtype_t mtype, char *line, size_t len)
288 (void)printf("%.*s", (int)len, line);
302 (void)vs_msgsave(sp, mtype, line, len);
311 vs_output(sp, mtype, line, len);
319 if (line[len - 1] == '\n')
320 --len;
347 if (len + vip->lcontinue + padding > maxcols)
355 for (; len > 0 && isblank(*s); --len, ++s);
356 if (len == 0)
358 if (len + vip->lcontinue > maxcols) {
366 e = t = s + len;
372 len -= t - s;
373 if (len == 0 && (e - s) > 1 && s[(e - s) - 1] == '.')
377 if (len != 0)
398 int len, rlen, tlen;
407 len = llen;
409 len = p - line;
415 if (len + vip->lcontinue > sp->cols)
416 len = sp->cols - vip->lcontinue;
465 for (t = line, tlen = len; tlen--; ++t) {
489 line += len;
490 llen -= len;
685 gp->scr_msg(sp, mp->mtype, mp->buf, mp->len);
782 size_t len;
789 p = msg_cmsg(sp, CMSG_CONT_S, &len);
793 p = msg_cmsg(sp, CMSG_CONT_Q, &len);
796 p = msg_cmsg(sp, CMSG_CONT_EX, &len);
799 p = msg_cmsg(sp, CMSG_CONT, &len);
805 (void)gp->scr_addstr(sp, p, len);
850 size_t len;
853 len =
857 (void)gp->scr_addstr(sp, DIVIDESTR, len);
866 vs_msgsave(SCR *sp, mtype_t mt, char *p, size_t len)
879 MALLOC_GOTO(sp, mp_n->buf, char *, len);
881 memmove(mp_n->buf, p, len);
882 mp_n->len = len;
899 (void)fprintf(stderr, "%.*s\n", (int)len, p);