Lines Matching refs:cbufsize
3445 ssize_t cbufsize; member
3627 undobuf.cbufsize = ebuf.cbufsize = LINE; in x_vi()
3917 (size_t)vs->cbufsize) in vi_hook()
3922 if (vs->linelen >= vs->cbufsize) in vi_hook()
4152 if (vs->linelen >= vs->cbufsize - 1) in vi_insert()
4454 shf_snprintf(vs->cbuf, vs->cbufsize, Tf_sd, in vi_cmd()
4457 strlcpy(vs->cbuf, ctrl_x_e, vs->cbufsize); in vi_cmd()
4615 int ret = x_do_comment(vs->cbuf, vs->cbufsize, in vi_cmd()
4903 news->cbuf = alloc(old->cbufsize, AEDIT); in save_edstate()
4905 news->cbufsize = old->cbufsize; in save_edstate()
4944 if (vs->cursor + len >= vs->cbufsize) in putbuf()
4949 if (vs->linelen + len >= vs->cbufsize) in putbuf()
5139 if ((vs->linelen = strlen(hptr)) >= vs->cbufsize) in grabhist()
5140 vs->linelen = vs->cbufsize - 1; in grabhist()
5173 if ((vs->linelen = strlen(hptr)) >= vs->cbufsize) in grabsearch()
5174 vs->linelen = vs->cbufsize - 1; in grabsearch()