Lines Matching refs:outfile
143 register Sfio_t *outfile; in b_print() local
267 if(!(outfile=shp->sftable[fd])) in b_print()
271 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n); in b_print()
273 sfpool(outfile,shp->outpool,SF_WRITE); in b_print()
276 n = sfset(outfile,SF_SHARE|SF_PUBLIC,0); in b_print()
294 sfprintf(outfile,"%!",&pdata); in b_print()
297 sfwrite(outfile,stakptr(staktell()),pdata.argsize); in b_print()
298 if(sffileno(outfile)!=sffileno(sfstderr)) in b_print()
299 sfsync(outfile); in b_print()
307 fmtbase64(outfile,*argv++,vflag=='C'); in b_print()
309 sfputc(outfile,'\n'); in b_print()
317 else if(sh_echolist(outfile,rflag,argv) && !nflag) in b_print()
318 sfputc(outfile,'\n'); in b_print()
327 sfset(outfile,SF_SHARE|SF_PUBLIC,1); in b_print()
328 sfsync(outfile); in b_print()
339 int sh_echolist(Sfio_t *outfile, int raw, char *argv[]) in sh_echolist() argument
351 sfwrite(outfile,stakptr(staktell()),n); in sh_echolist()
354 sfputr(outfile,cp,-1); in sh_echolist()
356 sfputc(outfile,' '); in sh_echolist()