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)
267 bp = sfreserve(fdin, len, -1);
269 bp = sfgetr(fdin, '\n', 0);
270 if (!bp && !(bp = sfgetr(fdin, 0, SF_LASTR)))
272 len = sfvalue(fdin);
361 * cut each line of file <fdin> and put results to <fdout> using list <list>
362 * stream <fdin> must be line buffered
366 cutfields(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout)
383 while ((bp = (unsigned char*)sfreserve(fdin, SF_UNBOUND, -1)) && (c = sfvalue(fdin)) > 0)
440 if (!(bp = (unsigned char*)sfreserve(fdin, SF_UNBOUND, -1)) || (c = sfvalue(fdin)) <= 0)