Home
last modified time | relevance | path

Searched refs:nextchr (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/contrib/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--)
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()
279 ex.nextchr = (char*)s; in strexpr()
289 ex.nextchr = ex.errchr; in strexpr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpplib.h466 #define peekchr() (*pp.in->nextchr)
467 #define ungetchr(c) (*--pp.in->nextchr=(c))
564 cur->nextchr = p; \
577 cur->buffer = cur->nextchr = ppexpand(p); \
595 cur->nextchr = p->macro->value; \
608 cur->nextchr = v; \
631 cur->nextchr = p->macro->value; \
642 cur->nextchr = p; \
657 cur->nextchr = p; \
669 cur->nextchr = p; \
[all …]
H A Dppinput.c232 … debug((-7, "PUSH in=%s next=%s [%s]", ppinstr(pp.in), pptokchr(*pp.in->nextchr), pp.in->nextchr)); in pppush()
239 … debug((-7, "PUSH in=%s next=%s [%s]", ppinstr(pp.in), pptokchr(*pp.in->nextchr), pp.in->nextchr)); in pppush()
251 cur->nextchr = p; in pppush()
259 debug((-7, "PUSH in=%s next=%s", ppinstr(pp.in), pptokchr(*pp.in->nextchr))); in pppush()
709 pp.in->nextchr = pp.in->buffer + PPBAKSIZ; in ppload()
710 *pp.in->nextchr++ = 0; in ppload()
711 *pp.in->nextchr = 0; in ppload()
H A Dppfsm.c894 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 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++); in ppcall()
187 old_next = (c == MARK) ? pp.in->nextchr : NiL; in ppcall()
206 pp.in->nextchr = old_next; in ppcall()
H A Dpptrace.c243 if ((s = pp.in->nextchr) && *s) in pptrace()
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 … && (!INMACRO(rp) || (st & (COMPATIBILITY|TRANSITION)) == COMPATIBILITY && ppismac(*prv->nextchr))) in ppcpp()
H A Dppcontrol.c913 s = pp.in->nextchr; in ppcontrol()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dstreval.c122 vp->errchr = vp->nextchr; in _seterror()
123 vp->nextchr = ""; in _seterror()
513 vp->errchr = vp->nextchr; in gettok()
523 vp->nextchr--; in gettok()
668 if(vp->nextchr==0) in expr()
845 if(*vp->nextchr=='L' && vp->nextchr[1]=='\'') in expr()
847 vp->nextchr++; in expr()
850 pos = vp->nextchr; in expr()
860 vp->nextchr +=2; in expr()
865 if(*vp->nextchr=='\'') in expr()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_voper.c481 wcursor = nextchr(wcursor); in operate()
490 wcursor = nextchr(wcursor); in operate()
558 wcursor = nextchr(wcursor); in operate()
595 wcursor = nextchr(wcursor); in operate()
758 wcursor = nextchr(wcursor); in operate()
1016 wcursor = nextchr(wcursor); in find()
1063 wcursor = nextchr(wcursor); in word()
1085 wcursor = nextchr(wcursor); in word()
1090 wcursor = nextchr(wcursor); in word()
1113 wcursor = nextchr(wcursor); in eend()
[all …]
H A Dex_vops2.c77 i -= lcolumn(nextchr(cp)); in bleep()
1559 cp = nextchr(cp); in vmaxrep()
1564 cp = nextchr(cp); in vmaxrep()
1574 cp = nextchr(cp); in vmaxrep()
H A Dex.h461 unsigned char *nextchr();
605 unsigned char *nextchr();
H A Dex_vops3.c539 wcursor = nextchr(wcursor); in lnext()
H A Dex_vwind.c492 wcursor = nextchr(wcursor); in vnline()
H A Dex_vops.c975 endcurs = nextchr(endcurs); in vrep()
H A Dex_subr.c1149 unsigned char *nextchr(cursor) in nextchr() function
H A Dex_vmain.c914 cursor = nextchr(cursor);
H A Dex_vput.c253 vgotoCL(lcolumn(nextchr(cp))); in vcursaft()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c986 int (*nextchr)(void *), void *arg, int flag) in getkeyword()
1003 ichr = (*nextchr)(arg); in getkeyword()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dproto.c221 char* nextchr; member