Lines Matching refs:ptrn
57 CHAR_T *bp, *p, *ptrn, *rep, *t;
110 for (ptrn = t = p;;) {
134 if (*ptrn == '\0') {
154 if (re_compile(sp, ptrn, t - ptrn, &sp->re,
157 if (re_compile(sp, ptrn, t - ptrn, &sp->subre,
886 re_compile(SCR *sp, CHAR_T *ptrn, size_t plen, CHAR_T **ptrnp, size_t *lenp, regex_t *rep, u_int flags)
900 for (p = ptrn, len = plen; len > 0; ++p, --len)
926 if (re_cscope_conv(sp, &ptrn, &plen, &replaced))
936 if (re_tag_conv(sp, &ptrn, &plen, &replaced))
939 if (re_conv(sp, &ptrn, &plen, &replaced))
959 MEMCPY(*ptrnp, ptrn, plen);
965 FREE_SPACEW(sp, ptrn, 0);
970 ptrn = *ptrnp;
978 if ((rval = regcomp(rep, ptrn, /* plen, */ reflags)) != 0) {
1005 * 3: The pattern \<ptrn\> does "word" searches, convert it to use the