Lines Matching defs:shf_emptybuf
18 /* flags to shf_emptybuf() */
29 static int shf_emptybuf ARGS((struct shf *shf, int flags));
121 shf->wnleft = 0; /* force call to shf_emptybuf() */
165 shf->wnleft = 0; /* force call to shf_emptybuf() */
322 return shf_emptybuf(shf, 0);
331 shf_emptybuf(shf, flags)
338 internal_errorf(1, "shf_emptybuf: no fd");
428 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
475 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
615 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
672 if (shf->wnleft == 0 && shf_emptybuf(shf, EB_GROW) == EOF)
726 if (shf_emptybuf(shf, EB_GROW) == EOF)