Lines Matching refs:out
260 static void genvalue(Sfio_t *out, Shclass_t *sp, int indent, Namval_t *npar)
265 if(out)
267 sfwrite(out,"(\n",2);
275 if(!(np=nodes[i]) && out)
288 sfnputc(out,'\t',indent);
289 sfputr(out,fp->name,(isarray==2?'\n':'='));
294 sfwrite(out,"(\n",2);
295 sfnputc(out,'\t',++indent);
302 sfprintf(out,"[%s]",sh_fmtq(nv_getsub(np)));
303 sfputc(out,'=');
307 sfputr(out,fmtq,'\n');
310 sfnputc(out,'\t',indent);
314 sfnputc(out,'\t',--indent);
315 sfwrite(out,")\n",2);
319 if(out)
322 sfnputc(out,'\t',indent-1);
323 sfputc(out,')');
329 static Sfio_t *out;
335 else if(!(outfile=out))
336 outfile = out = sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING);
343 sfputc(out,0);
344 return((char*)out->_data);