Lines Matching refs:xep
932 static char *xep; /* current end */ variable
1241 xlp = xcp = xep = buf; in x_emacs()
1296 i = xep - xbuf; in x_emacs()
1380 if (xep + len >= xend) { in x_do_ins()
1384 memmove(xcp + len, xcp, xep - xcp + 1); in x_do_ins()
1387 xep += len; in x_do_ins()
1440 if (cp2 > xep) in x_del_char()
1471 if (cp2 > xep) in x_delete()
1491 xep -= nb; in x_delete()
1493 memmove(xcp, xcp + nb, xep - xcp + 1); in x_delete()
1503 if ((i = xx_cols - 2 - x_col) > 0 || xep - xlp == 0) { in x_delete()
1508 x_e_putc2((xep > xlp) ? '>' : (xbp > xbuf) ? '<' : ' '); in x_delete()
1580 if (cp == xep) { in x_fword()
1585 while (cp != xep && ctype(*cp, C_MFS)) in x_fword()
1587 while (cp != xep && !ctype(*cp, C_MFS)) in x_fword()
1599 cp = cp >= xep ? xep : x_bs0(cp, xbuf); in x_goto()
1701 if (xcp == xep) { in x_mv_forw()
1707 if (cp2 > xep) in x_mv_forw()
1721 *xep = '\0'; in x_search_char_forw()
1727 if ((cp = (cp == xep) ? NULL : strstr(cp + 1, tmp)) == NULL && in x_search_char_forw()
1750 p = xep; in x_search_char_back()
1755 if ((tmp[1] && ((p+1) > xep)) || in x_search_char_back()
1756 (tmp[2] && ((p+2) > xep))) in x_search_char_back()
1778 *xep++ = '\n'; in x_newline()
1858 xep = xcp = strnul(xbuf); in x_load_hist()
1878 if (xep == xbuf && x_arg_defaulted) in x_eot_del()
2041 *xep = 0; in x_del_line()
2042 x_push(xep - (xcp = xbuf)); in x_del_line()
2043 xlp = xbp = xep = xbuf; in x_del_line()
2055 x_goto(xep); in x_mv_end()
2139 lch = xep > xlp ? (xbp > xbuf ? '*' : '>') : (xbp > xbuf) ? '<' : ' '; in x_redraw()
2169 } else if (xcp == xep || Flag(FGMACS)) { in x_transpose()
2247 size_t lastcol = xep - xbuf; in x_kill()
2317 *xep = '\0'; in x_intr()
2318 strip_nuls(xbuf, xep - xbuf); in x_intr()
2321 xlp = xep = xcp = xbp = xbuf; in x_intr()
2711 nwords = x_cf_glob(&i, xbuf, xep - xbuf, xcp - xbuf, in x_expand()
2745 nwords = x_cf_glob(&flags, xbuf, xep - xbuf, xcp - xbuf, in do_complete()
2798 xep -= olen; in do_complete()
2799 memmove(xcp, xcp + olen, xep - xcp + 1); in do_complete()
2855 xbp = xcp >= xep ? xep : x_bs0(xcp, xbuf); in x_adjust()
3042 ssize_t len = xep - xbuf; in x_comment()
3049 xep = xbuf + len; in x_comment()
3050 *xep = '\0'; in x_comment()
3063 char *o_xbp = xbp, *o_xep = xep, *o_xcp = xcp; in x_version()
3069 xend = xep = strnul(v); in x_version()
3077 xep = o_xep; in x_version()
3096 if (xep == xbuf) { in x_edit_line()
3101 *xep = '\0'; in x_edit_line()
3112 xep = strnul(xbuf); in x_edit_line()
3239 if (cp == xep) { in x_fold_case()
3247 while (cp != xep && ctype(*cp, C_MFS)) in x_fold_case()
3253 if (cp != xep) { in x_fold_case()
3265 while (cp != xep && !ctype(*cp, C_MFS)) { in x_fold_case()
3298 while (xlp < xep) { in x_lastcp()
3608 xep = xbuf; in x_vi()
3610 xep += ebuf.linelen; in x_vi()
5607 evend = xep; in x_eval_region()
5632 restlen = xep - evend; in x_eval_region()
5639 xep = xcp + restlen; in x_eval_region()