Lines Matching defs:nls
504 Char *ofd, *ols, *oe, *nfd, *nls, *ne;
559 nls = ++n;
565 nsb = nls;
567 nse = nls;
570 * case 1: insert: scan from nfd to nls looking for *ofd
573 for (c = *ofd, n = nfd; n < nls; n++) {
576 p < nls && o < ols && *o == *p;
600 p < ols && n < nls && *p == *n;
623 nls = ne;
639 sx = (int)((nls - nse) - (ols - ose));
645 nsb = nls;
646 nse = nls;
650 nls = ne;
652 if ((ols - ofd) < (nls - nfd)) {
654 nls = ne;
661 nsb = nls;
662 nse = nls;
666 nls = ne;
668 if ((ols - ofd) > (nls - nfd)) {
670 nls = ne;
675 * they don't point to anything (we may have moved ols or nls).
682 nsb = nls;
683 nse = nls;
689 sx = (int)((nls - nse) - (ols - ose));
694 ELRE_DEBUG(1, (__F, "nfd %d, nsb %d, nse %d, nls %d, ne %d\n",
695 nfd - new, nsb - new, nse - new, nls - new, ne - new));
710 re_printstr(el, "nse-nls", nse, nls);
712 re_printstr(el, "nls- ne", nls, ne);
730 * \new \nfd \nsb \nse \nls \ne
743 * character (which is ne if nls != ne, otherwise is nse) off the edge
877 * write (nls-nse) chars of new starting at nse
879 terminal_overwrite(el, nse, (size_t)(nls - nse));
883 terminal_overwrite(el, nse, (size_t)(nls - nse));
947 * write (nls-nse) - sx chars of new starting at
951 (size_t)((nls - nse) - sx));
954 terminal_overwrite(el, nse, (size_t)(nls - nse));