Searched refs:peekchar (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/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()
[all...]
H A Dex_cmds2.c59 if (wh && isalpha(c = peekchar()) && isascii(c) && !isdigit(c))
61 if (wh && isalpha(c = peekchar()) && isascii(c))
334 if (peekchar() == '!') {
538 return (endcmd(peekchar()) && peekchar() != '"');
582 while (*comm && peekchar() == *comm)
584 c = peekchar();
594 while (cp < &tcommand[19] && isalpha(c = peekchar()) && isascii(c))
H A Dex_set.c56 if (peekchar() != EOF)
66 } while (isalnum(peekchar()));
270 if (peekchar() == '?') {
297 if (!isdigit(peekchar()))
319 if( peekchar() != EOF)
390 return (iswhite(peekchar()) || endcmd(peekchar()));
H A Dex_addr.c96 if (!isdigit(peekchar())) {
135 if (!isdigit(peekchar())) {
261 while (peekchar() == ':')
H A Dex_get.c81 peekchar(void) function
206 if (peekchar() == '\n') {
H A Dex_io.c166 if (peekchar() == '+') {
168 if (!isascii(c = peekchar()) && (c != EOF)) {
182 if (c == '\\' && isspace(peekchar()))
196 if (!isascii(c = peekchar())) {
215 if (any(peekchar(), "#%|"))
563 if (peekchar() == '!')
566 while (peekchar() == '>')
H A Dex_unix.c62 c = peekchar();
90 if (any(peekchar(), specialchars)) {
201 c = peekchar();
H A Dex_v.c207 if (peekchar() == '/') {
341 if (any(peekchar(), "+-^."))
344 vsetsiz(isdigit(peekchar()) ? getnum() : value(vi_WINDOW));
H A Dex_cmdsub.c644 while (!iswhite(peekchar()) && !endcmd(peekchar()))
650 if (!endcmd(peekchar()))
1024 while (peekchar() == op) {
1521 if (peekchar() != EOF)
H A Dex_re.c108 while ((c = peekchar()) != '\n') {
135 c = peekchar();
400 c = peekchar();
420 c = peekchar();
954 if(c == '\\' && peekchar() == ']') {
H A Dex_subr.c763 while (iswhite(peekchar())) {

Completed in 118 milliseconds