Searched refs:peekchar (Results 1 – 13 of 13) sorted by relevance
195 switch (peekchar()) {229 switch (peekchar()) {269 if (peekchar() == 'd') {363 tail(peekchar() == 'x' ? "ex" : "edit");497 if (peekchar() == 'a') {499 if (peekchar() == 'p') {517 if (peekchar() == 'u') {553 switch (peekchar()) {581 if (peekchar() == 'e') {658 if (peekchar() == 'e') {[all …]
57 if (wh && isalpha(c = peekchar()) && isascii(c) && !isdigit(c)) in cmdreg()59 if (wh && isalpha(c = peekchar()) && isascii(c)) in cmdreg()332 if (peekchar() == '!') { in exclam()536 return (endcmd(peekchar()) && peekchar() != '"'); in skipend()580 while (*comm && peekchar() == *comm) in tailprim()582 c = peekchar(); in tailprim()592 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()
95 if (!isdigit(peekchar())) { in setcount()134 if (!isdigit(peekchar())) { in setcount2()261 while (peekchar() == ':')
167 if (peekchar() == '+') { in getargs()169 if (!isascii(c = peekchar()) && (c != EOF)) { in getargs()183 if (c == '\\' && isspace(peekchar())) in getargs()197 if (!isascii(c = peekchar())) { in getargs()216 if (any(peekchar(), "#%|")) in getargs()566 if (peekchar() == '!')569 while (peekchar() == '>')
61 c = peekchar(); in unix0()89 if (any(peekchar(), specialchars)) { in unix0()201 c = peekchar(); in unix0()
81 peekchar(void) in peekchar() function206 if (peekchar() == '\n') { in gettty()
205 if (peekchar() == '/') { in oop()339 if (any(peekchar(), "+-^.")) in vop()342 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()950 if(c == '\\' && peekchar() == ']') { in vi_compile()
645 while (!iswhite(peekchar()) && !endcmd(peekchar()))651 if (!endcmd(peekchar()))1026 while (peekchar() == op) { in zop()1527 if (peekchar() != EOF) in mapcmd()
770 while (iswhite(peekchar())) { in skipwh()
168 peekchar(state_t *s) in peekchar() function179 while (isspace(peekchar(s))) { in discard_whitespace()294 if (!islower(peekchar(s))) { in collect_bareword()341 if (peekchar(s) == '-') { in collect_number()348 if (!isdigit(peekchar(s))) { in collect_number()353 if (!isdigit(peekchar(s))) { in collect_number()361 if (peekchar(s) == '.' || peekchar(s) == 'e' || peekchar(s) == 'E') { in collect_number()480 switch (peekchar(s)) { in hdlr_array()543 switch (c = peekchar(s)) { in hdlr_array_value()635 switch (c = peekchar(s)) { in hdlr_colon()