Lines Matching refs:preg

22 tre_regncomp_l(regex_t *preg, const char *regex, size_t n, int cflags,  in tre_regncomp_l()  argument
92 ret = tre_compile(preg, wregex, wlen, cflags, loc); in tre_regncomp_l()
96 ret = tre_compile(preg, (const tre_char_t *)regex, n, cflags, loc); in tre_regncomp_l()
103 tre_regncomp(regex_t *preg, const char *regex, size_t n, int cflags) in tre_regncomp() argument
105 return tre_regncomp_l(preg, regex, n, cflags, __get_locale()); in tre_regncomp()
109 tre_regcomp_l(regex_t *preg, const char *regex, int cflags, locale_t loc) in tre_regcomp_l() argument
115 if ((const char *)(preg->re_endp) < regex) in tre_regcomp_l()
117 len = (const char *)(preg->re_endp) - regex; in tre_regcomp_l()
121 return tre_regncomp_l(preg, regex, len, cflags, loc); in tre_regcomp_l()
125 tre_regcomp(regex_t * __restrict preg, const char * __restrict regex, in tre_regcomp() argument
128 return tre_regcomp_l(preg, regex, cflags, __get_locale()); in tre_regcomp()
133 tre_regwncomp_l(regex_t *preg, const wchar_t *regex, size_t n, int cflags, in tre_regwncomp_l() argument
137 return tre_compile(preg, regex, n, cflags, loc); in tre_regwncomp_l()
141 tre_regwncomp(regex_t *preg, const wchar_t *regex, size_t n, int cflags) in tre_regwncomp() argument
143 return tre_compile(preg, regex, n, cflags, __get_locale()); in tre_regwncomp()
147 tre_regwcomp_l(regex_t *preg, const wchar_t *regex, int cflags, locale_t loc) in tre_regwcomp_l() argument
150 return tre_compile(preg, regex, wcslen(regex), cflags, loc); in tre_regwcomp_l()
154 tre_regwcomp(regex_t *preg, const wchar_t *regex, int cflags) in tre_regwcomp() argument
156 return tre_regwncomp(preg, regex, wcslen(regex), cflags); in tre_regwcomp()
161 tre_regfree(regex_t *preg) in tre_regfree() argument
163 tre_free(preg); in tre_regfree()