Searched refs:outbuff (Results 1 - 11 of 11) 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/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/ie/
H A Dedit.c702 ed_expand(outbuff,cur,eol,mode)
703 char outbuff[];
724 cp = (genchar *)outbuff + *cur;
727 *cur = ed_external((genchar*)outbuff,(char*)stakptr(0));
729 *eol = ed_external((genchar*)outbuff,outbuff);
732 out = outbuff + *cur;
741 if(out>outbuff)
749 while(out>outbuff && !isqmeta(c));
755 out = outbuff;
[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);
/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/bltins/
H A Dhist.c195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE);
H A Dprint.c305 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n);
/ast/src/cmd/ksh93/include/
H A Ddefs.h171 char *outbuff; /* pointer to output buffer */ \
/ast/src/cmd/ksh93/sh/
H A Dio.c456 /* all write steams are in the same pool and share outbuff */
458 shp->outbuff = (char*)malloc(IOBSIZE+4);
461 sfsetbuf(sfstdout,shp->outbuff,IOBSIZE);
546 bp = shp->outbuff;
H A Dinit.c2117 free((char*)sh.outbuff);

Completed in 277 milliseconds