Lines Matching defs:txt
117 const char *txt;
134 txt = rbuf;
138 if ((txt = put_sbuf_line(txt)) == NULL) {
148 } while (txt != eot);
175 char *txt;
178 if ((txt = get_sbuf_line(lp)) == NULL)
181 NUL_TO_NEWLINE(txt, lp->len);
182 eot = txt + lp->len;
183 if (!regexec(pat, txt, SE_MAX, rm, 0)) {
190 NEWLINE_TO_NUL(txt, rm[0].rm_eo);
191 memcpy(rbuf + off, txt, i);
193 if ((off = apply_subst_template(txt, rm, off,
200 NEWLINE_TO_NUL(txt, i);
201 memcpy(rbuf + off, txt, i);
204 txt += rm[0].rm_eo;
205 } while (*txt &&
207 !regexec(pat, txt, SE_MAX, rm, REG_NOTBOL));
208 i = eot - txt;
215 NEWLINE_TO_NUL(txt, i);
216 memcpy(rbuf + off, txt, i);