Lines Matching refs:xep
937 static char *xep; /* current end */ variable
1271 xlp = xcp = xep = buf; in x_emacs()
1332 i = xep - xbuf; in x_emacs()
1416 if (xep + len >= xend) { in x_do_ins()
1420 memmove(xcp + len, xcp, xep - xcp + 1); in x_do_ins()
1423 xep += len; in x_do_ins()
1476 if (cp2 > xep) in x_del_char()
1507 if (cp2 > xep) in x_delete()
1527 xep -= nb; in x_delete()
1529 memmove(xcp, xcp + nb, xep - xcp + 1); in x_delete()
1539 if ((i = xx_cols - 2 - x_col) > 0 || xep - xlp == 0) { in x_delete()
1544 x_e_putc2((xep > xlp) ? '>' : (xbp > xbuf) ? '<' : ' '); in x_delete()
1616 if (cp == xep) { in x_fword()
1621 while (cp != xep && ctype(*cp, C_MFS)) in x_fword()
1623 while (cp != xep && !ctype(*cp, C_MFS)) in x_fword()
1635 cp = cp >= xep ? xep : x_bs0(cp, xbuf); in x_goto()
1737 if (xcp == xep) { in x_mv_forw()
1743 if (cp2 > xep) in x_mv_forw()
1757 *xep = '\0'; in x_search_char_forw()
1763 if ((cp = (cp == xep) ? NULL : strstr(cp + 1, tmp)) == NULL && in x_search_char_forw()
1786 p = xep; in x_search_char_back()
1791 if ((tmp[1] && ((p+1) > xep)) || in x_search_char_back()
1792 (tmp[2] && ((p+2) > xep))) in x_search_char_back()
1814 *xep++ = '\n'; in x_newline()
1894 xep = xcp = strnul(xbuf); in x_load_hist()
1914 if (xep == xbuf && x_arg_defaulted) in x_eot_del()
2080 *xep = 0; in x_del_line()
2081 x_push(xep - (xcp = xbuf)); in x_del_line()
2082 xlp = xbp = xep = xbuf; in x_del_line()
2094 x_goto(xep); in x_mv_end()
2178 lch = xep > xlp ? (xbp > xbuf ? '*' : '>') : (xbp > xbuf) ? '<' : ' '; in x_redraw()
2208 } else if (xcp == xep || Flag(FGMACS)) { in x_transpose()
2286 size_t lastcol = xep - xbuf; in x_kill()
2356 *xep = '\0'; in x_intr()
2357 strip_nuls(xbuf, xep - xbuf); in x_intr()
2360 xlp = xep = xcp = xbp = xbuf; in x_intr()
2783 nwords = x_cf_glob(&i, xbuf, xep - xbuf, xcp - xbuf, in x_expand()
2817 nwords = x_cf_glob(&flags, xbuf, xep - xbuf, xcp - xbuf, in do_complete()
2870 xep -= olen; in do_complete()
2871 memmove(xcp, xcp + olen, xep - xcp + 1); in do_complete()
2927 xbp = xcp >= xep ? xep : x_bs0(xcp, xbuf); in x_adjust()
3114 ssize_t len = xep - xbuf; in x_comment()
3121 xep = xbuf + len; in x_comment()
3122 *xep = '\0'; in x_comment()
3135 char *o_xbp = xbp, *o_xep = xep, *o_xcp = xcp; in x_version()
3141 xend = xep = strnul(v); in x_version()
3149 xep = o_xep; in x_version()
3169 *xep = '\0'; in x_edit_line()
3179 xep = strnul(xbuf); in x_edit_line()
3306 if (cp == xep) { in x_fold_case()
3314 while (cp != xep && ctype(*cp, C_MFS)) in x_fold_case()
3320 if (cp != xep) { in x_fold_case()
3332 while (cp != xep && !ctype(*cp, C_MFS)) { in x_fold_case()
3365 while (xlp < xep) { in x_lastcp()
3674 xep = xbuf; in x_vi()
3676 xep += ebuf.linelen; in x_vi()
5680 rgend = xep; in x_operate_region()
5705 restlen = xep - rgend; in x_operate_region()
5712 xep = xcp + restlen; in x_operate_region()