Lines Matching refs:psl
65 #define psl PS.len macro
91 fwrite(ps, 1, psl, outfile); \
137 psl = 0; in process()
147 if (psl == 0 || in process()
148 (p = memchr(ps, '\n', psl)) == NULL) { in process()
152 psl -= (p + 1) - ps; in process()
153 memmove(ps, p + 1, psl); in process()
164 cspace(&HS, ps, psl, REPLACE); in process()
168 cspace(&HS, ps, psl, APPEND); in process()
174 lputs(ps, psl); in process()
198 if ((p = memchr(ps, '\n', psl)) != NULL) { in process()
199 oldpsl = psl; in process()
201 psl = p - ps; in process()
206 psl = oldpsl; in process()
247 if (write(cp->u.fd, ps, psl) != (ssize_t)psl || in process()
266 if (pd || psl == 0) in process()
290 ((a)->type == AT_RE ? regexec_e((a)->u.r, ps, 0, 1, 0, psl) : \
402 if (!regexec_e(re, ps, 0, 0, 0, psl)) in substitute()
406 slen = psl; in substitute()
434 slen = psl - match[0].rm_eo; in substitute()
455 regexec_e(re, ps, REG_NOTBOL, 0, le, psl)); in substitute()
484 if (write(cp->u.s->wfd, ps, psl) != (ssize_t)psl || in substitute()
508 for (p = ps; p < &ps[psl]; p++) in do_tr()
518 for (p = ps, left = psl; left > 0; p += clen, left -= clen) { in do_tr()