Home
last modified time | relevance | path

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

/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_substitute.c361 if (start_offset > length) in pcre2_substitute()
410 save_start = start_offset++; in pcre2_substitute()
414 start_offset < length && in pcre2_substitute()
416 start_offset++; in pcre2_substitute()
423 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
424 start_offset++; in pcre2_substitute()
426 while (start_offset < length && in pcre2_substitute()
428 start_offset++; in pcre2_substitute()
463 ovecsave[2] = start_offset; in pcre2_substitute()
947 ovecsave[2] = start_offset; in pcre2_substitute()
[all …]
H A Dpcre2_jit_match.c86 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_jit_match() argument
94 (void)start_offset; in pcre2_jit_match()
124 arguments.str = subject + start_offset; in pcre2_jit_match()
H A Dpcre2_dfa_match.c526 PCRE2_SIZE start_offset, in internal_dfa_match() argument
884 current_subject > start_subject + mb->start_offset))) in internal_dfa_match()
982 if (ptr == start_subject + start_offset) { ADD_ACTIVE(state_offset + 1, 0); } in internal_dfa_match()
3298 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_dfa_match() argument
3362 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_dfa_match()
3417 start_match = subject + start_offset; in pcre2_dfa_match()
3484 mb->start_offset = start_offset; in pcre2_dfa_match()
3543 if (start_offset > 0) in pcre2_dfa_match()
3813 if (start_match > mb->start_subject + start_offset) in pcre2_dfa_match()
3979 start_offset, /* start offset in subject */ in pcre2_dfa_match()
H A Dpcre2_intmodedep.h871 PCRE2_SIZE start_offset; /* The start offset value */ member
913 PCRE2_SIZE start_offset; /* The start offset value */ member
H A Dpcre2_match.c841 Fstart_match == mb->start_subject + mb->start_offset))) in match()
6376 start_match = subject + start_offset; in pcre2_match()
6385 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_match()
6491 if (start_offset > 0) return PCRE2_ERROR_BADUTFOFFSET; in pcre2_match()
6521 if (start_offset >= re->max_lookbehind) in pcre2_match()
6544 rc = pcre2_jit_match(code, subject, length, start_offset, options, in pcre2_match()
6613 if (start_offset > 0) return PCRE2_ERROR_BADUTFOFFSET; in pcre2_match()
6653 if (start_offset >= re->max_lookbehind) in pcre2_match()
6737 mb->start_offset = start_offset; in pcre2_match()
7095 if (start_match > mb->start_subject + start_offset) in pcre2_match()
[all …]
/PHP-8.2/ext/pcre/
H A Dphp_pcre.c981 ZVAL_STRINGL_FAST(val, subject + start_offset, end_offset - start_offset); in populate_match_value_str()
1035 ZVAL_LONG(&val2, start_offset); in add_offset_pair()
1130 Z_PARAM_LONG(start_offset) in php_do_pcre_match()
1221 if (start_offset < 0) { in php_pcre_match_impl()
1628 start_offset = 0; in php_pcre_replace_impl()
1783 start_offset += unit_len; in php_pcre_replace_impl()
1878 start_offset = 0; in php_pcre_replace_func_impl()
1992 start_offset += unit_len; in php_pcre_replace_func_impl()
2547 start_offset = 0; in php_pcre_split_impl()
2653 start_offset += calculate_unit_length(pce, subject + start_offset); in php_pcre_split_impl()
[all …]
H A Dphp_pcre.h54 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);

Completed in 90 milliseconds