Home
last modified time | relevance | path

Searched refs:PCRE2_SPTR (Results 1 – 25 of 35) sorted by relevance

12

/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_extuni.c59 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 Dpcre2_string_utils.c102 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 Dpcre2_intmodedep.h658 PCRE2_SPTR mark; /* Pointer to last mark */
683 PCRE2_SPTR group;
694 PCRE2_SPTR group;
775 PCRE2_SPTR subject_position;
829 PCRE2_SPTR eptr; /* MUST BE FIRST */
830 PCRE2_SPTR start_match; /* Can be adjusted by \K */
877 PCRE2_SPTR name_table; /* Table of group names */
878 PCRE2_SPTR start_code; /* For use when recursing */
880 PCRE2_SPTR check_subject; /* Where UTF-checked from */
887 PCRE2_SPTR verb_ecode_ptr; /* For passing back info */
[all …]
H A Dpcre2_substring.c76 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 Dpcre2.h524 PCRE2_SPTR subject; /* The subject being matched */ \
533 PCRE2_SPTR callout_string; /* String compiled into pattern */ \
547 PCRE2_SPTR callout_string; /* String compiled into pattern */ \
555 PCRE2_SPTR output; /* Pointer to output buffer */ \
686 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \
720 pcre2_substring_nametable_scan(const pcre2_code *, PCRE2_SPTR, PCRE2_SPTR *, \
721 PCRE2_SPTR *); \
723 pcre2_substring_number_from_name(const pcre2_code *, PCRE2_SPTR); \
725 pcre2_substring_list_free(PCRE2_SPTR *); \
749 uint32_t, pcre2_match_data *, pcre2_match_context *, PCRE2_SPTR, \
[all …]
H A Dpcre2_newline.c79 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 Dpcre2_substitute.c79 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 Dpcre2_convert.c129 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()
576 convert_glob_parse_range(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, in convert_glob_parse_range()
583 PCRE2_SPTR pattern = *from; in convert_glob_parse_range()
584 PCRE2_SPTR char_start = NULL; in convert_glob_parse_range()
791 PCRE2_SPTR pattern_start = pattern; in convert_glob()
[all …]
H A Dpcre2_internal.h155 #undef PCRE2_SPTR
156 #define PCRE2_SPTR CUSTOM_SUBJECT_PTR macro
2011 extern int _pcre2_check_escape(PCRE2_SPTR *, PCRE2_SPTR, uint32_t *,
2013 extern PCRE2_SPTR _pcre2_extuni(uint32_t, PCRE2_SPTR, PCRE2_SPTR, PCRE2_SPTR,
2015 extern PCRE2_SPTR _pcre2_find_bracket(PCRE2_SPTR, BOOL, int);
2016 extern BOOL _pcre2_is_newline(PCRE2_SPTR, uint32_t, PCRE2_SPTR,
2024 extern BOOL _pcre2_script_run(PCRE2_SPTR, PCRE2_SPTR, BOOL);
2025 extern int _pcre2_strcmp(PCRE2_SPTR, PCRE2_SPTR);
2028 extern PCRE2_SIZE _pcre2_strlen(PCRE2_SPTR);
2029 extern int _pcre2_strncmp(PCRE2_SPTR, PCRE2_SPTR, size_t);
[all …]
H A Dpcre2_valid_utf.c63 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 Dpcre2_pattern_info.c106 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 Dpcre2_printint.c92 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()
341 PCRE2_SPTR codestart, nametable, code; in pcre2_printint()
345 nametable = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)); in pcre2_printint()
350 PCRE2_SPTR ccode; in pcre2_printint()
448 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
465 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
635 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
H A Dpcre2_dfa_match.c353 do_callout_dfa(PCRE2_SPTR code, PCRE2_SIZE *offsets, PCRE2_SPTR current_subject, in do_callout_dfa()
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()
2097 PCRE2_SPTR nptr; in internal_dfa_match()
2623 PCRE2_SPTR ecode; in internal_dfa_match()
3306 PCRE2_SPTR start_match; in pcre2_dfa_match()
3307 PCRE2_SPTR end_subject; in pcre2_dfa_match()
3308 PCRE2_SPTR bumpalong_limit; in pcre2_dfa_match()
3309 PCRE2_SPTR req_cu_ptr; in pcre2_dfa_match()
[all …]
H A Dpcre2_find_bracket.c69 PCRE2_SPTR
70 PRIV(find_bracket)(PCRE2_SPTR code, BOOL utf, int number) in PRIV()
H A Dpcre2_auto_possess.c324 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()
1135 PCRE2_SPTR end; in PRIV()
H A Dpcre2_script_run.c85 PRIV(script_run)(PCRE2_SPTR ptr, PCRE2_SPTR endptr, BOOL utf) in PRIV()
H A Dpcre2_compile.c1319 read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign, in read_number()
1405 read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp, in read_repeat_counts()
1408 PCRE2_SPTR p; in read_repeat_counts()
1603 PCRE2_SPTR oldptr; in PRIV()
2295 check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr) in check_posix_syntax()
2628 PCRE2_SPTR thisptr; in parse_regex()
2629 PCRE2_SPTR name; in parse_regex()
2697 PCRE2_SPTR tempptr; in parse_regex()
6869 PCRE2_SPTR pp; in compile_branch()
8622 static PCRE2_SPTR
[all …]
H A Dpcre2_jit_compile.c180 PCRE2_SPTR str;
181 PCRE2_SPTR begin;
182 PCRE2_SPTR end;
246 PCRE2_SPTR cc;
837 static PCRE2_SPTR bracketend(PCRE2_SPTR cc) in bracketend()
1076 PCRE2_SPTR slot; in check_opcode_types()
1249 PCRE2_SPTR end; in detect_early_fail()
1616 PCRE2_SPTR next; in detect_repeat()
10356 static PCRE2_SPTR SLJIT_FUNC do_script_run(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run()
10365 static PCRE2_SPTR SLJIT_FUNC do_script_run_utf(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run_utf()
[all …]
H A Dpcre2_study.c103 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 Dpcre2_match_data.c118 PCRE2_EXP_DEFN PCRE2_SPTR PCRE2_CALL_CONVENTION
H A Dpcre2_match.c359 PCRE2_SPTR p; in match_ref()
361 PCRE2_SPTR eptr; in match_ref()
362 PCRE2_SPTR eptr_start; in match_ref()
589 match(PCRE2_SPTR start_eptr, PCRE2_SPTR start_ecode, uint16_t top_bracket, in match()
4341 PCRE2_SPTR fptr; in match()
6337 PCRE2_SPTR end_subject; in pcre2_match()
6339 PCRE2_SPTR start_match; in pcre2_match()
6340 PCRE2_SPTR req_cu_ptr; in pcre2_match()
6341 PCRE2_SPTR start_partial; in pcre2_match()
6342 PCRE2_SPTR match_partial; in pcre2_match()
[all …]
H A Dpcre2_jit_match.c85 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match()
H A Dpcre2_xclass.c69 PRIV(xclass)(uint32_t c, PCRE2_SPTR data, BOOL utf) in PRIV()
/PHP-8.3/ext/pcre/
H A Dphp_pcre.c1029 uint32_t num_subpats, int count, const PCRE2_SPTR mark, zend_long flags) { in populate_subpat_array()
1165 PCRE2_SPTR mark = NULL; /* Target for MARK name */ in php_pcre_match_impl()
1276 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()
1638 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1758 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1815 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_impl()
1896 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
1967 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset, in php_pcre_replace_func_impl()
[all …]
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_blacklist.c181 …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…

Completed in 212 milliseconds

12