Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmds.c195 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 …]
H A Dex_cmds2.c57 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()
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.c95 if (!isdigit(peekchar())) { in setcount()
134 if (!isdigit(peekchar())) { in setcount2()
261 while (peekchar() == ':')
H A Dex_io.c167 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() == '>')
H A Dex_unix.c61 c = peekchar(); in unix0()
89 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.c205 if (peekchar() == '/') { in oop()
339 if (any(peekchar(), "+-^.")) in vop()
342 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()
950 if(c == '\\' && peekchar() == ']') { in vi_compile()
H A Dex_cmdsub.c645 while (!iswhite(peekchar()) && !endcmd(peekchar()))
651 if (!endcmd(peekchar()))
1026 while (peekchar() == op) { in zop()
1527 if (peekchar() != EOF) in mapcmd()
H A Dex_subr.c770 while (iswhite(peekchar())) { in skipwh()
/illumos-gate/usr/src/lib/varpd/files/common/
H A Dlibvarpd_files_json.c168 peekchar(state_t *s) in peekchar() function
179 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()
/illumos-gate/usr/src/lib/json_nvlist/
H A Djson_nvlist.c168 peekchar(state_t *s) in peekchar() function
179 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()