Home | History | Annotate | Download | only in ksh

Lines Matching refs:cbuf

29 	char	*cbuf;
250 if (es->cbuf != buf)
251 memmove(buf, es->cbuf, es->linelen);
330 es->cbuf[es->cursor++] = ch;
449 es->cbuf[es->linelen++] = 'M';
450 es->cbuf[es->linelen++] = '-';
456 es->cbuf[es->linelen++] = '^';
457 es->cbuf[es->linelen++] = ch ^ '@';
461 es->cbuf[es->linelen++] = ch;
586 es->cbuf[es->cursor] = undo->cbuf[es->cursor];
596 memmove(&es->cbuf[es->cursor], &es->cbuf[es->cursor+1],
605 memmove(es->cbuf, &es->cbuf[es->cursor],
616 memmove(&es->cbuf[tcursor], &es->cbuf[es->cursor],
686 memmove(&es->cbuf[es->cursor+1], &es->cbuf[es->cursor],
690 es->cbuf[es->cursor++] = ch;
722 memmove(undo->cbuf, es->cbuf, es->linelen);
810 !isspace((unsigned char)es->cbuf[es->cursor])) {
811 while (isspace((unsigned char)es->cbuf[--ncursor]))
930 es->cbuf[es->cursor] = cmd[1];
953 es->cbuf[es->linelen] = '\0';
955 histsave(source->line, es->cbuf, 1);
960 shf_snprintf(es->cbuf, es->cbufsize,
964 es->linelen = strlen(es->cbuf);
1098 p = &es->cbuf[es->cursor];
1114 int ret = x_do_comment(es->cbuf, es->cbufsize,
1253 while (ncursor < es->linelen - 1 && isspace((unsigned char)es->cbuf[ncursor]))
1275 (i = bracktype(es->cbuf[ncursor])) == 0)
1288 t = bracktype(es->cbuf[ncursor]);
1323 memmove(ybuf, &es->cbuf[a], yanklen);
1375 memmove(holdbuf, es->cbuf, es->linelen);
1385 memmove(es->cbuf, holdbuf, holdlen);
1396 new->cbuf = alloc(old->cbufsize, APERM);
1397 memcpy(new->cbuf, old->cbuf, old->linelen);
1409 memcpy(new->cbuf, old->cbuf, old->linelen);
1420 afree(old->cbuf, APERM);
1434 es->cbuf = buf;
1492 memmove(&es->cbuf[es->cursor + len], &es->cbuf[es->cursor],
1496 memmove(&es->cbuf[es->cursor], buf, len);
1506 memmove(&es->cbuf[a], &es->cbuf[b], es->linelen - b);
1531 } while (es->cbuf[ncursor] != ch);
1550 if (is_wordch(es->cbuf[ncursor]))
1552 is_wordch(es->cbuf[ncursor]))
1554 else if (!isspace((unsigned char)es->cbuf[ncursor]))
1556 !is_wordch(es->cbuf[ncursor]) &&
1557 !isspace((unsigned char)es->cbuf[ncursor]))
1560 isspace((unsigned char)es->cbuf[ncursor]))
1574 while (--ncursor > 0 && isspace((unsigned char)es->cbuf[ncursor]))
1577 if (is_wordch(es->cbuf[ncursor]))
1579 is_wordch(es->cbuf[ncursor]))
1583 !is_wordch(es->cbuf[ncursor]) &&
1584 !isspace((unsigned char)es->cbuf[ncursor]))
1601 isspace((unsigned char)es->cbuf[ncursor]))
1604 if (is_wordch(es->cbuf[ncursor]))
1606 is_wordch(es->cbuf[ncursor]))
1610 !is_wordch(es->cbuf[ncursor]) &&
1611 !isspace((unsigned char)es->cbuf[ncursor]))
1628 !isspace((unsigned char)es->cbuf[ncursor]))
1631 isspace((unsigned char)es->cbuf[ncursor]))
1645 while (--ncursor >= 0 && isspace((unsigned char)es->cbuf[ncursor]))
1647 while (ncursor >= 0 && !isspace((unsigned char)es->cbuf[ncursor]))
1663 isspace((unsigned char)es->cbuf[ncursor]))
1667 !isspace((unsigned char)es->cbuf[ncursor]))
1698 memmove(es->cbuf, hptr, es->linelen);
1735 memmove(es->cbuf, hptr, es->linelen);
1778 col = newcol((unsigned char) es->cbuf[cur++], col);
1800 tcol = newcol((unsigned char) es->cbuf[tcur++], tcol);
1803 holdcol1 = newcol((unsigned char) es->cbuf[holdcur1++],
1835 if ((ch = es->cbuf[cur]) == '\t') {
1962 es->cbuf, es->linelen, es->cursor,
2029 es->cbuf, es->linelen, es->cursor,
2113 ex->cbuf, ex->linelen, ex->cursor,