/php-src/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() 95 PCRE2_SPTR 96 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() 97 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV() 122 PCRE2_SPTR bptr = eptr - 1; in PRIV()
|
H A D | pcre2_intmodedep.h | 660 PCRE2_SPTR mark; /* Pointer to last mark */ 686 PCRE2_SPTR group; 697 PCRE2_SPTR group; 778 PCRE2_SPTR subject_position; 779 PCRE2_SPTR last_used_ptr; 833 PCRE2_SPTR eptr; /* MUST BE FIRST */ 834 PCRE2_SPTR start_match; /* Can be adjusted by \K */ 882 PCRE2_SPTR name_table; /* Table of group names */ 885 PCRE2_SPTR check_subject; /* Where UTF-checked from */ 893 PCRE2_SPTR verb_ecode_ptr; /* For passing back info */ [all …]
|
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_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() 484 PCRE2_SPTR *firstptr, PCRE2_SPTR *lastptr) in pcre2_substring_nametable_scan() 489 PCRE2_SPTR nametable = (PCRE2_SPTR)((char *)code + sizeof(pcre2_real_code)); in pcre2_substring_nametable_scan() 494 PCRE2_SPTR entry = nametable + entrysize*mid; in pcre2_substring_nametable_scan() 498 PCRE2_SPTR first; in pcre2_substring_nametable_scan() 499 PCRE2_SPTR last; in pcre2_substring_nametable_scan() 500 PCRE2_SPTR lastentry; in pcre2_substring_nametable_scan() [all …]
|
H A D | pcre2.h | 532 PCRE2_SPTR subject; /* The subject being matched */ \ 541 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 555 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 563 PCRE2_SPTR output; /* Pointer to output buffer */ \ 694 pcre2_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 698 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \ 734 pcre2_substring_nametable_scan(const pcre2_code *, PCRE2_SPTR, PCRE2_SPTR *, \ 735 PCRE2_SPTR *); \ 737 pcre2_substring_number_from_name(const pcre2_code *, PCRE2_SPTR); \ 763 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() 269 replacement = (PCRE2_SPTR)""; in pcre2_substitute() 327 scb.output = (PCRE2_SPTR)buffer; in pcre2_substitute() 335 subject = (PCRE2_SPTR)""; in pcre2_substitute() 543 PCRE2_SPTR text1_start = NULL; in pcre2_substitute() 544 PCRE2_SPTR text1_end = NULL; in pcre2_substitute() 545 PCRE2_SPTR text2_start = NULL; in pcre2_substitute() [all …]
|
H A D | pcre2_convert.c | 129 PCRE2_SPTR posix = pattern; in convert_posix() 370 PCRE2_SPTR output_end; /* output end */ 405 PCRE2_SPTR output_end = out->output_end; in convert_glob_write_str() 475 convert_glob_parse_class(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, in convert_glob_parse_class() 480 PCRE2_SPTR start = *from + 1; in convert_glob_parse_class() 481 PCRE2_SPTR pattern = start; in convert_glob_parse_class() 584 convert_glob_parse_range(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, in convert_glob_parse_range() 591 PCRE2_SPTR pattern = *from; in convert_glob_parse_range() 592 PCRE2_SPTR char_start = NULL; in convert_glob_parse_range() 799 PCRE2_SPTR pattern_start = pattern; in convert_glob() [all …]
|
H A D | pcre2_internal.h | 173 #undef PCRE2_SPTR 174 #define PCRE2_SPTR CUSTOM_SUBJECT_PTR macro 2045 extern int _pcre2_check_escape(PCRE2_SPTR *, PCRE2_SPTR, uint32_t *, 2047 extern PCRE2_SPTR _pcre2_extuni(uint32_t, PCRE2_SPTR, PCRE2_SPTR, PCRE2_SPTR, 2049 extern PCRE2_SPTR _pcre2_find_bracket(PCRE2_SPTR, BOOL, int); 2050 extern BOOL _pcre2_is_newline(PCRE2_SPTR, uint32_t, PCRE2_SPTR, 2058 extern BOOL _pcre2_script_run(PCRE2_SPTR, PCRE2_SPTR, BOOL); 2059 extern int _pcre2_strcmp(PCRE2_SPTR, PCRE2_SPTR); 2062 extern PCRE2_SIZE _pcre2_strlen(PCRE2_SPTR); 2063 extern int _pcre2_strncmp(PCRE2_SPTR, PCRE2_SPTR, size_t); [all …]
|
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_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_dfa_match.c | 355 do_callout_dfa(PCRE2_SPTR code, PCRE2_SIZE *offsets, PCRE2_SPTR current_subject, in do_callout_dfa() 539 PCRE2_SPTR ptr; in internal_dfa_match() 540 PCRE2_SPTR end_code; in internal_dfa_match() 750 PCRE2_SPTR code; in internal_dfa_match() 2144 PCRE2_SPTR nptr; in internal_dfa_match() 2670 PCRE2_SPTR ecode; in internal_dfa_match() 3358 PCRE2_SPTR start_match; in pcre2_dfa_match() 3359 PCRE2_SPTR end_subject; in pcre2_dfa_match() 3360 PCRE2_SPTR bumpalong_limit; in pcre2_dfa_match() 3361 PCRE2_SPTR req_cu_ptr; in pcre2_dfa_match() [all …]
|
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() 302 print_prop(FILE *f, PCRE2_SPTR code, const char *before, const char *after) in print_prop() 340 PCRE2_SPTR codestart, nametable, code; in pcre2_printint() 344 nametable = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)); in pcre2_printint() 349 PCRE2_SPTR ccode; in pcre2_printint() 459 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 476 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 646 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_auto_possess.c | 324 static PCRE2_SPTR 325 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() 330 PCRE2_SPTR end; in get_chr_property_list() 536 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() 537 const uint32_t *base_list, PCRE2_SPTR base_end, int *rec_limit) in compare_opcodes() 544 PCRE2_SPTR next_code; in compare_opcodes() 546 PCRE2_SPTR xclass_flags; in compare_opcodes() 563 PCRE2_SPTR bracode; in compare_opcodes() 1141 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_jit_compile.c | 186 PCRE2_SPTR str; 187 PCRE2_SPTR begin; 188 PCRE2_SPTR end; 261 PCRE2_SPTR cc; 863 static PCRE2_SPTR bracketend(PCRE2_SPTR cc) in bracketend() 1120 PCRE2_SPTR slot; in check_opcode_types() 1297 PCRE2_SPTR end; in detect_early_fail() 1702 PCRE2_SPTR next; in detect_repeat() 10706 static PCRE2_SPTR SLJIT_FUNC do_script_run(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run() 10715 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_compile.c | 1325 read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign, in read_number() 1412 read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp, in read_repeat_counts() 1416 PCRE2_SPTR pp; in read_repeat_counts() 1656 PCRE2_SPTR oldptr; in PRIV() 2377 check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr) in check_posix_syntax() 2803 PCRE2_SPTR thisptr; in parse_regex() 2804 PCRE2_SPTR name; in parse_regex() 2873 PCRE2_SPTR tempptr; in parse_regex() 7135 PCRE2_SPTR pp; in compile_branch() 8919 static PCRE2_SPTR [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() 783 static PCRE2_SPTR 784 set_table_bit(pcre2_real_code *re, PCRE2_SPTR p, BOOL caseless, BOOL utf, in set_table_bit() 956 set_start_bits(pcre2_real_code *re, PCRE2_SPTR code, BOOL utf, BOOL ucp, in set_start_bits() 974 PCRE2_SPTR tcode = code + 1 + LINK_SIZE; in set_start_bits() 982 PCRE2_SPTR ncode; in set_start_bits() 1608 PCRE2_SPTR p = tcode + 1 + LINK_SIZE + 1 + ((classmap == NULL)? 0:32); in set_start_bits()
|
H A D | pcre2_match_data.c | 118 PCRE2_EXP_DEFN PCRE2_SPTR PCRE2_CALL_CONVENTION
|
H A D | pcre2_match.c | 364 PCRE2_SPTR p; in match_ref() 366 PCRE2_SPTR eptr; in match_ref() 367 PCRE2_SPTR eptr_start; in match_ref() 594 match(PCRE2_SPTR start_eptr, PCRE2_SPTR start_ecode, uint16_t top_bracket, in match() 610 PCRE2_SPTR branch_start; in match() 6556 PCRE2_SPTR end_subject; in pcre2_match() 6558 PCRE2_SPTR start_match; in pcre2_match() 6559 PCRE2_SPTR req_cu_ptr; in pcre2_match() 6560 PCRE2_SPTR start_partial; in pcre2_match() 6561 PCRE2_SPTR match_partial; in pcre2_match() [all …]
|
H A D | pcre2_jit_match.c | 91 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match()
|
H A D | pcre2_xclass.c | 69 PRIV(xclass)(uint32_t c, PCRE2_SPTR data, BOOL utf) in PRIV()
|
/php-src/ext/pcre/ |
H A D | php_pcre.c | 1036 uint32_t num_subpats, int count, const PCRE2_SPTR mark, zend_long flags) { in populate_subpat_array() 1172 PCRE2_SPTR mark = NULL; /* Target for MARK name */ in php_pcre_match_impl() 1275 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl() 1375 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl() 1422 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl() 1666 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl() 1783 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl() 1840 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl() 1909 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl() 1978 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl() [all …]
|
/php-src/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…
|