/PHP-8.0/ext/pcre/pcre2lib/ |
H A D | pcre2_extuni.c | 59 PCRE2_SPTR 60 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() 61 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV() 91 PCRE2_SPTR 92 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() 93 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV() 111 PCRE2_SPTR bptr = eptr - 1; in PRIV()
|
H A D | pcre2_string_utils.c | 102 PRIV(strcmp)(PCRE2_SPTR str1, PCRE2_SPTR str2) in PRIV() 130 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in PRIV() 157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV() 186 PRIV(strncmp_c8)(PCRE2_SPTR str1, const char *str2, size_t len) in PRIV() 209 PRIV(strlen)(PCRE2_SPTR str) in PRIV()
|
H A D | pcre2_intmodedep.h | 656 PCRE2_SPTR mark; /* Pointer to last mark */ 679 PCRE2_SPTR group; 690 PCRE2_SPTR group; 771 PCRE2_SPTR subject_position; 825 PCRE2_SPTR eptr; /* MUST BE FIRST */ 826 PCRE2_SPTR start_match; /* Can be adjusted by \K */ 866 PCRE2_SPTR name_table; /* Table of group names */ 867 PCRE2_SPTR start_code; /* For use when recursing */ 869 PCRE2_SPTR check_subject; /* Where UTF-checked from */ 876 PCRE2_SPTR verb_ecode_ptr; /* For passing back info */ [all …]
|
H A D | pcre2_substring.c | 76 PCRE2_SPTR first, last, entry; in pcre2_substring_copy_byname() 164 PCRE2_SPTR first, last, entry; in pcre2_substring_get_byname() 269 PCRE2_SPTR stringname, PCRE2_SIZE *sizeptr) in pcre2_substring_length_byname() 271 PCRE2_SPTR first, last, entry; in pcre2_substring_length_byname() 445 pcre2_substring_list_free(PCRE2_SPTR *list) in pcre2_substring_list_free() 481 PCRE2_SPTR *firstptr, PCRE2_SPTR *lastptr) in pcre2_substring_nametable_scan() 486 PCRE2_SPTR nametable = (PCRE2_SPTR)((char *)code + sizeof(pcre2_real_code)); in pcre2_substring_nametable_scan() 495 PCRE2_SPTR first; in pcre2_substring_nametable_scan() 496 PCRE2_SPTR last; in pcre2_substring_nametable_scan() 497 PCRE2_SPTR lastentry; in pcre2_substring_nametable_scan() [all …]
|
H A D | pcre2.h | 522 PCRE2_SPTR subject; /* The subject being matched */ \ 531 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 545 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 553 PCRE2_SPTR output; /* Pointer to output buffer */ \ 684 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \ 718 pcre2_substring_nametable_scan(const pcre2_code *, PCRE2_SPTR, PCRE2_SPTR *, \ 719 PCRE2_SPTR *); \ 721 pcre2_substring_number_from_name(const pcre2_code *, PCRE2_SPTR); \ 723 pcre2_substring_list_free(PCRE2_SPTR *); \ 747 uint32_t, pcre2_match_data *, pcre2_match_context *, PCRE2_SPTR, \ [all …]
|
H A D | pcre2_newline.c | 79 PRIV(is_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR endptr, in PRIV() 169 PRIV(was_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR startptr, in PRIV()
|
H A D | pcre2_substitute.c | 79 find_text_end(const pcre2_code *code, PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, in find_text_end() 85 PCRE2_SPTR ptr = *ptrptr; in find_text_end() 242 PCRE2_SPTR ptr; in pcre2_substitute() 243 PCRE2_SPTR repend; in pcre2_substitute() 312 scb.output = (PCRE2_SPTR)buffer; in pcre2_substitute() 359 PCRE2_SPTR ptrstack[PTR_STACK_SIZE]; in pcre2_substitute() 521 PCRE2_SPTR text1_start = NULL; in pcre2_substitute() 522 PCRE2_SPTR text1_end = NULL; in pcre2_substitute() 523 PCRE2_SPTR text2_start = NULL; in pcre2_substitute() 524 PCRE2_SPTR text2_end = NULL; in pcre2_substitute() [all …]
|
H A D | pcre2_internal.h | 155 #undef PCRE2_SPTR 156 #define PCRE2_SPTR CUSTOM_SUBJECT_PTR macro 1968 extern int _pcre2_check_escape(PCRE2_SPTR *, PCRE2_SPTR, uint32_t *, 1970 extern PCRE2_SPTR _pcre2_extuni(uint32_t, PCRE2_SPTR, PCRE2_SPTR, PCRE2_SPTR, 1972 extern PCRE2_SPTR _pcre2_find_bracket(PCRE2_SPTR, BOOL, int); 1973 extern BOOL _pcre2_is_newline(PCRE2_SPTR, uint32_t, PCRE2_SPTR, 1981 extern BOOL _pcre2_script_run(PCRE2_SPTR, PCRE2_SPTR, BOOL); 1982 extern int _pcre2_strcmp(PCRE2_SPTR, PCRE2_SPTR); 1985 extern PCRE2_SIZE _pcre2_strlen(PCRE2_SPTR); 1986 extern int _pcre2_strncmp(PCRE2_SPTR, PCRE2_SPTR, size_t); [all …]
|
H A D | pcre2_convert.c | 130 PCRE2_SPTR posix = pattern; in convert_posix() 371 PCRE2_SPTR output_end; /* output end */ 406 PCRE2_SPTR output_end = out->output_end; in convert_glob_write_str() 476 convert_glob_parse_class(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, in convert_glob_parse_class() 481 PCRE2_SPTR start = *from + 1; in convert_glob_parse_class() 482 PCRE2_SPTR pattern = start; in convert_glob_parse_class() 577 convert_glob_parse_range(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, in convert_glob_parse_range() 584 PCRE2_SPTR pattern = *from; in convert_glob_parse_range() 585 PCRE2_SPTR char_start = NULL; in convert_glob_parse_range() 792 PCRE2_SPTR pattern_start = pattern; in convert_glob() [all …]
|
H A D | pcre2_valid_utf.c | 63 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV() 94 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV() 96 PCRE2_SPTR p; in PRIV()
|
H A D | pcre2_pattern_info.c | 106 return sizeof(PCRE2_SPTR); in pcre2_pattern_info() 233 *((PCRE2_SPTR *)where) = (PCRE2_SPTR)((char *)re + sizeof(pcre2_real_code)); in pcre2_pattern_info() 273 PCRE2_SPTR cc; in pcre2_callout_enumerate() 294 cc = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)) in pcre2_callout_enumerate()
|
H A D | pcre2_printint.c | 92 print_char(FILE *f, PCRE2_SPTR ptr, BOOL utf) in print_char() 205 print_custring(FILE *f, PCRE2_SPTR ptr) in print_custring() 215 print_custring_bylen(FILE *f, PCRE2_SPTR ptr, PCRE2_UCHAR len) in print_custring_bylen() 272 print_prop(FILE *f, PCRE2_SPTR code, const char *before, const char *after) in print_prop() 310 PCRE2_SPTR codestart, nametable, code; in pcre2_printint() 314 nametable = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)); in pcre2_printint() 319 PCRE2_SPTR ccode; in pcre2_printint() 417 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 434 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 604 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
|
H A D | pcre2_find_bracket.c | 69 PCRE2_SPTR 70 PRIV(find_bracket)(PCRE2_SPTR code, BOOL utf, int number) in PRIV()
|
H A D | pcre2_dfa_match.c | 353 do_callout(PCRE2_SPTR code, PCRE2_SIZE *offsets, PCRE2_SPTR current_subject, in do_callout() 537 PCRE2_SPTR ptr; in internal_dfa_match() 538 PCRE2_SPTR end_code; in internal_dfa_match() 748 PCRE2_SPTR code; in internal_dfa_match() 2040 PCRE2_SPTR nptr; in internal_dfa_match() 2566 PCRE2_SPTR ecode; in internal_dfa_match() 3249 PCRE2_SPTR start_match; in pcre2_dfa_match() 3250 PCRE2_SPTR end_subject; in pcre2_dfa_match() 3251 PCRE2_SPTR bumpalong_limit; in pcre2_dfa_match() 3252 PCRE2_SPTR req_cu_ptr; in pcre2_dfa_match() [all …]
|
H A D | pcre2_auto_possess.c | 307 static PCRE2_SPTR 308 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() 313 PCRE2_SPTR end; in get_chr_property_list() 518 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() 519 const uint32_t *base_list, PCRE2_SPTR base_end, int *rec_limit) in compare_opcodes() 526 PCRE2_SPTR next_code; in compare_opcodes() 528 PCRE2_SPTR xclass_flags; in compare_opcodes() 1117 PCRE2_SPTR end; in PRIV()
|
H A D | pcre2_script_run.c | 85 PRIV(script_run)(PCRE2_SPTR ptr, PCRE2_SPTR endptr, BOOL utf) in PRIV()
|
H A D | pcre2_compile.c | 1312 read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign, in read_number() 1398 read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp, in read_repeat_counts() 1582 PCRE2_SPTR oldptr; in PRIV() 2187 check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr) in check_posix_syntax() 2520 PCRE2_SPTR thisptr; in parse_regex() 2521 PCRE2_SPTR name; in parse_regex() 2589 PCRE2_SPTR tempptr; in parse_regex() 6757 PCRE2_SPTR pp; in compile_branch() 8495 static PCRE2_SPTR 9997 PCRE2_SPTR p; in pcre2_compile() [all …]
|
H A D | pcre2_match_data.c | 111 PCRE2_EXP_DEFN PCRE2_SPTR PCRE2_CALL_CONVENTION
|
H A D | pcre2_jit_compile.c | 180 PCRE2_SPTR str; 181 PCRE2_SPTR begin; 182 PCRE2_SPTR end; 246 PCRE2_SPTR cc; 832 static PCRE2_SPTR bracketend(PCRE2_SPTR cc) in bracketend() 1071 PCRE2_SPTR slot; in check_opcode_types() 1242 PCRE2_SPTR end; in detect_early_fail() 1618 PCRE2_SPTR next; in detect_repeat() 10048 static PCRE2_SPTR SLJIT_FUNC do_script_run(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run() 10057 static PCRE2_SPTR SLJIT_FUNC do_script_run_utf(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run_utf() [all …]
|
H A D | pcre2_study.c | 103 find_minlength(const pcre2_real_code *re, PCRE2_SPTR code, in find_minlength() 104 PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, in find_minlength() 116 PCRE2_SPTR nextbranch = code + GET(code, 1); in find_minlength() 780 static PCRE2_SPTR 781 set_table_bit(pcre2_real_code *re, PCRE2_SPTR p, BOOL caseless, BOOL utf, in set_table_bit() 953 set_start_bits(pcre2_real_code *re, PCRE2_SPTR code, BOOL utf, BOOL ucp, in set_start_bits() 971 PCRE2_SPTR tcode = code + 1 + LINK_SIZE; in set_start_bits() 1518 PCRE2_SPTR p = tcode + 1 + LINK_SIZE + 1 + ((classmap == NULL)? 0:32); in set_start_bits()
|
H A D | pcre2_match.c | 357 PCRE2_SPTR p; in match_ref() 359 PCRE2_SPTR eptr; in match_ref() 360 PCRE2_SPTR eptr_start; in match_ref() 582 match(PCRE2_SPTR start_eptr, PCRE2_SPTR start_ecode, PCRE2_SIZE *ovector, in match() 4132 PCRE2_SPTR fptr; in match() 6127 PCRE2_SPTR bumpalong_limit; in pcre2_match() 6128 PCRE2_SPTR end_subject; in pcre2_match() 6132 PCRE2_SPTR start_partial; in pcre2_match() 6133 PCRE2_SPTR match_partial; in pcre2_match() 6167 PCRE2_SPTR stack_frames_vector[START_FRAMES_SIZE/sizeof(PCRE2_SPTR)] in pcre2_match() [all …]
|
H A D | pcre2_xclass.c | 69 PRIV(xclass)(uint32_t c, PCRE2_SPTR data, BOOL utf) in PRIV()
|
H A D | pcre2_jit_match.c | 85 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match()
|
/PHP-8.0/ext/pcre/ |
H A D | php_pcre.c | 1064 uint32_t num_subpats, int count, const PCRE2_SPTR mark, zend_long flags) { in populate_subpat_array() 1195 PCRE2_SPTR mark = NULL; /* Target for MARK name */ in php_pcre_match_impl() 1306 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl() 1405 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl() 1452 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl() 1668 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl() 1786 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl() 1843 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl() 1924 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl() 1995 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl() [all …]
|
/PHP-8.0/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 181 …if ((it->re = pcre2_compile((PCRE2_SPTR)regexp, p - regexp, PCRE2_NO_AUTO_CAPTURE, &errnumber, &pc… in zend_accel_blacklist_update_regexp() 364 …int rc = pcre2_match(regexp_list_it->re, (PCRE2_SPTR)verify_path, verify_path_len, 0, 0, match_dat…
|