Searched defs:nextchr (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrexpr.c43 #define getchr(ex) (*(ex)->nextchr++)
44 #define peekchr(ex) (*(ex)->nextchr)
45 #define ungetchr(ex) ((ex)->nextchr--)
51 char* nextchr; /* next expression char */ member in struct:__anon2671
66 ex->errchr = ex->nextchr;
67 ex->nextchr = "";
246 pos = --ex->nextchr;
247 if (isdigit(c)) n = strton(ex->nextchr, &ex->nextchr, NiL, 0);
248 else if (ex->convert) n = (*ex->convert)(ex->nextchr,
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstreval.c69 const char *nextchr; /* next char in current expression */ member in struct:vars
90 #define getchr(vp) (*(vp)->nextchr++)
91 #define peekchr(vp) (*(vp)->nextchr)
92 #define ungetchr(vp) ((vp)->nextchr--)
120 vp->errchr = vp->nextchr;
121 vp->nextchr = "";
430 vp->errchr = vp->nextchr;
437 vp->errchr = vp->nextchr;
440 vp->nextchr--;
537 vp->nextchr
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dpplib.h140 char* nextchr; /* next input char (first elt) */ member in struct:ppinstk
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
[all...]

Completed in 63 milliseconds