Lines Matching refs:sfstdin
107 if(sfopen(sfstdin, tstfile("sf", 0),"r") != sfstdin)
109 sfsetbuf(sfstdin,NIL(char*),8*sizeof(buf));
110 if(sfsize(sfstdin) != n)
115 { if(!(s = sfreserve(sfstdin,16*sizeof(buf),0)) )
119 if(sfvalue(sfstdin) > 0)
120 i += sfvalue(sfstdin);
124 if(sfseek(sfstdin,(Sfoff_t)0,0) != 0)
126 sfsetbuf(sfstdin,bigbuf,sizeof(bigbuf));
129 { if(!(s = sfreserve(sfstdin,16*sizeof(buf),0)) )
133 if(sfvalue(sfstdin) > 0)
134 i += sfvalue(sfstdin);
137 sfsetbuf(sfstdin,NIL(Void_t*),(size_t)SF_UNBOUND);
149 if(sfopen(sfstdin, tstfile("sf", 0), "r") != sfstdin)
151 sfsetbuf(sfstdin,NIL(Void_t*),8*1024);
152 if(!(s = sfreserve(sfstdin,16*sizeof(bigbuf),0)) )
159 if((o = sfseek(sfstdin,-15*((Sfoff_t)sizeof(bigbuf)),1)) != sizeof(bigbuf))
161 if(sfread(sfstdin,bigbuf,sizeof(bigbuf)) != sizeof(bigbuf) )
169 if(!(s = sfreserve(sfstdin,16*sizeof(bigbuf),SF_LOCKR)) )
170 { sfsetbuf(sfstdin,NIL(Void_t*),16*sizeof(bigbuf));
171 if(!(s = sfreserve(sfstdin,16*sizeof(bigbuf),SF_LOCKR)) )
175 sfread(sfstdin,s,0);
177 if(sfreserve(sfstdin,0,0) != s)
194 if(sfopen(sfstdin, tstfile("sf", 0),"r") != sfstdin)
196 sfsetbuf(sfstdin,buf,1024);
197 sfset(sfstdin,SF_SHARE,0);
199 if(!sfreserve(sfstdin,500,0) )
206 while(sfreserve(sfstdin,500,0))
208 if(n+sfvalue(sfstdin) != sfsize(sfstdout))
220 sfclose(sfstdin);
221 if(sfnew(sfstdin,NIL(Void_t*),(size_t)SF_UNBOUND,fd[0],SF_READ) != sfstdin)
223 if(!(s = sfgetr(sfstdin,'\n',1) ) ||
226 if((s = sfreserve(sfstdin,16,SF_LOCKR)) )
228 if(!(s = sfreserve(sfstdin,10,0)) )