Lines Matching refs:pcre_uchar

81   add_list_to_class(pcre_uint8 *, pcre_uchar **, int, compile_data *,
85 compile_regex(int, pcre_uchar **, const pcre_uchar **, int *, BOOL, BOOL, int, int,
270 static const pcre_uchar sub_start_of_word[] = {
274 static const pcre_uchar sub_end_of_word[] = {
332 static const pcre_uchar string_PNd[] = {
335 static const pcre_uchar string_pNd[] = {
338 static const pcre_uchar string_PXsp[] = {
341 static const pcre_uchar string_pXsp[] = {
344 static const pcre_uchar string_PXwd[] = {
347 static const pcre_uchar string_pXwd[] = {
351 static const pcre_uchar *substitutes[] = {
366 static const pcre_uchar string_pL[] = {
369 static const pcre_uchar string_pLl[] = {
372 static const pcre_uchar string_pLu[] = {
375 static const pcre_uchar string_pXan[] = {
378 static const pcre_uchar string_h[] = {
380 static const pcre_uchar string_pXps[] = {
383 static const pcre_uchar string_PL[] = {
386 static const pcre_uchar string_PLl[] = {
389 static const pcre_uchar string_PLu[] = {
392 static const pcre_uchar string_PXan[] = {
395 static const pcre_uchar string_H[] = {
397 static const pcre_uchar string_PXps[] = {
401 static const pcre_uchar *posix_substitutes[] = {
432 #define POSIX_SUBSIZE (sizeof(posix_substitutes) / sizeof(pcre_uchar *))
921 pcre_uchar *newspace; in expand_workspace()
931 memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar)); in expand_workspace()
932 cd->hwm = (pcre_uchar *)newspace + (cd->hwm - cd->start_workspace); in expand_workspace()
958 is_counted_repeat(const pcre_uchar *p) in is_counted_repeat()
1003 check_escape(const pcre_uchar **ptrptr, pcre_uint32 *chptr, int *errorcodeptr, in check_escape()
1008 const pcre_uchar *ptr = *ptrptr + 1; in check_escape()
1040 const pcre_uchar *oldptr; in check_escape()
1128 const pcre_uchar *p; in check_escape()
1509 get_ucp(const pcre_uchar **ptrptr, BOOL *negptr, unsigned int *ptypeptr, in get_ucp()
1512 pcre_uchar c; in get_ucp()
1514 const pcre_uchar *ptr = *ptrptr; in get_ucp()
1515 pcre_uchar name[32]; in get_ucp()
1532 for (i = 0; i < (int)(sizeof(name) / sizeof(pcre_uchar)) - 1; i++) in get_ucp()
1604 static const pcre_uchar *
1605 read_repeat_counts(const pcre_uchar *p, int *minp, int *maxp, int *errorcodeptr) in read_repeat_counts()
1666 static const pcre_uchar*
1667 first_significant_code(const pcre_uchar *code, BOOL skipassert) in first_significant_code()
1734 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd, in find_fixedlength()
1740 register pcre_uchar *cc = code + 1 + LINK_SIZE; in find_fixedlength()
1748 pcre_uchar *ce, *cs; in find_fixedlength()
1749 register pcre_uchar op = *cc; in find_fixedlength()
1795 cs = ce = (pcre_uchar *)cd->start_code + GET(cc, 1); /* Start subpattern */ in find_fixedlength()
2077 const pcre_uchar *
2078 PRIV(find_bracket)(const pcre_uchar *code, BOOL utf, int number) in PRIV()
2082 register pcre_uchar c = *code; in PRIV()
2096 if (number < 0) return (pcre_uchar *)code; in PRIV()
2106 if (n == number) return (pcre_uchar *)code; in PRIV()
2240 static const pcre_uchar *
2241 find_recurse(const pcre_uchar *code, BOOL utf) in find_recurse()
2245 register pcre_uchar c = *code; in find_recurse()
2394 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode, in could_be_empty_branch()
2397 register pcre_uchar c; in could_be_empty_branch()
2404 const pcre_uchar *ccode; in could_be_empty_branch()
2427 const pcre_uchar *scode = cd->start_code + GET(code, 1); in could_be_empty_branch()
2428 const pcre_uchar *endgroup = scode; in could_be_empty_branch()
2437 const pcre_uchar *tcode; in could_be_empty_branch()
2769 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode, in could_be_empty()
2794 static pcre_uchar
2795 get_repeat_base(pcre_uchar c) in get_repeat_base()
2912 static const pcre_uchar *
2913 get_chr_property_list(const pcre_uchar *code, BOOL utf, in get_chr_property_list()
2916 pcre_uchar c = *code; in get_chr_property_list()
2917 pcre_uchar base; in get_chr_property_list()
2918 const pcre_uchar *end; in get_chr_property_list()
3066 end = code + 32 / sizeof(pcre_uchar); in get_chr_property_list()
3118 compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd, in compare_opcodes()
3119 const pcre_uint32 *base_list, const pcre_uchar *base_end, int *rec_limit) in compare_opcodes()
3121 pcre_uchar c; in compare_opcodes()
3126 const pcre_uchar *next_code; in compare_opcodes()
3128 const pcre_uchar *xclass_flags; in compare_opcodes()
3657 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd) in auto_possessify()
3659 register pcre_uchar c; in auto_possessify()
3660 const pcre_uchar *end; in auto_possessify()
3661 pcre_uchar *repeat_opcode; in auto_possessify()
3731 repeat_opcode = code + 1 + (32 / sizeof(pcre_uchar)); in auto_possessify()
3931 check_posix_syntax(const pcre_uchar *ptr, const pcre_uchar **endptr) in check_posix_syntax()
3933 pcre_uchar terminator; /* Don't combine these lines; the Solaris cc */ in check_posix_syntax()
3970 check_posix_name(const pcre_uchar *ptr, int len) in check_posix_name()
4018 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd, in adjust_recurse()
4022 pcre_uchar *hc; in adjust_recurse()
4023 pcre_uchar *ptr = group; in adjust_recurse()
4025 while ((ptr = (pcre_uchar *)find_recurse(ptr, utf)) != NULL) in adjust_recurse()
4027 for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm; in adjust_recurse()
4048 for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm; in adjust_recurse()
4073 static pcre_uchar *
4074 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) in auto_callout()
4102 complete_callout(pcre_uchar *previous_callout, const pcre_uchar *ptr, compile_data *cd) in complete_callout()
4199 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_to_class()
4290 pcre_uchar *uchardata = *uchardptr; in add_to_class()
4363 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_list_to_class()
4401 add_not_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, in add_not_list_to_class()
4450 compile_branch(int *optionsptr, pcre_uchar **codeptr, in compile_branch()
4451 const pcre_uchar **ptrptr, int *errorcodeptr, in compile_branch()
4471 register pcre_uchar *code = *codeptr; in compile_branch()
4472 pcre_uchar *last_code = code; in compile_branch()
4473 pcre_uchar *orig_code = code; in compile_branch()
4474 pcre_uchar *tempcode; in compile_branch()
4477 const pcre_uchar *ptr = *ptrptr; in compile_branch()
4478 const pcre_uchar *tempptr; in compile_branch()
4479 const pcre_uchar *nestptr = NULL; in compile_branch()
4480 pcre_uchar *previous = NULL; in compile_branch()
4481 pcre_uchar *previous_callout = NULL; in compile_branch()
4493 pcre_uchar utf_chars[6]; in compile_branch()
4504 pcre_uchar *class_uchardata; in compile_branch()
4507 pcre_uchar *class_uchardata_base; in compile_branch()
4565 pcre_uchar mcbuffer[8]; in compile_branch()
4925 const pcre_uchar *oldptr; in compile_branch()
5553 memmove(code + (32 / sizeof(pcre_uchar)), code, in compile_branch()
5558 code = class_uchardata + (32 / sizeof(pcre_uchar)); in compile_branch()
5588 code += 32 / sizeof(pcre_uchar); in compile_branch()
5651 const pcre_uchar *p = ptr + 1; in compile_branch()
5747 pcre_uchar *lastchar = code - 1; in compile_branch()
5779 pcre_uchar *oldcode; in compile_branch()
5974 pcre_uchar *bralink = NULL; in compile_branch()
5975 pcre_uchar *brazeroptr = NULL; in compile_branch()
6114 pcre_uchar *hc; in compile_branch()
6126 for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset; in compile_branch()
6127 hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset; in compile_branch()
6177 pcre_uchar *hc; in compile_branch()
6207 for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset; in compile_branch()
6208 hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset; in compile_branch()
6225 pcre_uchar *bra = code - offset; in compile_branch()
6261 pcre_uchar *ketcode = code - 1 - LINK_SIZE; in compile_branch()
6262 pcre_uchar *bracode = ketcode - GET(ketcode, 1); in compile_branch()
6284 pcre_uchar *scode = bracode; in compile_branch()
6415 tempcode += 1 + 32/sizeof(pcre_uchar); in compile_branch()
6553 const pcre_uchar *name = ptr + 1; in compile_branch()
6554 const pcre_uchar *arg = NULL; in compile_branch()
6690 const pcre_uchar *name; in compile_branch()
6691 pcre_uchar *slot; in compile_branch()
6847 if ((terminator > 0 && *ptr++ != (pcre_uchar)terminator) || in compile_branch()
7112 if (*ptr != (pcre_uchar)terminator) in compile_branch()
7236 if (*ptr != (pcre_uchar)terminator) in compile_branch()
7352 pcre_uchar *cslot = slot + cd->name_entry_size; in compile_branch()
7418 const pcre_uchar *called; in compile_branch()
7457 if (*ptr != (pcre_uchar)terminator) in compile_branch()
7750 pcre_uchar *tc = code; in compile_branch()
7943 const pcre_uchar *p; in compile_branch()
7972 if (*p != (pcre_uchar)terminator) in compile_branch()
8255 compile_regex(int options, pcre_uchar **codeptr, const pcre_uchar **ptrptr, in compile_regex()
8262 const pcre_uchar *ptr = *ptrptr; in compile_regex()
8263 pcre_uchar *code = *codeptr; in compile_regex()
8264 pcre_uchar *last_branch = code; in compile_regex()
8265 pcre_uchar *start_bracket = code; in compile_regex()
8266 pcre_uchar *reverse_count = NULL; in compile_regex()
8609 is_anchored(register const pcre_uchar *code, unsigned int bracket_map, in is_anchored()
8613 const pcre_uchar *scode = first_significant_code( in is_anchored()
8699 is_startline(const pcre_uchar *code, unsigned int bracket_map, in is_startline()
8703 const pcre_uchar *scode = first_significant_code( in is_startline()
8820 find_firstassertedchar(const pcre_uchar *code, pcre_int32 *flags, in find_firstassertedchar()
8832 const pcre_uchar *scode = first_significant_code(code + 1+LINK_SIZE + xl, in find_firstassertedchar()
8834 register pcre_uchar op = *scode; in find_firstassertedchar()
8911 add_name(compile_data *cd, const pcre_uchar *name, int length, in add_name()
8915 pcre_uchar *slot = cd->name_table; in add_name()
9020 pcre_uchar *code; in pcre_compile2()
9021 const pcre_uchar *codestart; in pcre_compile2()
9022 const pcre_uchar *ptr; in pcre_compile2()
9033 pcre_uchar cworkspace[COMPILE_WORK_SIZE]; in pcre_compile2()
9042 ptr = (const pcre_uchar *)pattern; in pcre_compile2()
9314 cd->start_pattern = (const pcre_uchar *)pattern; in pcre_compile2()
9315 cd->end_pattern = (const pcre_uchar *)(pattern + STRLEN_UC((const pcre_uchar *)pattern)); in pcre_compile2()
9352 (length + cd->names_found * cd->name_entry_size) * sizeof(pcre_uchar); in pcre_compile2()
9377 re->name_table_offset = sizeof(REAL_PCRE) / sizeof(pcre_uchar); in pcre_compile2()
9401 cd->name_table = (pcre_uchar *)re + re->name_table_offset; in pcre_compile2()
9404 cd->hwm = (pcre_uchar *)(cd->start_workspace); in pcre_compile2()
9430 ptr = (const pcre_uchar *)pattern + skipatstart; in pcre_compile2()
9431 code = (pcre_uchar *)codestart; in pcre_compile2()
9463 VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar)); in pcre_compile2()
9472 const pcre_uchar *groupptr = NULL; in pcre_compile2()
9495 else PUT(((pcre_uchar *)codestart), offset, (int)(groupptr - codestart)); in pcre_compile2()
9520 pcre_uchar *temp = (pcre_uchar *)codestart; in pcre_compile2()
9534 pcre_uchar *cc = (pcre_uchar *)codestart; in pcre_compile2()
9541 for (cc = (pcre_uchar *)PRIV(find_bracket)(codestart, utf, -1); in pcre_compile2()
9543 cc = (pcre_uchar *)PRIV(find_bracket)(cc, utf, -1)) in pcre_compile2()
9548 pcre_uchar *be = cc - 1 - LINK_SIZE + GET(cc, -LINK_SIZE); in pcre_compile2()
9574 *erroroffset = (int)(ptr - (const pcre_uchar *)pattern); in pcre_compile2()
9684 pcre_uchar ch = re->first_char; in pcre_compile2()
9693 pcre_uchar ch = re->req_char; in pcre_compile2()
9715 *erroroffset = ptr - (pcre_uchar *)pattern; in pcre_compile2()