Home
last modified time | relevance | path

Searched refs:PCRE2_SPTR (Results 1 – 25 of 33) sorted by last modified time

12

/PHP-7.4/ext/pgsql/
H A Dpgsql.c5778 …re = pcre2_compile((PCRE2_SPTR)regex, regex_len, options, &errnumber, &err_offset, php_pcre_cctx()…
5792 res = pcre2_match(re, (PCRE2_SPTR)str, str_len, 0, 0, match_data, php_pcre_mctx());
/PHP-7.4/ext/filter/
H A Dlogical_filters.c489 …rc = pcre2_match(re, (PCRE2_SPTR)Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, match_data, php_pcre_… in php_filter_validate_regexp()
706 …rc = pcre2_match(re, (PCRE2_SPTR)Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, match_data, php_pcre_… in php_filter_validate_email()
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c1058 uint32_t num_subpats, int count, const PCRE2_SPTR mark, zend_long flags) { in populate_subpat_array()
1189 PCRE2_SPTR mark = NULL; /* Target for MARK name */ in php_pcre_match_impl()
1300 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1399 count = pcre2_match(pce->re, (PCRE2_SPTR)subject, subject_len, start_offset2, in php_pcre_match_impl()
1446 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-7.4/ext/mbstring/
H A Dmbstring.c1059 if (!(retval = pcre2_compile((PCRE2_SPTR)pattern, PCRE2_ZERO_TERMINATED, in _php_mb_compile_regex()
1080 res = pcre2_match(opaque, (PCRE2_SPTR)str, str_len, 0, 0, match_data, php_pcre_mctx()) >= 0; in _php_mb_match_regex()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_compile.c180 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 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_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()
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 Dpcre2_match.c357 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 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_dfa_match.c353 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 Dpcre2_internal.h155 #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 Dpcre2_compile.c1312 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 Dpcre2.h522 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 Dpcre2_auto_possess.c307 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 Dpcre2_match_data.c111 PCRE2_EXP_DEFN PCRE2_SPTR PCRE2_CALL_CONVENTION
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()
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 Dpcre2_jit_match.c85 pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_jit_match()
H A Dpcre2_intmodedep.h656 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 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()
/PHP-7.4/ext/zip/
H A Dphp_zip.c689 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(namelist[i]), ZSTR_LEN(namelist[i]), 0, 0, match_data, m… in php_zip_pcre()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch3329 + rv = pcre2_match(re, (PCRE2_SPTR)fmt, strlen(fmt), 0, 0, match_data, php_pcre_mctx()) > 0;
/PHP-7.4/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()
361 …int rc = pcre2_match(regexp_list_it->re, (PCRE2_SPTR)verify_path, verify_path_len, 0, 0, match_dat…
/PHP-7.4/ext/spl/
H A Dspl_iterators.c2042 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(subject), ZSTR_LEN(subject), 0, 0, match_data, php_pcre_… in SPL_METHOD()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c486 rv = pcre2_match(re, (PCRE2_SPTR)fmt, strlen(fmt), 0, 0, match_data, php_pcre_mctx()) > 0; in check_fmt()
/PHP-7.4/ext/standard/
H A Dbrowscap.c614 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(agent_name), ZSTR_LEN(agent_name), 0, 0, match_data, php… in browser_reg_compare()

Completed in 556 milliseconds

12