Lines Matching refs:pattern

70 #  define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags)  argument
81 # define re_compile_pattern(pattern, length, bufp) \ argument
82 __re_compile_pattern (pattern, length, bufp)
410 static reg_errcode_t byte_regex_compile (const char *pattern, size_t size,
428 static reg_errcode_t wcs_regex_compile (const char *pattern, size_t size,
1852 static boolean PREFIX(at_begline_loc_p) (const CHAR_T *pattern,
2277 return (free(pattern), free(mbs_offset), free(is_binary), free (compile_stack.stack), value)
2284 PREFIX(regex_compile) (const char *ARG_PREFIX(pattern), in PREFIX()
2295 CHAR_T *pattern, *COMPILED_BUFFER_VAR; in PREFIX() local
2319 const CHAR_T *p = pattern; in PREFIX()
2320 const CHAR_T *pend = pattern + size; in PREFIX()
2352 p = pend = pattern = TALLOC(csize + 1, CHAR_T); in PREFIX()
2355 if (pattern == NULL || mbs_offset == NULL || is_binary == NULL) in PREFIX()
2357 free(pattern); in PREFIX()
2362 pattern[csize] = L'\0'; /* sentinel */ in PREFIX()
2363 size = convert_mbs_to_wcs(pattern, cpattern, csize, mbs_offset, is_binary); in PREFIX()
2367 free(pattern); in PREFIX()
2381 PUT_CHAR (pattern[debug_count]); in PREFIX()
2391 free(pattern); in PREFIX()
2464 p == pattern + 1 in PREFIX()
2468 || PREFIX(at_begline_loc_p) (pattern, p, syntax)) in PREFIX()
2574 assert (p - 1 > pattern); in PREFIX()
2756 && !(p - 2 >= pattern && p[-2] == '[') in PREFIX()
2757 && !(p - 3 >= pattern && p[-3] == '[' && p[-2] == '^') in PREFIX()
3167 && !(p - 2 >= pattern && p[-2] == '[') in PREFIX()
3168 && !(p - 3 >= pattern && p[-3] == '[' && p[-2] == '^') in PREFIX()
4103 || is_exactn_bin != is_binary[p - 1 - pattern] in PREFIX()
4128 is_exactn_bin = is_binary[p - 1 - pattern]; in PREFIX()
4160 free (pattern); in PREFIX()
4289 PREFIX(at_begline_loc_p) (const CHAR_T *pattern, const CHAR_T *p, in PREFIX()
4293 boolean prev_prev_backslash = prev > pattern && prev[-1] == '\\'; in PREFIX()
4558 UCHAR_T *pattern = (UCHAR_T*)bufp->buffer; in PREFIX() local
4561 UCHAR_T *pattern = bufp->buffer; in PREFIX() local
4562 register UCHAR_T *pend = pattern + bufp->used; in PREFIX()
4564 UCHAR_T *p = pattern; in PREFIX()
5574 UCHAR_T *pattern, *p; in wcs_re_match_2_internal() local
5779 p = pattern = (CHAR_T*)bufp->buffer; in wcs_re_match_2_internal()
7770 re_compile_pattern (const char *pattern, size_t length,
7789 ret = wcs_regex_compile (pattern, length, re_syntax_options, bufp);
7792 ret = byte_regex_compile (pattern, length, re_syntax_options, bufp);
7914 regcomp (regex_t *preg, const char *pattern, int cflags)
7963 ret = wcs_regex_compile (pattern, strlen (pattern), syntax, preg);
7966 ret = byte_regex_compile (pattern, strlen (pattern), syntax, preg);