• Home
  • Raw
  • Download

Lines Matching refs:cbuf

3331 	char *cbuf;  member
3511 es->cbuf = buf; in x_vi()
3595 if (es->cbuf != buf) in x_vi()
3596 memmove(buf, es->cbuf, es->linelen); in x_vi()
3671 es->cbuf[es->cursor++] = ch; in vi_hook()
3773 new_es.cbuf = locpat; in vi_hook()
3795 es->cbuf[es->linelen++] = '^'; in vi_hook()
3796 es->cbuf[es->linelen++] = ch ^ '@'; in vi_hook()
3800 es->cbuf[es->linelen++] = ch; in vi_hook()
3907 es->cbuf[es->cursor] = undo->cbuf[es->cursor]; in vi_insert()
3915 memmove(&es->cbuf[es->cursor], &es->cbuf[es->cursor + 1], in vi_insert()
3924 memmove(es->cbuf, &es->cbuf[es->cursor], in vi_insert()
3935 memmove(&es->cbuf[tcursor], &es->cbuf[es->cursor], in vi_insert()
4005 memmove(&es->cbuf[es->cursor + 1], &es->cbuf[es->cursor], in vi_insert()
4009 es->cbuf[es->cursor++] = ch; in vi_insert()
4039 memmove(undo->cbuf, es->cbuf, es->linelen); in vi_cmd()
4133 !ksh_isspace(es->cbuf[es->cursor])) { in vi_cmd()
4136 } while (ksh_isspace(es->cbuf[ncursor])); in vi_cmd()
4266 es->cbuf[es->cursor + n] = cmd[1]; in vi_cmd()
4293 es->cbuf[es->linelen] = '\0'; in vi_cmd()
4294 histsave(&source->line, es->cbuf, true, in vi_cmd()
4301 shf_snprintf(es->cbuf, es->cbufsize, "%s %d", in vi_cmd()
4305 strlcpy(es->cbuf, in vi_cmd()
4308 es->linelen = strlen(es->cbuf); in vi_cmd()
4443 p = &es->cbuf[es->cursor]; in vi_cmd()
4461 int ret = x_do_comment(es->cbuf, es->cbufsize, in vi_cmd()
4604 ksh_isspace(es->cbuf[ncursor])) in domove()
4626 (i = bracktype(es->cbuf[ncursor])) == 0) in domove()
4639 t = bracktype(es->cbuf[ncursor]); in domove()
4672 memmove(ybuf, &es->cbuf[a], yanklen); in yank_range()
4710 memmove(holdbuf, es->cbuf, es->linelen); in save_cbuf()
4720 memmove(es->cbuf, holdbuf, holdlen); in restore_cbuf()
4730 news->cbuf = alloc(old->cbufsize, APERM); in save_edstate()
4731 memcpy(news->cbuf, old->cbuf, old->linelen); in save_edstate()
4742 memcpy(news->cbuf, old->cbuf, old->linelen); in restore_edstate()
4752 afree(old->cbuf, APERM); in free_edstate()
4778 memmove(&es->cbuf[es->cursor + len], &es->cbuf[es->cursor], in putbuf()
4782 memmove(&es->cbuf[es->cursor], buf, len); in putbuf()
4791 memmove(&es->cbuf[a], &es->cbuf[b], es->linelen - b); in del_range()
4812 } while (es->cbuf[ncursor] != ch); in findch()
4830 if (ksh_isalnux(es->cbuf[ncursor])) in forwword()
4831 while (ksh_isalnux(es->cbuf[ncursor]) && in forwword()
4834 else if (!ksh_isspace(es->cbuf[ncursor])) in forwword()
4835 while (!ksh_isalnux(es->cbuf[ncursor]) && in forwword()
4836 !ksh_isspace(es->cbuf[ncursor]) && in forwword()
4839 while (ksh_isspace(es->cbuf[ncursor]) && in forwword()
4853 while (--ncursor > 0 && ksh_isspace(es->cbuf[ncursor])) in backword()
4856 if (ksh_isalnux(es->cbuf[ncursor])) in backword()
4858 ksh_isalnux(es->cbuf[ncursor])) in backword()
4862 !ksh_isalnux(es->cbuf[ncursor]) && in backword()
4863 !ksh_isspace(es->cbuf[ncursor])) in backword()
4879 ksh_isspace(es->cbuf[ncursor])) in endword()
4882 if (ksh_isalnux(es->cbuf[ncursor])) in endword()
4884 ksh_isalnux(es->cbuf[ncursor])) in endword()
4888 !ksh_isalnux(es->cbuf[ncursor]) && in endword()
4889 !ksh_isspace(es->cbuf[ncursor])) in endword()
4904 while (!ksh_isspace(es->cbuf[ncursor]) && in Forwword()
4907 while (ksh_isspace(es->cbuf[ncursor]) && in Forwword()
4921 while (--ncursor >= 0 && ksh_isspace(es->cbuf[ncursor])) in Backword()
4923 while (ncursor >= 0 && !ksh_isspace(es->cbuf[ncursor])) in Backword()
4938 ksh_isspace(es->cbuf[ncursor])) in Endword()
4942 !ksh_isspace(es->cbuf[ncursor])) in Endword()
4971 memmove(es->cbuf, hptr, es->linelen); in grabhist()
5005 memmove(es->cbuf, hptr, es->linelen); in grabsearch()
5048 col = newcol((unsigned char)es->cbuf[cur++], col); in outofwin()
5070 tcol = newcol((unsigned char)es->cbuf[tcur++], tcol); in rewindow()
5073 holdcol1 = newcol((unsigned char)es->cbuf[holdcur1++], in rewindow()
5102 if ((ch = es->cbuf[cur]) == '\t') in display()
5215 nwords = x_cf_glob(&i, es->cbuf, es->linelen, es->cursor, in expand_word()
5282 nwords = x_cf_glob(&flags, es->cbuf, es->linelen, es->cursor, in complete_word()
5371 nwords = x_cf_glob(&i, est->cbuf, est->linelen, est->cursor, in print_expansions()