• Home
  • Raw
  • Download

Lines Matching refs:ofd

504 	Char *ofd, *ols, *oe, *nfd, *nls, *ne;  in re_update_line()  local
514 ofd = o; in re_update_line()
526 while (ofd < o) { in re_update_line()
549 if (*ofd == '\0' && *nfd == '\0') { in re_update_line()
556 while ((o > ofd) && (n > nfd) && (*--o == *--n)) in re_update_line()
572 if (*ofd) { in re_update_line()
573 for (c = *ofd, n = nfd; n < nls; n++) { in re_update_line()
575 for (o = ofd, p = n; in re_update_line()
587 osb = ofd; in re_update_line()
597 for (c = *nfd, o = ofd; o < ols; o++) { in re_update_line()
608 (2 * (p - o) > o - ofd)) { in re_update_line()
634 fx = (int)((nsb - nfd) - (osb - ofd)); in re_update_line()
652 if ((ols - ofd) < (nls - nfd)) { in re_update_line()
668 if ((ols - ofd) > (nls - nfd)) { in re_update_line()
688 fx = (int)((nsb - nfd) - (osb - ofd)); in re_update_line()
693 ofd - old, osb - old, ose - old, ols - old, oe - old)); in re_update_line()
703 re_printstr(el, "old-ofd", old, ofd); in re_update_line()
705 re_printstr(el, "ofd-osb", ofd, osb); in re_update_line()
785 re_insert(el, old, (int)(ofd - old), in re_update_line()
794 re__strncopy(ofd + fx, nfd + fx, len); in re_update_line()
799 re__strncopy(ofd, nfd, len); in re_update_line()
807 (__F, "first diff delete at %d...\r\n", ofd - old)); in re_update_line()
811 terminal_move_to_char(el, (int)(ofd - old)); in re_update_line()
825 re_delete(el, old, (int)(ofd - old), in re_update_line()
833 re__strncopy(ofd, nfd, len); in re_update_line()
891 if ((nsb != nfd) && (osb - ofd) <= (nsb - nfd) && (fx == 0)) { in re_update_line()
906 fx = (int)((nsb - nfd) - (osb - ofd)); in re_update_line()
914 re_insert(el, old, (int)(ofd - old), in re_update_line()
923 re__strncopy(ofd + fx, nfd + fx, len); in re_update_line()
928 re__strncopy(ofd, nfd, len); in re_update_line()