Searched defs:outp (Results 1 - 7 of 7) sorted by relevance

/ast/src/cmd/pack/
H A Dhuffencode.c40 #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 Dhuffdecode.c69 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/libcmd/
H A Duniq.c88 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 Dfmt.c57 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 Dtr.c431 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/lib/libpp/
H A Dpp.h73 #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...]
/ast/src/cmd/INIT/
H A Dproto.c376 char* outp; member in struct:ppglobals

Completed in 108 milliseconds