Lines Matching refs:ibufp
66 char *ibufp; /* pointer to ed command-line buffer */ variable
253 if (*ibufp != ',' && *ibufp != ';') in extract_addr_range()
255 else if (*ibufp++ == ';') in extract_addr_range()
264 #define SKIP_BLANKS() while (isspace((unsigned char)*ibufp) && *ibufp != '\n') ibufp++
284 for (hd = ibufp;; first = 0) in next_addr()
285 switch (c = *ibufp) { in next_addr()
291 ibufp++; in next_addr()
293 if (isdigit((unsigned char)*ibufp)) { in next_addr()
294 STRTOL(n, ibufp); in next_addr()
303 STRTOL(addr, ibufp); in next_addr()
308 ibufp++; in next_addr()
317 else if (c == *ibufp) in next_addr()
318 ibufp++; in next_addr()
322 ibufp++; in next_addr()
323 if ((addr = get_marked_node_addr(*ibufp++)) < 0) in next_addr()
330 ibufp++; in next_addr()
339 if (ibufp == hd) in next_addr()
393 switch(*ibufp) { \
395 gflag |= GPR, ibufp++; \
398 gflag |= GLS, ibufp++; \
401 gflag |= GNP, ibufp++; \
407 if (*ibufp++ != '\n') { \
442 switch(c = *ibufp++) { in exec_command()
476 } else if (!isspace((unsigned char)*ibufp)) { in exec_command()
507 } else if (!isspace((unsigned char)*ibufp)) { in exec_command()
575 c = *ibufp++; in exec_command()
639 if (!isspace((unsigned char)*ibufp)) { in exec_command()
663 switch(*ibufp) { in exec_command()
669 ibufp++; in exec_command()
673 ibufp++; in exec_command()
677 ibufp++; in exec_command()
681 STRTOL(sgnum, ibufp); in exec_command()
691 } while (sflags && *ibufp != '\n'); in exec_command()
697 if (*ibufp != '\n' && *(ibufp + 1) == '\n') { in exec_command()
727 switch(*ibufp) { in exec_command()
729 sgflag |= GPR, ibufp++; in exec_command()
732 sgflag |= GLS, ibufp++; in exec_command()
735 sgflag |= GNP, ibufp++; in exec_command()
768 if ((n = *ibufp) == 'q' || n == 'Q') { in exec_command()
770 ibufp++; in exec_command()
772 if (!isspace((unsigned char)*ibufp)) { in exec_command()
813 else if ('0' < *ibufp && *ibufp <= '9') in exec_command()
814 STRTOL(rows, ibufp); in exec_command()
906 if (*ibufp != '\n') { in get_filename()
908 if (*ibufp == '\n') { in get_filename()
911 } else if ((ibufp = get_extended_line(&n, 1)) == NULL) in get_filename()
913 else if (*ibufp == '!') { in get_filename()
914 ibufp++; in get_filename()
932 for (n = 0; *ibufp != '\n';) in get_filename()
933 file[n++] = *ibufp++; in get_filename()
954 } else if ((s = ibufp = get_extended_line(&j, 1)) == NULL) in get_shell_command()
958 while (*ibufp != '\n') in get_shell_command()
959 switch (*ibufp) { in get_shell_command()
962 buf[i++] = *ibufp; in get_shell_command()
963 if (*ibufp++ == '\\') in get_shell_command()
964 buf[i++] = *ibufp++; in get_shell_command()
967 if (s != ibufp) { in get_shell_command()
969 buf[i++] = *ibufp++; in get_shell_command()
983 s = ibufp++; in get_shell_command()
995 s = ibufp++; in get_shell_command()
1024 } else if (*(lp = ibufp) == '\0') in append_lines()
1027 while (*ibufp++ != '\n') in append_lines()
1029 l = ibufp - lp; in append_lines()