Searched refs:PPBUFSIZ (Results 1 - 6 of 6) sorted by relevance

/ast/src/lib/libpp/
H A Dppdata.c63 static char outbuf[2*(PPBUFSIZ+MAXTOKEN)];/* output buffer */
104 &outbuf[PPBUFSIZ], /* oute */
H A Dpp.h68 #define PPBUFSIZ (32*PPBLKSIZ) /* io buffer size */ macro
69 #define PPTOKSIZ ((PPBUFSIZ/2)-1) /* max token size */
78 #define ppcheckout() do{if(pp.outp>pp.oute){PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcpy(pp.outbuf,pp.oute,pp.outp-pp.oute);pp.oute-=PPBUFSIZ;pp.outp-=2*PPBUFSIZ;}}}while(0)
H A Dppbuiltin.c280 #define BACK(a,p) ((a>p)?*--a:(number++?0:((p=pp.outbuf+PPBUFSIZ),(a=pp.outbuf+2*PPBUFSIZ),*--a)))
281 #define PEEK(a,p) ((a>p)?*(a-1):(number?0:*(pp.outbuf+2*PPBUFSIZ-1)))
335 for (; a < pp.outbuf+2*PPBUFSIZ; *p++ = *a++);
H A Dpplex.c69 #define PPCHECKOUT() do{if(op>xp){{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcpy(pp.outbuf,xp,op-xp);xp=pp.oute-=PPBUFSIZ;op-=2*PPBUFSIZ;}}}}while(0)
70 #define PPCHECKOUTSP() do{if(op>xp){if(sp)op=sp;else{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcp
[all...]
H A Dppinput.c171 *(p = (cur->buffer = oldof(0, char, 0, PPBUFSIZ + PPBAKSIZ + 1)) + PPBAKSIZ) = 0;
544 p = PPBUFSIZ - (pp.outp - pp.outbuf);
576 PPWRITE(PPBUFSIZ);
579 p = PPBUFSIZ;
H A Dppfsm.c904 read(pp.in->fd, pp.in->nextchr, PPBUFSIZ);
913 if (c < PPBUFSIZ && (pp.in->flags & IN_regular))

Completed in 17 milliseconds