Lines Matching refs:ptrnp
895 re_compile(SCR *sp, CHAR_T *ptrn, size_t plen, CHAR_T **ptrnp, size_t *lenp, regex_t *rep, u_int fl… in re_compile() argument
940 if (ptrnp != NULL) { in re_compile()
960 if (*ptrnp != NULL) { in re_compile()
961 free(*ptrnp); in re_compile()
962 *ptrnp = NULL; in re_compile()
974 MALLOC(sp, *ptrnp, CHAR_T *, (plen + 1) * sizeof(CHAR_T)); in re_compile()
975 if (*ptrnp != NULL) { in re_compile()
976 MEMCPYW(*ptrnp, ptrn, plen); in re_compile()
977 (*ptrnp)[plen] = '\0'; in re_compile()
984 if (*ptrnp == NULL) in re_compile()
987 ptrn = *ptrnp; in re_compile()
1032 re_conv(SCR *sp, CHAR_T **ptrnp, size_t *plenp, int *replacedp) in re_conv() argument
1045 for (p = *ptrnp, len = *plenp, needlen = 0; len > 0; ++p, --len) in re_conv()
1107 for (p = *ptrnp, len = *plenp, t = bp; len > 0; ++p, --len) in re_conv()
1165 *ptrnp = bp; in re_conv()
1176 re_tag_conv(SCR *sp, CHAR_T **ptrnp, size_t *plenp, int *replacedp) in re_tag_conv() argument
1188 p = *ptrnp; in re_tag_conv()
1230 *ptrnp = bp; in re_tag_conv()
1241 re_cscope_conv(SCR *sp, CHAR_T **ptrnp, size_t *plenp, int *replacedp) in re_cscope_conv() argument
1256 for (nspaces = 0, p = *ptrnp, len = *plenp; len > 0; ++p, --len) in re_cscope_conv()
1267 len = (p - *ptrnp) * 2 + (nspaces + 2) * sizeof(CSCOPE_RE_SPACE) + 3; in re_cscope_conv()
1270 p = *ptrnp; in re_cscope_conv()
1291 *ptrnp = bp; in re_cscope_conv()