Searched defs:outbuff (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/pack/
H A Dhuffencode.c36 static unsigned char *outbuff; variable
49 outp = outbuff; \
84 if(!(outp=outbuff=(unsigned char*)sfreserve(fp,SF_UNBOUND,SF_LOCKR)))
123 n = outp - outbuff;
125 if(sfwrite(fp,outbuff,n)<0)
132 register int n = outp - outbuff;
133 if(sfwrite(fp,outbuff,n)< 0)
135 if(!(outbuff=(unsigned char*)sfreserve(fp,SF_UNBOUND,SF_LOCKR)))
137 outend = outbuff+(n=sfvalue(fp));
H A Dhuffdecode.c72 unsigned char *outbuff; local
83 if(!(outp=outbuff=(unsigned char*)sfreserve(output,SF_UNBOUND,SF_LOCKR)))
137 n = outp - outbuff;
139 if(sfwrite(output,outbuff,n)<0)
148 if(!(outp=outbuff=(unsigned char*)sfreserve(output,SF_UNBOUND,SF_LOCKR)))
157 outp = outbuff;
/ast/src/lib/libcmd/
H A Duniq.c89 char *orecp, *sbufp=0, *outbuff; local
224 if (!(outbuff = sfreserve(fdout, 0, 0)) || (outsize = sfvalue(fdout)) < 0)
226 outp = outbuff;
/ast/src/cmd/ksh93/edit/
H A Dcompletion.c98 static char *find_begin(char outbuff[], char *last, int endchar, int *type) argument
100 register char *cp=outbuff, *bp, *xp;
103 bp = outbuff;
207 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count) argument
239 cp = (genchar *)outbuff + *cur;
242 *cur = ed_external((genchar*)outbuff,(char*)stakptr(0));
244 *eol = ed_external((genchar*)outbuff,outbuff);
247 out = outbuff + *cur + (sh_isoption(SH_VI)!=0);
263 begin = out = find_begin(outbuff,las
[all...]
/ast/src/cmd/builtin/
H A Dtr.c436 unsigned char* outbuff = 0; local
464 if ((c = outp - outbuff) > 0)
468 sfwrite(op, outbuff, c);
475 if (!(outbuff = (unsigned char*)sfreserve(op, (ncopy < 0) ? SF_UNBOUND : (ncopy - nwrite), SF_LOCKR)))
477 outend = (outp = outbuff) + sfvalue(op);
491 if (outbuff && (c = outp - outbuff) >= 0)
492 sfwrite(op, outbuff, c);

Completed in 13 milliseconds