Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Donigposix.h87 } regex_t; typedef
154 ONIG_EXTERN int regcomp P_((regex_t* reg, const char* pat, int options));
155 ONIG_EXTERN int regexec P_((regex_t* reg, const char* str, size_t nmatch, regmatch_t* matches, i…
156 ONIG_EXTERN void regfree P_((regex_t* reg));
157 ONIG_EXTERN size_t regerror P_((int code, const regex_t* reg, char* buf, size_t size));
161 ONIG_EXTERN int reg_name_to_group_numbers P_((regex_t* reg, const unsigned char* name, const unsig…
162 …_EXTERN int reg_foreach_name P_((regex_t* reg, int (*func)(const unsigned char*, const unsigned c…
163 ONIG_EXTERN int reg_number_of_names P_((regex_t* reg));
Dreggnu.c46 re_adjust_startpos(regex_t* reg, const char* string, int size, in re_adjust_startpos()
66 re_match(regex_t* reg, const char* str, int size, int pos, in re_match()
74 re_search(regex_t* bufp, const char* string, int size, int startpos, int range, in re_search()
84 re_compile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf) in re_compile_pattern()
100 re_recompile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf) in re_recompile_pattern()
122 re_free_pattern(regex_t* reg) in re_free_pattern()
128 re_alloc_pattern(regex_t** reg) in re_alloc_pattern()
130 *reg = (regex_t* )xmalloc(sizeof(regex_t)); in re_alloc_pattern()
Dregposix.c32 #define regex_t onig_regex_t macro
34 #undef regex_t
136 regcomp(regex_t* reg, const char* pattern, int posix_options) in regcomp()
168 regexec(regex_t* reg, const char* str, size_t nmatch, in regexec()
226 regfree(regex_t* reg) in regfree()
266 reg_name_to_group_numbers(regex_t* reg, in reg_name_to_group_numbers()
273 int (*func)(const unsigned char*, const unsigned char*,int,int*,regex_t*,void*);
274 regex_t* reg;
288 reg_foreach_name(regex_t* reg, in reg_foreach_name() argument
289 int (*func)(const unsigned char*, const unsigned char*,int,int*,regex_t*,void*), in reg_foreach_name()
[all …]
Dregcomp.c205 add_opcode(regex_t* reg, int opcode) in add_opcode()
213 add_state_check_num(regex_t* reg, int num) in add_state_check_num()
223 add_rel_addr(regex_t* reg, int addr) in add_rel_addr()
232 add_abs_addr(regex_t* reg, int addr) in add_abs_addr()
241 add_length(regex_t* reg, int len) in add_length()
250 add_mem_num(regex_t* reg, int num) in add_mem_num()
259 add_pointer(regex_t* reg, void* addr) in add_pointer()
268 add_option(regex_t* reg, OnigOptionType option) in add_option()
275 add_opcode_rel_addr(regex_t* reg, int opcode, int addr) in add_opcode_rel_addr()
286 add_bytes(regex_t* reg, UChar* bytes, int len) in add_bytes()
[all …]
Dregparse.h293 regex_t* reg; /* for reg->names only */
323 extern int onig_renumber_name_table P_((regex_t* reg, GroupNumRemap* map));
343 extern int onig_names_free P_((regex_t* reg));
344 extern int onig_parse_make_tree P_((Node** root, const UChar* pattern, const UChar* end, regex_t
349 extern int onig_print_names(FILE*, regex_t*);
Dregposerr.c76 regerror(int posix_ecode, const regex_t* reg ARG_UNUSED, char* buf, in regerror()
Dregint.h786 extern int onig_compile P_((regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigErro…
787 extern void onig_chain_reduce P_((regex_t* reg));
788 extern void onig_chain_link_add P_((regex_t* to, regex_t* add));
789 extern void onig_transfer P_((regex_t* to, regex_t* from));
Dregparse.c440 onig_print_names(FILE* fp, regex_t* reg) in onig_print_names()
464 names_clear(regex_t* reg) in names_clear()
475 onig_names_free(regex_t* reg) in onig_names_free()
490 name_find(regex_t* reg, const UChar* name, const UChar* name_end) in name_find()
503 int (*func)(const UChar*, const UChar*,int,int*,regex_t*,void*);
504 regex_t* reg;
526 onig_foreach_name(regex_t* reg, in onig_foreach_name() argument
527 int (*func)(const UChar*, const UChar*,int,int*,regex_t*,void*), void* arg) in onig_foreach_name()
561 onig_renumber_name_table(regex_t* reg, GroupNumRemap* map) in onig_renumber_name_table()
573 onig_number_of_names(regex_t* reg) in onig_number_of_names()
[all …]
Dregexec.c1047 OnigStackType* stk_top, UChar* str, regex_t* reg) in make_capture_history_tree()
1099 static int backref_match_at_nested_level(regex_t* reg in backref_match_at_nested_level()
1247 match_at(regex_t* reg, const UChar* str, const UChar* end, in match_at()
2888 bm_search_notrev(regex_t* reg, const UChar* target, const UChar* target_end, in bm_search_notrev()
2944 bm_search(regex_t* reg, const UChar* target, const UChar* target_end, in bm_search()
3004 bm_search_backward(regex_t* reg, const UChar* target, const UChar* target_end, in bm_search_backward()
3062 onig_match(regex_t* reg, const UChar* str, const UChar* end, const UChar* at, OnigRegion* region, in onig_match()
3127 forward_search_range(regex_t* reg, const UChar* str, const UChar* end, UChar* s, in forward_search_range()
3258 backward_search_range(regex_t* reg, const UChar* str, const UChar* end, in backward_search_range()
3363 onig_search(regex_t* reg, const UChar* str, const UChar* end, in onig_search()
[all …]
Doniguruma.h705 typedef OnigRegexType regex_t; typedef
730 int onig_reg_init P_((regex_t* reg, OnigOptionType option, OnigCaseFoldType case_fold_flag, OnigEn…
DREADME83 If you want to disable regex_t type definition in oniguruma.h,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/
DRegularExpressionDxe.c86 regex_t *OnigRegex; in OnigurumaMatch()