Lines Matching defs:f
96 int sfvprintf(Sfio_t* f, const char* form, va_list args) in sfvprintf()
143 #define SMputc(f,c) { if((o = SFFLSBUF(f,c)) >= 0 ) n_output += 1; \ argument
146 #define SMnputc(f,c,n) { if((o = SFNPUTC(f,c,n)) > 0 ) n_output += 1; \ argument
149 #define SMwrite(f,s,n) { if((o = SFWRITE(f,(Void_t*)s,n)) > 0 ) n_output += o; \ argument
153 #define SFBUF(f) argument
154 #define SFINIT(f) (n_output = 0) argument
155 #define SFEND(f) argument
156 #define SFputc(f,c) SMputc(f,c) argument
157 #define SFnputc(f,c,n) SMnputc(f,c,n) argument
158 #define SFwrite(f,s,n) SMwrite(f,s,n) argument
161 #define SFBUF(f) (d = f->next, endd = f->endb) argument
162 #define SFINIT(f) (SFBUF(f), n_output = 0) argument
163 #define SFEND(f) ((n_output += d - f->next), (f->next = d)) argument
164 #define SFputc(f,c) { if(d < endd) { *d++ = (uchar)c; } \ argument
167 #define SFnputc(f,c,n) { if(d+n <= endd) { while(n--) *d++ = (uchar)(c); } \ argument
170 #define SFwrite(f,s,n) { if(d+n <= endd) { while(n--) *d++ = (uchar)(*s++); } \ argument