Home
last modified time | relevance | path

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

/php-src/ext/pcre/pcre2lib/
H A Dpcre2_substitute.c364 if (start_offset > length) in pcre2_substitute()
413 save_start = start_offset++; in pcre2_substitute()
417 start_offset < length && in pcre2_substitute()
419 start_offset++; in pcre2_substitute()
426 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
427 start_offset++; in pcre2_substitute()
429 while (start_offset < length && in pcre2_substitute()
431 start_offset++; in pcre2_substitute()
466 ovecsave[2] = start_offset; in pcre2_substitute()
950 ovecsave[2] = start_offset; in pcre2_substitute()
[all …]
H A Dpcre2_jit_match.c92 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_jit_match() argument
100 (void)start_offset; in pcre2_jit_match()
130 arguments.str = subject + start_offset; in pcre2_jit_match()
H A Dpcre2_dfa_match.c528 PCRE2_SIZE start_offset, in internal_dfa_match() argument
886 current_subject > start_subject + mb->start_offset))) in internal_dfa_match()
984 if (ptr == start_subject + start_offset) { ADD_ACTIVE(state_offset + 1, 0); } in internal_dfa_match()
3350 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_dfa_match() argument
3414 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_dfa_match()
3469 start_match = subject + start_offset; in pcre2_dfa_match()
3536 mb->start_offset = start_offset; in pcre2_dfa_match()
3595 if (start_offset > 0) in pcre2_dfa_match()
3865 if (start_match > mb->start_subject + start_offset) in pcre2_dfa_match()
4031 start_offset, /* start offset in subject */ in pcre2_dfa_match()
H A Dpcre2_intmodedep.h875 PCRE2_SIZE start_offset; /* The start offset value */ member
918 PCRE2_SIZE start_offset; /* The start offset value */ member
H A Dpcre2_match.c889 Fstart_match == mb->start_subject + mb->start_offset))) in match()
6601 start_match = subject + start_offset; in pcre2_match()
6610 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_match()
6716 if (start_offset > 0) return PCRE2_ERROR_BADUTFOFFSET; in pcre2_match()
6746 if (start_offset >= re->max_lookbehind) in pcre2_match()
6769 rc = pcre2_jit_match(code, subject, length, start_offset, options, in pcre2_match()
6839 if (start_offset > 0) return PCRE2_ERROR_BADUTFOFFSET; in pcre2_match()
6879 if (start_offset >= re->max_lookbehind) in pcre2_match()
6963 mb->start_offset = start_offset; in pcre2_match()
7323 if (start_match > mb->start_subject + start_offset) in pcre2_match()
[all …]
/php-src/ext/pcre/
H A Dphp_pcre.c954 ZVAL_STRINGL_FAST(val, subject + start_offset, end_offset - start_offset); in populate_match_value_str()
1104 Z_PARAM_LONG(start_offset) in php_do_pcre_match()
1114 global, flags, start_offset); in php_do_pcre_match()
1192 if (start_offset < 0) { in php_pcre_match_impl()
1632 start_offset = 0; in php_pcre_replace_impl()
1787 start_offset += unit_len; in php_pcre_replace_impl()
1881 start_offset = 0; in php_pcre_replace_func_impl()
1996 start_offset += unit_len; in php_pcre_replace_func_impl()
2590 start_offset = 0; in php_pcre_split_impl()
2697 start_offset += calculate_unit_length(pce, subject + start_offset); in php_pcre_split_impl()
[all …]
H A Dphp_pcre.h53 zval *subpats, bool global, zend_long flags, zend_off_t start_offset);

Completed in 65 milliseconds