Lines Matching refs:cflags
41 tre_fixncomp(fastmatch_t *preg, const char *regex, size_t n, int cflags)
53 ret = tre_compile_literal(preg, wregex, wlen, cflags);
58 return tre_compile_literal(preg, NULL, 0, cflags);
62 tre_fastncomp(fastmatch_t *preg, const char *regex, size_t n, int cflags)
74 ret = (cflags & REG_LITERAL)
75 ? tre_compile_literal(preg, wregex, wlen, cflags)
76 : tre_compile_fast(preg, wregex, wlen, cflags);
81 return tre_compile_literal(preg, NULL, 0, cflags);
86 tre_fixcomp(fastmatch_t *preg, const char *regex, int cflags)
88 return tre_fixncomp(preg, regex, regex ? strlen(regex) : 0, cflags);
92 tre_fastcomp(fastmatch_t *preg, const char *regex, int cflags)
94 return tre_fastncomp(preg, regex, regex ? strlen(regex) : 0, cflags);
98 tre_fixwncomp(fastmatch_t *preg, const wchar_t *regex, size_t n, int cflags)
100 return tre_compile_literal(preg, regex, n, cflags);
104 tre_fastwncomp(fastmatch_t *preg, const wchar_t *regex, size_t n, int cflags)
106 return (cflags & REG_LITERAL) ?
107 tre_compile_literal(preg, regex, n, cflags) :
108 tre_compile_fast(preg, regex, n, cflags);
112 tre_fixwcomp(fastmatch_t *preg, const wchar_t *regex, int cflags)
114 return tre_fixwncomp(preg, regex, regex ? tre_strlen(regex) : 0, cflags);
118 tre_fastwcomp(fastmatch_t *preg, const wchar_t *regex, int cflags)
120 return tre_fastwncomp(preg, regex, regex ? tre_strlen(regex) : 0, cflags);