Home
last modified time | relevance | path

Searched refs:start_offset (Results 1 – 7 of 7) sorted by relevance

/PHP-7.3/ext/pcre/pcre2lib/
H A Dpcre2_substitute.c294 if (start_offset > length) in pcre2_substitute()
300 CHECKMEMCPY(subject, start_offset); in pcre2_substitute()
334 save_start = start_offset++; in pcre2_substitute()
338 start_offset < length && in pcre2_substitute()
340 start_offset++; in pcre2_substitute()
347 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
348 start_offset++; in pcre2_substitute()
352 start_offset++; in pcre2_substitute()
831 ovecsave[2] = start_offset; in pcre2_substitute()
835 start_offset = ovector[1]; in pcre2_substitute()
[all …]
H A Dpcre2_jit_match.c87 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_jit_match() argument
95 (void)start_offset; in pcre2_jit_match()
125 arguments.str = subject + start_offset; in pcre2_jit_match()
H A Dpcre2_dfa_match.c515 PCRE2_SIZE start_offset, in internal_dfa_match() argument
872 current_subject > start_subject + mb->start_offset))) in internal_dfa_match()
970 if (ptr == start_subject + start_offset) { ADD_ACTIVE(state_offset + 1, 0); } in internal_dfa_match()
3225 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_dfa_match() argument
3276 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_dfa_match()
3326 start_match = subject + start_offset; in pcre2_dfa_match()
3393 mb->start_offset = start_offset; in pcre2_dfa_match()
3450 if (start_offset > 0) in pcre2_dfa_match()
3659 if (start_match > mb->start_subject + start_offset) in pcre2_dfa_match()
3797 start_offset, /* start offset in subject */ in pcre2_dfa_match()
H A Dpcre2_intmodedep.h857 PCRE2_SIZE start_offset; /* The start offset value */ member
898 PCRE2_SIZE start_offset; /* The start offset value */ member
H A Dpcre2_match.c818 Fstart_match == mb->start_subject + mb->start_offset))) in match()
5713 if (Feptr != mb->start_subject + mb->start_offset) RRETURN(MATCH_NOMATCH); in match()
5999 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_match() argument
6021 PCRE2_SPTR start_match = subject + start_offset; in pcre2_match()
6054 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_match()
6112 if (start_offset > 0) in pcre2_match()
6134 if (start_offset >= re->max_lookbehind) in pcre2_match()
6170 rc = pcre2_jit_match(code, subject, length, start_offset, options, in pcre2_match()
6207 mb->start_offset = start_offset; in pcre2_match()
6500 if (start_match > mb->start_subject + start_offset) in pcre2_match()
[all …]
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c995 Z_PARAM_LONG(start_offset) in php_do_pcre_match()
1065 if (start_offset < 0) { in php_pcre_match_impl()
1595 start_offset = 0; in php_pcre_replace_impl()
1740 piece = subject + start_offset; in php_pcre_replace_impl()
1750 start_offset += unit_len; in php_pcre_replace_impl()
1847 start_offset = 0; in php_pcre_replace_func_impl()
1960 start_offset += unit_len; in php_pcre_replace_func_impl()
2519 start_offset = 0; in php_pcre_split_impl()
2608 start_offset = offsets[1]; in php_pcre_split_impl()
2625 start_offset += calculate_unit_length(pce, ZSTR_VAL(subject_str) + start_offset); in php_pcre_split_impl()
[all …]
H A Dphp_pcre.h50 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);

Completed in 88 milliseconds