Lines Matching refs:sfpool
55 sfpool(f1,f4,0);
57 sfpool(f1,NIL(Sfio_t*),0);
61 if(!sfpool(f2,f3,0) )
105 if(sfpool(sfstdout,sfstderr,0) != sfstderr )
120 if(!sfpool(f1,sfstderr,0) )
127 if(sfpool(f1,f2,SF_SHARE) != f2)
129 if(sfpool(f3,f2,SF_SHARE) != f2 )
147 if(sfpool(NIL(Sfio_t*),f2,0) != f1)
153 if(!(f = sfpool(f3,NIL(Sfio_t*),0)) )
154 terror("sfpool to delete f3");
156 terror("sfpool delete did not return a stream from old pool");
158 if(sfpool(f1,NIL(Sfio_t*),0) != f2 )
159 terror("sfpool delete did not return a stream from pool");
161 if(sfpool(f1,NIL(Sfio_t*),0) != f1 )
162 terror("sfpool delete of a lone stream did not return self");
171 if(sfpool(f1,f2,SF_SHARE) )
172 terror("sfpool should fail pooling read+write streams");