Lines Matching defs:fdin
248 * cut each line of file <fdin> and put results to <fdout> using list <list>
252 cutcols(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout)
266 bp = sfreserve(fdin, len, -1);
268 bp = sfgetr(fdin, '\n', 0);
269 if (!bp && !(bp = sfgetr(fdin, 0, SF_LASTR)))
271 len = sfvalue(fdin);
359 * cut each line of file <fdin> and put results to <fdout> using list <list>
360 * stream <fdin> must be line buffered
364 cutfields(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout)
381 while ((bp = (unsigned char*)sfreserve(fdin, SF_UNBOUND, -1)) && (c = sfvalue(fdin)) > 0)
438 if (!(bp = (unsigned char*)sfreserve(fdin, SF_UNBOUND, -1)) || (c = sfvalue(fdin)) <= 0)