Searched refs:peekchar (Results 1 – 12 of 12) sorted by relevance
193 switch (peekchar()) {227 switch (peekchar()) {267 if (peekchar() == 'd') {361 tail(peekchar() == 'x' ? "ex" : "edit");495 if (peekchar() == 'a') {497 if (peekchar() == 'p') {515 if (peekchar() == 'u') {551 switch (peekchar()) {579 if (peekchar() == 'e') {656 if (peekchar() == 'e') {[all …]
59 if (wh && isalpha(c = peekchar()) && isascii(c) && !isdigit(c)) in cmdreg()61 if (wh && isalpha(c = peekchar()) && isascii(c)) in cmdreg()334 if (peekchar() == '!') { in exclam()538 return (endcmd(peekchar()) && peekchar() != '"'); in skipend()582 while (*comm && peekchar() == *comm) in tailprim()584 c = peekchar(); in tailprim()594 while (cp < &tcommand[19] && isalpha(c = peekchar()) && isascii(c)) in tailprim()
56 if (peekchar() != EOF) in set()66 } while (isalnum(peekchar())); in set()270 if (peekchar() == '?') { in set()297 if (!isdigit(peekchar())) in set()319 if( peekchar() != EOF) in set()390 return (iswhite(peekchar()) || endcmd(peekchar())); in setend()
96 if (!isdigit(peekchar())) { in setcount()135 if (!isdigit(peekchar())) { in setcount2()261 while (peekchar() == ':')
166 if (peekchar() == '+') { in getargs()168 if (!isascii(c = peekchar()) && (c != EOF)) { in getargs()182 if (c == '\\' && isspace(peekchar())) in getargs()196 if (!isascii(c = peekchar())) { in getargs()215 if (any(peekchar(), "#%|")) in getargs()563 if (peekchar() == '!')566 while (peekchar() == '>')
62 c = peekchar(); in unix0()90 if (any(peekchar(), specialchars)) { in unix0()201 c = peekchar(); in unix0()
81 peekchar(void) in peekchar() function206 if (peekchar() == '\n') { in gettty()
207 if (peekchar() == '/') { in oop()341 if (any(peekchar(), "+-^.")) in vop()344 vsetsiz(isdigit(peekchar()) ? getnum() : value(vi_WINDOW)); in vop()
108 while ((c = peekchar()) != '\n') {135 c = peekchar();400 c = peekchar(); in comprhs()420 c = peekchar(); in comprhs()954 if(c == '\\' && peekchar() == ']') { in vi_compile()
644 while (!iswhite(peekchar()) && !endcmd(peekchar()))650 if (!endcmd(peekchar()))1024 while (peekchar() == op) { in zop()1521 if (peekchar() != EOF) in mapcmd()
763 while (iswhite(peekchar())) { in skipwh()
172 peekchar(state_t *s) in peekchar() function183 while (isspace(peekchar(s))) { in discard_whitespace()298 if (!islower(peekchar(s))) { in collect_bareword()345 if (peekchar(s) == '-') { in collect_number()352 if (!isdigit(peekchar(s))) { in collect_number()357 if (!isdigit(peekchar(s))) { in collect_number()365 if (peekchar(s) == '.' || peekchar(s) == 'e' || peekchar(s) == 'E') { in collect_number()484 switch (peekchar(s)) { in hdlr_array()547 switch (c = peekchar(s)) { in hdlr_array_value()639 switch (c = peekchar(s)) { in hdlr_colon()