Lines Matching refs:pcre_uchar
83 add_list_to_class(pcre_uint8 *, pcre_uchar **, int, compile_data *,
87 compile_regex(int, pcre_uchar **, const pcre_uchar **, int *, BOOL, BOOL, int, int,
272 static const pcre_uchar sub_start_of_word[] = {
276 static const pcre_uchar sub_end_of_word[] = {
334 static const pcre_uchar string_PNd[] = {
337 static const pcre_uchar string_pNd[] = {
340 static const pcre_uchar string_PXsp[] = {
343 static const pcre_uchar string_pXsp[] = {
346 static const pcre_uchar string_PXwd[] = {
349 static const pcre_uchar string_pXwd[] = {
353 static const pcre_uchar *substitutes[] = {
368 static const pcre_uchar string_pL[] = {
371 static const pcre_uchar string_pLl[] = {
374 static const pcre_uchar string_pLu[] = {
377 static const pcre_uchar string_pXan[] = {
380 static const pcre_uchar string_h[] = {
382 static const pcre_uchar string_pXps[] = {
385 static const pcre_uchar string_PL[] = {
388 static const pcre_uchar string_PLl[] = {
391 static const pcre_uchar string_PLu[] = {
394 static const pcre_uchar string_PXan[] = {
397 static const pcre_uchar string_H[] = {
399 static const pcre_uchar string_PXps[] = {
403 static const pcre_uchar *posix_substitutes[] = {
434 #define POSIX_SUBSIZE (sizeof(posix_substitutes) / sizeof(pcre_uchar *))
923 pcre_uchar *newspace; in expand_workspace()
933 memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar)); in expand_workspace()
934 cd->hwm = (pcre_uchar *)newspace + (cd->hwm - cd->start_workspace); in expand_workspace()
960 is_counted_repeat(const pcre_uchar *p) in is_counted_repeat()
1005 check_escape(const pcre_uchar **ptrptr, pcre_uint32 *chptr, int *errorcodeptr, in check_escape()
1010 const pcre_uchar *ptr = *ptrptr + 1; in check_escape()
1042 const pcre_uchar *oldptr; in check_escape()
1130 const pcre_uchar *p; in check_escape()
1511 get_ucp(const pcre_uchar **ptrptr, BOOL *negptr, unsigned int *ptypeptr, in get_ucp()
1514 pcre_uchar c; in get_ucp()
1516 const pcre_uchar *ptr = *ptrptr; in get_ucp()
1517 pcre_uchar name[32]; in get_ucp()
1534 for (i = 0; i < (int)(sizeof(name) / sizeof(pcre_uchar)) - 1; i++) in get_ucp()
1606 static const pcre_uchar *
1607 read_repeat_counts(const pcre_uchar *p, int *minp, int *maxp, int *errorcodeptr) in read_repeat_counts()
1668 static const pcre_uchar*
1669 first_significant_code(const pcre_uchar *code, BOOL skipassert) in first_significant_code()
1736 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd, in find_fixedlength()
1742 register pcre_uchar *cc = code + 1 + LINK_SIZE; in find_fixedlength()
1750 pcre_uchar *ce, *cs; in find_fixedlength()
1751 register pcre_uchar op = *cc; in find_fixedlength()
1797 cs = ce = (pcre_uchar *)cd->start_code + GET(cc, 1); /* Start subpattern */ in find_fixedlength()
2079 const pcre_uchar *
2080 PRIV(find_bracket)(const pcre_uchar *code, BOOL utf, int number) in PRIV()
2084 register pcre_uchar c = *code; in PRIV()
2098 if (number < 0) return (pcre_uchar *)code; in PRIV()
2108 if (n == number) return (pcre_uchar *)code; in PRIV()
2242 static const pcre_uchar *
2243 find_recurse(const pcre_uchar *code, BOOL utf) in find_recurse()
2247 register pcre_uchar c = *code; in find_recurse()
2396 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode, in could_be_empty_branch()
2399 register pcre_uchar c; in could_be_empty_branch()
2406 const pcre_uchar *ccode; in could_be_empty_branch()
2429 const pcre_uchar *scode = cd->start_code + GET(code, 1); in could_be_empty_branch()
2430 const pcre_uchar *endgroup = scode; in could_be_empty_branch()
2439 const pcre_uchar *tcode; in could_be_empty_branch()
2771 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode, in could_be_empty()
2796 static pcre_uchar
2797 get_repeat_base(pcre_uchar c) in get_repeat_base()
2914 static const pcre_uchar *
2915 get_chr_property_list(const pcre_uchar *code, BOOL utf, in get_chr_property_list()
2918 pcre_uchar c = *code; in get_chr_property_list()
2919 pcre_uchar base; in get_chr_property_list()
2920 const pcre_uchar *end; in get_chr_property_list()
3068 end = code + 32 / sizeof(pcre_uchar); in get_chr_property_list()
3120 compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd, in compare_opcodes()
3121 const pcre_uint32 *base_list, const pcre_uchar *base_end, int *rec_limit) in compare_opcodes()
3123 pcre_uchar c; in compare_opcodes()
3128 const pcre_uchar *next_code; in compare_opcodes()
3130 const pcre_uchar *xclass_flags; in compare_opcodes()
3659 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd) in auto_possessify()
3661 register pcre_uchar c; in auto_possessify()
3662 const pcre_uchar *end; in auto_possessify()
3663 pcre_uchar *repeat_opcode; in auto_possessify()
3733 repeat_opcode = code + 1 + (32 / sizeof(pcre_uchar)); in auto_possessify()
3933 check_posix_syntax(const pcre_uchar *ptr, const pcre_uchar **endptr) in check_posix_syntax()
3935 pcre_uchar terminator; /* Don't combine these lines; the Solaris cc */ in check_posix_syntax()
3972 check_posix_name(const pcre_uchar *ptr, int len) in check_posix_name()
4020 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd, in adjust_recurse()
4024 pcre_uchar *hc; in adjust_recurse()
4025 pcre_uchar *ptr = group; in adjust_recurse()
4027 while ((ptr = (pcre_uchar *)find_recurse(ptr, utf)) != NULL) in adjust_recurse()
4029 for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm; in adjust_recurse()
4050 for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm; in adjust_recurse()
4075 static pcre_uchar *
4076 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) in auto_callout()
4104 complete_callout(pcre_uchar *previous_callout, const pcre_uchar *ptr, compile_data *cd) in complete_callout()
4201 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_to_class()
4292 pcre_uchar *uchardata = *uchardptr; in add_to_class()
4365 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_list_to_class()
4403 add_not_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, in add_not_list_to_class()
4452 compile_branch(int *optionsptr, pcre_uchar **codeptr, in compile_branch()
4453 const pcre_uchar **ptrptr, int *errorcodeptr, in compile_branch()
4473 register pcre_uchar *code = *codeptr; in compile_branch()
4474 pcre_uchar *last_code = code; in compile_branch()
4475 pcre_uchar *orig_code = code; in compile_branch()
4476 pcre_uchar *tempcode; in compile_branch()
4479 const pcre_uchar *ptr = *ptrptr; in compile_branch()
4480 const pcre_uchar *tempptr; in compile_branch()
4481 const pcre_uchar *nestptr = NULL; in compile_branch()
4482 pcre_uchar *previous = NULL; in compile_branch()
4483 pcre_uchar *previous_callout = NULL; in compile_branch()
4495 pcre_uchar utf_chars[6]; in compile_branch()
4506 pcre_uchar *class_uchardata; in compile_branch()
4509 pcre_uchar *class_uchardata_base; in compile_branch()
4567 pcre_uchar mcbuffer[8]; in compile_branch()
4927 const pcre_uchar *oldptr; in compile_branch()
5555 memmove(code + (32 / sizeof(pcre_uchar)), code, in compile_branch()
5560 code = class_uchardata + (32 / sizeof(pcre_uchar)); in compile_branch()
5590 code += 32 / sizeof(pcre_uchar); in compile_branch()
5653 const pcre_uchar *p = ptr + 1; in compile_branch()
5749 pcre_uchar *lastchar = code - 1; in compile_branch()
5781 pcre_uchar *oldcode; in compile_branch()
5976 pcre_uchar *bralink = NULL; in compile_branch()
5977 pcre_uchar *brazeroptr = NULL; in compile_branch()
6116 pcre_uchar *hc; in compile_branch()
6128 for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset; in compile_branch()
6129 hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset; in compile_branch()
6179 pcre_uchar *hc; in compile_branch()
6209 for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset; in compile_branch()
6210 hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset; in compile_branch()
6227 pcre_uchar *bra = code - offset; in compile_branch()
6263 pcre_uchar *ketcode = code - 1 - LINK_SIZE; in compile_branch()
6264 pcre_uchar *bracode = ketcode - GET(ketcode, 1); in compile_branch()
6286 pcre_uchar *scode = bracode; in compile_branch()
6417 tempcode += 1 + 32/sizeof(pcre_uchar); in compile_branch()
6555 const pcre_uchar *name = ptr + 1; in compile_branch()
6556 const pcre_uchar *arg = NULL; in compile_branch()
6692 const pcre_uchar *name; in compile_branch()
6693 pcre_uchar *slot; in compile_branch()
6840 if ((terminator > 0 && *ptr++ != (pcre_uchar)terminator) || in compile_branch()
7105 if (*ptr != (pcre_uchar)terminator) in compile_branch()
7229 if (*ptr != (pcre_uchar)terminator) in compile_branch()
7345 pcre_uchar *cslot = slot + cd->name_entry_size; in compile_branch()
7411 const pcre_uchar *called; in compile_branch()
7450 if (*ptr != (pcre_uchar)terminator) in compile_branch()
7743 pcre_uchar *tc = code; in compile_branch()
7936 const pcre_uchar *p; in compile_branch()
7965 if (*p != (pcre_uchar)terminator) in compile_branch()
8248 compile_regex(int options, pcre_uchar **codeptr, const pcre_uchar **ptrptr, in compile_regex()
8255 const pcre_uchar *ptr = *ptrptr; in compile_regex()
8256 pcre_uchar *code = *codeptr; in compile_regex()
8257 pcre_uchar *last_branch = code; in compile_regex()
8258 pcre_uchar *start_bracket = code; in compile_regex()
8259 pcre_uchar *reverse_count = NULL; in compile_regex()
8602 is_anchored(register const pcre_uchar *code, unsigned int bracket_map, in is_anchored()
8606 const pcre_uchar *scode = first_significant_code( in is_anchored()
8692 is_startline(const pcre_uchar *code, unsigned int bracket_map, in is_startline()
8696 const pcre_uchar *scode = first_significant_code( in is_startline()
8813 find_firstassertedchar(const pcre_uchar *code, pcre_int32 *flags, in find_firstassertedchar()
8825 const pcre_uchar *scode = first_significant_code(code + 1+LINK_SIZE + xl, in find_firstassertedchar()
8827 register pcre_uchar op = *scode; in find_firstassertedchar()
8904 add_name(compile_data *cd, const pcre_uchar *name, int length, in add_name()
8908 pcre_uchar *slot = cd->name_table; in add_name()
9013 pcre_uchar *code; in pcre_compile2()
9014 const pcre_uchar *codestart; in pcre_compile2()
9015 const pcre_uchar *ptr; in pcre_compile2()
9026 pcre_uchar cworkspace[COMPILE_WORK_SIZE]; in pcre_compile2()
9035 ptr = (const pcre_uchar *)pattern; in pcre_compile2()
9307 cd->start_pattern = (const pcre_uchar *)pattern; in pcre_compile2()
9308 cd->end_pattern = (const pcre_uchar *)(pattern + STRLEN_UC((const pcre_uchar *)pattern)); in pcre_compile2()
9345 (length + cd->names_found * cd->name_entry_size) * sizeof(pcre_uchar); in pcre_compile2()
9370 re->name_table_offset = sizeof(REAL_PCRE) / sizeof(pcre_uchar); in pcre_compile2()
9394 cd->name_table = (pcre_uchar *)re + re->name_table_offset; in pcre_compile2()
9397 cd->hwm = (pcre_uchar *)(cd->start_workspace); in pcre_compile2()
9423 ptr = (const pcre_uchar *)pattern + skipatstart; in pcre_compile2()
9424 code = (pcre_uchar *)codestart; in pcre_compile2()
9456 VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar)); in pcre_compile2()
9465 const pcre_uchar *groupptr = NULL; in pcre_compile2()
9488 else PUT(((pcre_uchar *)codestart), offset, (int)(groupptr - codestart)); in pcre_compile2()
9513 pcre_uchar *temp = (pcre_uchar *)codestart; in pcre_compile2()
9527 pcre_uchar *cc = (pcre_uchar *)codestart; in pcre_compile2()
9534 for (cc = (pcre_uchar *)PRIV(find_bracket)(codestart, utf, -1); in pcre_compile2()
9536 cc = (pcre_uchar *)PRIV(find_bracket)(cc, utf, -1)) in pcre_compile2()
9541 pcre_uchar *be = cc - 1 - LINK_SIZE + GET(cc, -LINK_SIZE); in pcre_compile2()
9567 *erroroffset = (int)(ptr - (const pcre_uchar *)pattern); in pcre_compile2()
9677 pcre_uchar ch = re->first_char; in pcre_compile2()
9686 pcre_uchar ch = re->req_char; in pcre_compile2()
9708 *erroroffset = ptr - (pcre_uchar *)pattern; in pcre_compile2()