Home
last modified time | relevance | path

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

/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_substitute.c342 if (start_offset > length) in pcre2_substitute()
391 save_start = start_offset++; in pcre2_substitute()
395 start_offset < length && in pcre2_substitute()
397 start_offset++; in pcre2_substitute()
404 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
405 start_offset++; in pcre2_substitute()
407 while (start_offset < length && in pcre2_substitute()
409 start_offset++; in pcre2_substitute()
444 ovecsave[2] = start_offset; in pcre2_substitute()
928 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()
3241 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_dfa_match() argument
3303 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_dfa_match()
3358 start_match = subject + start_offset; in pcre2_dfa_match()
3425 mb->start_offset = start_offset; in pcre2_dfa_match()
3484 if (start_offset > 0) in pcre2_dfa_match()
3735 if (start_match > mb->start_subject + start_offset) in pcre2_dfa_match()
3901 start_offset, /* start offset in subject */ in pcre2_dfa_match()
H A Dpcre2_intmodedep.h860 PCRE2_SIZE start_offset; /* The start offset value */ member
902 PCRE2_SIZE start_offset; /* The start offset value */ member
H A Dpcre2_match.c838 Fstart_match == mb->start_subject + mb->start_offset))) in match()
6130 PCRE2_SPTR start_match = subject + start_offset; in pcre2_match()
6186 if (start_offset > length) return PCRE2_ERROR_BADOFFSET; in pcre2_match()
6292 if (start_offset > 0) return PCRE2_ERROR_BADUTFOFFSET; in pcre2_match()
6322 if (start_offset >= re->max_lookbehind) in pcre2_match()
6345 rc = pcre2_jit_match(code, subject, length, start_offset, options, in pcre2_match()
6414 if (start_offset > 0) return PCRE2_ERROR_BADUTFOFFSET; in pcre2_match()
6454 if (start_offset >= re->max_lookbehind) in pcre2_match()
6537 mb->start_offset = start_offset; in pcre2_match()
6865 if (start_match > mb->start_subject + start_offset) in pcre2_match()
[all …]
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c990 ZVAL_STRINGL(val, subject + start_offset, end_offset - start_offset); in populate_match_value_str()
1045 ZVAL_LONG(&val2, start_offset); in add_offset_pair()
1140 Z_PARAM_LONG(start_offset) in php_do_pcre_match()
1231 if (start_offset < 0) { in php_pcre_match_impl()
1644 start_offset = 0; in php_pcre_replace_impl()
1799 start_offset += unit_len; in php_pcre_replace_impl()
1894 start_offset = 0; in php_pcre_replace_func_impl()
2008 start_offset += unit_len; in php_pcre_replace_func_impl()
2561 start_offset = 0; in php_pcre_split_impl()
2667 start_offset += calculate_unit_length(pce, subject + start_offset); in php_pcre_split_impl()
[all …]
H A Dphp_pcre.h46 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);

Completed in 42 milliseconds