/titanic_41/usr/src/lib/libast/common/string/ |
H A D | strexpr.c | 43 #define getchr(ex) (*(ex)->nextchr++) 44 #define peekchr(ex) (*(ex)->nextchr) 45 #define ungetchr(ex) ((ex)->nextchr--) 51 char* nextchr; /* next expression char */ member 66 ex->errchr = ex->nextchr; in seterror() 67 ex->nextchr = ""; in seterror() 246 pos = --ex->nextchr; in expr() 247 if (isdigit(c)) n = strton(ex->nextchr, &ex->nextchr, NiL, 0); in expr() 248 else if (ex->convert) n = (*ex->convert)(ex->nextchr, &ex->nextchr, ex->handle); in expr() 249 if (ex->nextchr == pos) error(ex, "syntax error"); in expr() [all …]
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | streval.c | 69 const char *nextchr; /* next char in current expression */ member 90 #define getchr(vp) (*(vp)->nextchr++) 91 #define peekchr(vp) (*(vp)->nextchr) 92 #define ungetchr(vp) ((vp)->nextchr--) 120 vp->errchr = vp->nextchr; in _seterror() 121 vp->nextchr = ""; in _seterror() 430 vp->errchr = vp->nextchr; in gettok() 437 vp->errchr = vp->nextchr; in gettok() 440 vp->nextchr--; in gettok() 537 vp->nextchr = vp->errchr; in expr() [all …]
|
/titanic_41/usr/src/lib/libpp/common/ |
H A D | pplib.h | 140 char* nextchr; /* next input char (first elt) */ member 474 #define peekchr() (*pp.in->nextchr) 475 #define ungetchr(c) (*--pp.in->nextchr=(c)) 572 cur->nextchr = p; \ 574 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); \ 585 cur->buffer = cur->nextchr = ppexpand(p); \ 588 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); \ 603 cur->nextchr = p->macro->value; \ 607 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); \ 616 cur->nextchr = v; \ [all …]
|
H A D | ppinput.c | 237 … debug((-7, "PUSH in=%s next=%s [%s]", ppinstr(pp.in), pptokchr(*pp.in->nextchr), pp.in->nextchr)); in pppush() 244 … debug((-7, "PUSH in=%s next=%s [%s]", ppinstr(pp.in), pptokchr(*pp.in->nextchr), pp.in->nextchr)); in pppush() 256 cur->nextchr = p; in pppush() 264 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); in pppush() 714 pp.in->nextchr = pp.in->buffer + PPBAKSIZ; in ppload() 715 *pp.in->nextchr++ = 0; in ppload() 716 *pp.in->nextchr = 0; in ppload()
|
H A D | ppfsm.c | 894 pp.in->nextchr--; in refill() 899 *((pp.in->nextchr = pp.in->buffer + PPBAKSIZ) - 1) = c; in refill() 902 (pp.in->flags & IN_prototype) ? pppread(pp.in->nextchr) : in refill() 904 read(pp.in->fd, pp.in->nextchr, PPBUFSIZ); in refill() 908 if (pp.in->nextchr[c - 1] == '\n') pp.in->flags |= IN_newline; in refill() 932 pp.in->nextchr = ket + 1; in refill() 940 pp.in->nextchr[c] = 0; in refill() 941 …%s\") = %d = \"%-.*s%s\"", error_info.file, c, (c > 32 ? 32 : c), pp.in->nextchr, c > 32 ? "..." :… in refill() 943 …) = %d =====\n%s\n===== eob(\"%s\") =====\n", error_info.file, c, pp.in->nextchr, error_info.file); in refill()
|
H A D | ppfsm.h | 251 …debug((-7, "POP in=%s next=%s state=%s", ppinstr(cur), pptokchr(*prv->nextchr), pplexstr(INDEX(rp… 252 ip = (pp.in = prv)->nextchr; \
|
H A D | ppcall.c | 184 for (p = pp.in->nextchr; isspace(*p); p++); in ppcall() 187 old_next = (c == MARK) ? pp.in->nextchr : NiL; in ppcall() 206 pp.in->nextchr = old_next; in ppcall()
|
H A D | pptrace.c | 243 if ((s = pp.in->nextchr) && *s) in pptrace()
|
H A D | pplex.c | 53 #define CACHEINX() do{ip=pp.in->nextchr;}while(0) 64 #define SYNCINX() do{pp.in->nextchr=ip;}while(0) 160 #define CACHEIN() (ip=pp.in->nextchr) 168 #define SYNCIN() (pp.in->nextchr=ip) 661 … && (!INMACRO(rp) || (st & (COMPATIBILITY|TRANSITION)) == COMPATIBILITY && ppismac(*prv->nextchr))) in ppcpp()
|
H A D | ppcontrol.c | 913 s = pp.in->nextchr; in ppcontrol()
|
/titanic_41/usr/src/cmd/vi/port/ |
H A D | ex_voper.c | 481 wcursor = nextchr(wcursor); in operate() 489 wcursor = nextchr(wcursor); in operate() 557 wcursor = nextchr(wcursor); in operate() 594 wcursor = nextchr(wcursor); in operate() 757 wcursor = nextchr(wcursor); in operate() 1015 wcursor = nextchr(wcursor); in find() 1062 wcursor = nextchr(wcursor); in word() 1084 wcursor = nextchr(wcursor); in word() 1089 wcursor = nextchr(wcursor); in word() 1112 wcursor = nextchr(wcursor); in eend() [all …]
|
H A D | ex_vops2.c | 77 i -= lcolumn(nextchr(cp)); in bleep() 1558 cp = nextchr(cp); in vmaxrep() 1563 cp = nextchr(cp); in vmaxrep() 1573 cp = nextchr(cp); in vmaxrep()
|
H A D | ex.h | 461 unsigned char *nextchr(); 605 unsigned char *nextchr();
|
H A D | ex_vops3.c | 539 wcursor = nextchr(wcursor); in lnext()
|
H A D | ex_vwind.c | 492 wcursor = nextchr(wcursor); in vnline()
|
H A D | ex_subr.c | 1142 unsigned char *nextchr(cursor) in nextchr() function
|
H A D | ex_vops.c | 975 endcurs = nextchr(endcurs); in vrep()
|
H A D | ex_vmain.c | 917 cursor = nextchr(cursor);
|
H A D | ex_vput.c | 255 vgotoCL(lcolumn(nextchr(cp))); in vcursaft()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 985 int (*nextchr)(void *), void *arg, int flag) in getkeyword() 1002 ichr = (*nextchr)(arg); in getkeyword()
|