Searched refs:ibufp (Results 1 – 6 of 6) sorted by relevance
| /freebsd/bin/ed/ |
| H A D | main.c | 68 char *ibufp; /* pointer to ed command-line buffer */ variable 255 if (*ibufp != ',' && *ibufp != ';') in extract_addr_range() 257 else if (*ibufp++ == ';') in extract_addr_range() 266 #define SKIP_BLANKS() while (isspace((unsigned char)*ibufp) && *ibufp != '\n') ibufp++ 286 for (hd = ibufp;; first = 0) in next_addr() 287 switch (c = *ibufp) { in next_addr() 293 ibufp++; in next_addr() 295 if (isdigit((unsigned char)*ibufp)) { in next_addr() 296 STRTOL(n, ibufp); in next_addr() 305 STRTOL(addr, ibufp); in next_addr() [all …]
|
| H A D | sub.c | 46 if ((delimiter = *ibufp) == '\n') { in extract_subst_tail() 52 else if (*ibufp == '\n') { in extract_subst_tail() 55 } else if (*ibufp == delimiter) in extract_subst_tail() 56 ibufp++; in extract_subst_tail() 57 if ('1' <= *ibufp && *ibufp <= '9') { in extract_subst_tail() 58 STRTOL(*np, ibufp); in extract_subst_tail() 60 } else if (*ibufp == 'g') { in extract_subst_tail() 61 ibufp++; in extract_subst_tail() 77 char delimiter = *ibufp++; in extract_subst_template() 79 if (*ibufp == '%' && *(ibufp + 1) == delimiter) { in extract_subst_template() [all …]
|
| H A D | re.c | 48 if ((delimiter = *ibufp) == ' ') { in get_compiled_pattern() 51 } else if (delimiter == '\n' || *++ibufp == '\n' || *ibufp == delimiter) { in get_compiled_pattern() 87 for (nd = ibufp; *nd != delimiter && *nd != '\n'; nd++) in extract_pattern() 104 len = nd - ibufp; in extract_pattern() 106 memcpy(lhbuf, ibufp, len); in extract_pattern() 108 ibufp = nd; in extract_pattern()
|
| H A D | glbl.c | 48 if ((delimiter = *ibufp) == ' ' || delimiter == '\n') { in build_active_list() 53 else if (*ibufp == delimiter) in build_active_list() 54 ibufp++; in build_active_list() 85 if (!strcmp(ibufp, "\n")) in exec_global() 125 ibufp = cmd; in exec_global() 126 for (; *ibufp;) in exec_global()
|
| H A D | io.c | 214 char *t = ibufp; in get_extended_line() 218 if ((l = t - ibufp) < 2 || !has_trailing_escape(ibufp, ibufp + l - 1)) { in get_extended_line() 220 return ibufp; in get_extended_line() 224 memcpy(cvbuf, ibufp, l); in get_extended_line() 267 ibufp = ibuf; in get_tty_line() 274 ibufp = NULL; in get_tty_line() 283 ibufp = ibuf; in get_tty_line()
|
| H A D | ed.h | 251 extern char *ibufp;
|