Searched refs:ibufp (Results 1 – 6 of 6) sorted by relevance
/freebsd/bin/ed/ |
H A D | main.c | 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() [all …]
|
H A D | sub.c | 44 if ((delimiter = *ibufp) == '\n') { in extract_subst_tail() 50 else if (*ibufp == '\n') { in extract_subst_tail() 53 } else if (*ibufp == delimiter) in extract_subst_tail() 54 ibufp++; in extract_subst_tail() 55 if ('1' <= *ibufp && *ibufp <= '9') { in extract_subst_tail() 56 STRTOL(*np, ibufp); in extract_subst_tail() 58 } else if (*ibufp == 'g') { in extract_subst_tail() 59 ibufp++; in extract_subst_tail() 75 char delimiter = *ibufp++; in extract_subst_template() 77 if (*ibufp == '%' && *(ibufp + 1) == delimiter) { in extract_subst_template() [all …]
|
H A D | re.c | 46 if ((delimiter = *ibufp) == ' ') { in get_compiled_pattern() 49 } else if (delimiter == '\n' || *++ibufp == '\n' || *ibufp == delimiter) { in get_compiled_pattern() 85 for (nd = ibufp; *nd != delimiter && *nd != '\n'; nd++) in extract_pattern() 102 len = nd - ibufp; in extract_pattern() 104 memcpy(lhbuf, ibufp, len); in extract_pattern() 106 ibufp = nd; in extract_pattern()
|
H A D | io.c | 212 char *t = ibufp; in get_extended_line() 216 if ((l = t - ibufp) < 2 || !has_trailing_escape(ibufp, ibufp + l - 1)) { in get_extended_line() 218 return ibufp; in get_extended_line() 222 memcpy(cvbuf, ibufp, l); in get_extended_line() 265 ibufp = ibuf; in get_tty_line() 272 ibufp = NULL; in get_tty_line() 281 ibufp = ibuf; in get_tty_line()
|
H A D | glbl.c | 46 if ((delimiter = *ibufp) == ' ' || delimiter == '\n') { in build_active_list() 51 else if (*ibufp == delimiter) in build_active_list() 52 ibufp++; in build_active_list() 83 if (!strcmp(ibufp, "\n")) in exec_global() 123 ibufp = cmd; in exec_global() 124 for (; *ibufp;) in exec_global()
|
H A D | ed.h | 247 extern char *ibufp;
|