Searched refs:PPBUFSIZ (Results 1 - 6 of 6) sorted by relevance
/ast/src/lib/libpp/ |
H A D | ppdata.c | 63 static char outbuf[2*(PPBUFSIZ+MAXTOKEN)];/* output buffer */ 104 &outbuf[PPBUFSIZ], /* oute */
|
H A D | pp.h | 68 #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 D | ppbuiltin.c | 280 #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 D | pplex.c | 69 #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 D | ppinput.c | 171 *(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 D | ppfsm.c | 904 read(pp.in->fd, pp.in->nextchr, PPBUFSIZ); 913 if (c < PPBUFSIZ && (pp.in->flags & IN_regular))
|
Completed in 17 milliseconds