Lines Matching refs:fp
40 #define outchars(fp,buff,left,outp,n) while(left>=CHAR_BIT)\
46 if((n=putbuff(fp,outp)) < 0) \
66 register Sfio_t *fp = outfile;
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,i);
125 if(sfwrite(fp,outbuff,n)<0)
130 static int putbuff(register Sfio_t *fp,register unsigned char *outp)
133 if(sfwrite(fp,outbuff,n)< 0)
135 if(!(outbuff=(unsigned char*)sfreserve(fp,SF_UNBOUND,SF_LOCKR)))
137 outend = outbuff+(n=sfvalue(fp));