Lines Matching full:comp
29 struct re_pattern_buffer *comp = (struct re_pattern_buffer *) in compile_pattern2() local
32 if (re_compile_pattern(pattern, strlen(pattern), comp)) in compile_pattern2()
34 free(comp); in compile_pattern2()
44 *comp_pattern = comp; in compile_pattern2()
47 regex_t *comp = (regex_t *) ecalloc(1, sizeof(regex_t)); in compile_pattern2() local
48 if (regcomp(comp, pattern, REGCOMP_FLAG | (is_caseless ? REG_ICASE : 0))) in compile_pattern2()
50 free(comp); in compile_pattern2()
60 *comp_pattern = comp; in compile_pattern2()
66 pcre *comp = pcre_compile(pattern, in compile_pattern2() local
70 if (comp == NULL) in compile_pattern2()
77 *comp_pattern = comp; in compile_pattern2()
83 pcre2_code *comp = pcre2_compile((PCRE2_SPTR)pattern, strlen(pattern), in compile_pattern2() local
86 if (comp == NULL) in compile_pattern2()
97 *comp_pattern = comp; in compile_pattern2()
110 char *comp; in compile_pattern2() local
111 if ((comp = regcmp(pattern, 0)) == NULL) in compile_pattern2()
119 *comp_pattern = comp; in compile_pattern2()
122 struct regexp *comp; in compile_pattern2() local
124 comp = regcomp(pattern); in compile_pattern2()
126 if (comp == NULL) in compile_pattern2()
136 *comp_pattern = comp; in compile_pattern2()