Lines Matching refs:delim
154 tailpos(register Sfio_t* fp, register Sfoff_t number, int delim)
167 if (delim < 0)
183 if (*--t == delim && number-- <= 0)
201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim)
211 if (delim < 0 && a > number)
216 while ((n = sfmove(infile, out, number, delim)) > 0)
241 sfmove(tmp[!fno], NiL, n, delim);
257 init(Tail_t* tp, Sfoff_t number, int delim, int flags, const char** format)
292 sfmove(tp->sp, NiL, -number - 1, delim);
298 else if ((offset = tailpos(tp->sp, number, delim)) >= 0)
319 pipetail(tp->sp ? tp->sp : sfstdin, op, number, delim);
408 int delim;
587 delim = (flags & LINES) ? '\n' : -1;
592 if (delim < 0)
621 if (!init(fp, number, delim, flags, &format))
738 sfmove(ip, NiL, -number - 1, delim);
747 if ((offset = tailpos(ip, number, delim)) >= 0)
760 pipetail(ip, op, number, delim);