Home
last modified time | relevance | path

Searched refs:peekchar (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/cmd/vi/port/
H A Dex_cmds.c193 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 …]
H A Dex_cmds2.c59 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()
H A Dex_set.c56 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()
H A Dex_addr.c96 if (!isdigit(peekchar())) { in setcount()
135 if (!isdigit(peekchar())) { in setcount2()
261 while (peekchar() == ':')
H A Dex_io.c166 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() == '>')
H A Dex_unix.c62 c = peekchar(); in unix0()
90 if (any(peekchar(), specialchars)) { in unix0()
201 c = peekchar(); in unix0()
H A Dex_get.c81 peekchar(void) in peekchar() function
206 if (peekchar() == '\n') { in gettty()
H A Dex_v.c207 if (peekchar() == '/') { in oop()
341 if (any(peekchar(), "+-^.")) in vop()
344 vsetsiz(isdigit(peekchar()) ? getnum() : value(vi_WINDOW)); in vop()
H A Dex_re.c108 while ((c = peekchar()) != '\n') {
135 c = peekchar();
400 c = peekchar(); in comprhs()
420 c = peekchar(); in comprhs()
954 if(c == '\\' && peekchar() == ']') { in vi_compile()
H A Dex_cmdsub.c644 while (!iswhite(peekchar()) && !endcmd(peekchar()))
650 if (!endcmd(peekchar()))
1024 while (peekchar() == op) { in zop()
1521 if (peekchar() != EOF) in mapcmd()
H A Dex_subr.c763 while (iswhite(peekchar())) { in skipwh()
/titanic_50/usr/src/lib/json_nvlist/
H A Djson_nvlist.c172 peekchar(state_t *s) in peekchar() function
183 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()