Home
last modified time | relevance | path

Searched refs:regex_t (Results 1 – 8 of 8) sorted by relevance

/haiku/src/build/libgnuregex/
H A Dregex.h346 typedef struct re_pattern_buffer regex_t; typedef
475 extern int regcomp _RE_ARGS ((regex_t *preg, const char *pattern, int cflags));
477 _RE_ARGS ((const regex_t *preg, const char *string, size_t nmatch,
480 _RE_ARGS ((int errcode, const regex_t *preg, char *errbuf,
482 extern void regfree _RE_ARGS ((regex_t *preg));
H A Dregex.c4731 regex_t *preg; in regcomp()
4806 const regex_t *preg; in regexec()
4814 regex_t private_preg;
4872 const regex_t *preg;
4915 regex_t *preg; in regfree()
/haiku/headers/posix/
H A Dregex.h413 typedef struct re_pattern_buffer regex_t; typedef
547 extern int regcomp (regex_t *__restrict __preg,
551 extern int regexec (const regex_t *__restrict __preg,
556 extern size_t regerror (int __errcode, const regex_t *__restrict __preg,
559 extern void regfree (regex_t *__preg);
/haiku/src/kits/shared/
H A DRegExp.cpp136 const regex_t* CompiledExpression() const in CompiledExpression()
143 regex_t fCompiledExpression;
151 MatchResultData(const regex_t* compiledExpression, const char* string) in MatchResultData()
/haiku/src/add-ons/mail_daemon/inbound_filters/match_header/
H A DStringMatcher.h54 regex_t _regExp;
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregcomp.c24 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
26 static void re_compile_fastmap_iter (regex_t *bufp,
33 static void free_workarea_compile (regex_t *preg);
38 static reg_errcode_t analyze (regex_t *preg);
47 static bin_tree_t *lower_subexp (reg_errcode_t *err, regex_t *preg,
63 static bin_tree_t *parse (re_string_t *regexp, regex_t *preg,
65 static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg,
68 static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg,
71 static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg,
74 static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg,
[all …]
H A Dregexec.c34 static reg_errcode_t re_search_internal (const regex_t *preg,
64 static reg_errcode_t set_regs (const regex_t *preg,
192 regexec (const regex_t *_Restrict_ preg, const char *_Restrict_ string, in regexec()
235 __compat_regexec (const regex_t *_Restrict_ preg, in __compat_regexec()
584 re_search_internal (const regex_t *preg, const char *string, Idx length, in re_search_internal()
1377 set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch, in set_regs()
/haiku/src/libs/libsolv/solv/
H A Drepodata.c1059 ma->matchdata = solv_calloc(1, sizeof(regex_t)); in datamatcher_init()
1060 …ma->error = regcomp((regex_t *)ma->matchdata, match, REG_EXTENDED | REG_NOSUB | REG_NEWLINE | ((fl… in datamatcher_init()
1130 return !regexec((const regex_t *)ma->matchdata, str, 0, NULL, 0); in datamatcher_match()