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

/ast/src/cmd/ksh93/sh/
H A Dstreval.c70 const char *nextchr; /* next char in current expression */ member in struct:vars
92 #define getchr(vp) (*(vp)->nextchr++)
93 #define peekchr(vp) (*(vp)->nextchr)
94 #define ungetchr(vp) ((vp)->nextchr--)
122 vp->errchr = vp->nextchr;
123 vp->nextchr = "";
507 vp->errchr = vp->nextchr;
514 vp->errchr = vp->nextchr;
517 vp->nextchr--;
616 vp->nextchr
[all...]
/ast/src/lib/libast/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:__anon310
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...]
/ast/src/lib/libpp/
H A Dpplib.h140 char* nextchr; /* next input char (first elt) */ member in struct:ppinstk
476 #define peekchr() (*pp.in->nextchr)
477 #define ungetchr(c) (*--pp.in->nextchr=(c))
574 cur->nextchr = p; \
576 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); \
587 cur->buffer = cur->nextchr = ppexpand(p); \
590 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); \
605 cur->nextchr = p->macro->value; \
609 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); \
618 cur->nextchr
[all...]
H A Dppfsm.c894 pp.in->nextchr--;
899 *((pp.in->nextchr = pp.in->buffer + PPBAKSIZ) - 1) = c;
902 (pp.in->flags & IN_prototype) ? pppread(pp.in->nextchr) :
904 read(pp.in->fd, pp.in->nextchr, PPBUFSIZ);
908 if (pp.in->nextchr[c - 1] == '\n') pp.in->flags |= IN_newline;
932 pp.in->nextchr = ket + 1;
940 pp.in->nextchr[c] = 0;
941 debug((-7, "refill(\"%s\") = %d = \"%-.*s%s\"", error_info.file, c, (c > 32 ? 32 : c), pp.in->nextchr, c > 32 ? "..." : ""));
943 sfprintf(sfstderr, "===== refill(\"%s\") = %d =====\n%s\n===== eob(\"%s\") =====\n", error_info.file, c, pp.in->nextchr, error_info.file);
H A Dppinput.c232 debug((-7, "PUSH in=%s next=%s [%s]", ppinstr(pp.in), pptokchr(*pp.in->nextchr), pp.in->nextchr));
239 debug((-7, "PUSH in=%s next=%s [%s]", ppinstr(pp.in), pptokchr(*pp.in->nextchr), pp.in->nextchr));
251 cur->nextchr = p;
259 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr)));
709 pp.in->nextchr = pp.in->buffer + PPBAKSIZ;
710 *pp.in->nextchr++ = 0;
711 *pp.in->nextchr = 0;
H A Dppfsm.h251 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 Dppcall.c184 for (p = pp.in->nextchr; isspace(*p); p++);
187 old_next = (c == MARK) ? pp.in->nextchr : NiL;
206 pp.in->nextchr = old_next;
H A Dpptrace.c243 if ((s = pp.in->nextchr) && *s)
H A Dpplex.c53 #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 if (prv && (!INMACRO(rp) || (st & (COMPATIBILITY|TRANSITION)) == COMPATIBILITY && ppismac(*prv->nextchr)))
H A Dppcontrol.c913 s = pp.in->nextchr;
/ast/src/cmd/INIT/
H A Dproto.c221 char* nextchr; member in struct:ppinstk

Completed in 33 milliseconds