Searched refs:outp (Results 1 - 13 of 13) sorted by relevance
/ast/src/cmd/pack/ |
H A D | huffencode.c | 40 #define outchars(fp,buff,left,outp,n) while(left>=CHAR_BIT)\ 43 *outp++ = buff>>left; \ 44 if(outp>=outend) \ 46 if((n=putbuff(fp,outp)) < 0) \ 49 outp = outbuff; \ 65 register unsigned char *outp; local 84 if(!(outp=outbuff=(unsigned char*)sfreserve(fp,SF_UNBOUND,SF_LOCKR))) 86 outend = outp + sfvalue(fp); 107 outchars(fp,buffer,left,outp,i); 117 outchars(fp,buffer,left,outp, 130 putbuff(register Sfio_t *fp,register unsigned char *outp) argument [all...] |
H A D | huffdecode.c | 69 register unsigned char *outp; local 83 if(!(outp=outbuff=(unsigned char*)sfreserve(output,SF_UNBOUND,SF_LOCKR))) 92 outend = outp+n; 110 *outp++ = outchar[i]; 129 outend = outp; 132 *outp++ = *p; 135 if(outp >= outend) 137 n = outp - outbuff; 148 if(!(outp=outbuff=(unsigned char*)sfreserve(output,SF_UNBOUND,SF_LOCKR))) 157 outp [all...] |
/ast/src/lib/libpp/ |
H A D | ppprintf.c | 36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING))) 41 pp.outp += sfseek(sp, 0L, SEEK_CUR);
|
H A D | pp.h | 73 #define pplastout() ((pp.outp>pp.outbuf)?*(pp.outp-1):pp.lastout) 75 #define pppendout() (pp.outp-pp.outbuf) 76 #define ppputchar(c) (*pp.outp++=(c)) 77 #define ppflushout() do{if(pp.outp>pp.outbuf){PPWRITE(pp.outp-pp.outbuf);pp.outp=pp.outbuf;}}while(0) 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 410 char* outp; /* outbuf pointer */ member in struct:ppglobals [all...] |
H A D | ppmacref.c | 37 p = (pp.state & (DIRECTIVE|JOINING)) == DIRECTIVE ? pp.outp : pp.addp; 48 pp.outp = p;
|
H A D | ppinput.c | 544 p = PPBUFSIZ - (pp.outp - pp.outbuf); 574 if (sfread(sp, pp.outp, p) != p) 577 pp.outp = pp.outbuf; 583 if (sfread(sp, pp.outp, n) != n) 585 pp.outp += n;
|
H A D | ppbuiltin.c | 284 a = pp.outp;
|
H A D | ppfsm.h | 240 op = tp = pp.outp = pp.outbuf; \
|
H A D | pplex.c | 55 #define CACHEOUTX() do{tp=op=pp.outp;xp=pp.oute;if(sp)sp=op;}while(0) 66 #define SYNCOUTX() do{if(sp)op=tp=sp;pp.outp=op;}while(0)
|
/ast/src/lib/libcmd/ |
H A D | uniq.c | 88 register char *cp, *ep, *mp, *bufp, *outp; local 163 if(outp!=sbufp) 164 sfwrite(fdout,outp,0); 174 outp[f++] = ' '; 175 outp[f++] = '0' + count + 1; 176 outp[f] = ' '; 182 outp[f--] = ' '; 185 outp[f--] = '0' + (count % 10); 188 outp[f--] = ' '; 193 if(outp! [all...] |
H A D | fmt.c | 57 char* outp; member in struct:Fmt_s 86 if (!fp->outp) 88 while (fp->outp[-1] == ' ') 89 fp->outp--; 90 *fp->outp = 0; 118 if ((d = (fp->outp - cp)) <= 0) 120 else if ((c = fp->outp[-1]) == 'n' && d > 1 && fp->outp[-2] == '\\') 133 fp->outp = 0; 160 fp->outp [all...] |
/ast/src/cmd/builtin/ |
H A D | tr.c | 431 register unsigned char* outp = 0; local 458 if (outp >= outend) 464 if ((c = outp - outbuff) > 0) 477 outend = (outp = outbuff) + sfvalue(op); 482 *outp++ = c; 491 if (outbuff && (c = outp - outbuff) >= 0)
|
/ast/src/cmd/INIT/ |
H A D | proto.c | 376 char* outp; member in struct:ppglobals
|
Completed in 80 milliseconds