Home
last modified time | relevance | path

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

/PHP-7.1/ext/pcre/pcrelib/
H A Dpcredemo.c299 int start_offset = ovector[1]; /* Start at end of previous match */ in main() local
318 start_offset, /* starting offset in the subject */ in main()
339 ovector[1] = start_offset + 1; /* Advance one byte */ in main()
341 start_offset < subject_length - 1 && /* we are at CRLF, */ in main()
342 subject[start_offset] == '\r' && in main()
343 subject[start_offset + 1] == '\n') in main()
H A Dpcre_exec.c1499 mstart == md->start_subject + md->start_offset))) in match()
2099 if (eptr != md->start_subject + md->start_offset) RRETURN(MATCH_NOMATCH); in match()
6377 PCRE_PUCHAR start_match = (PCRE_PUCHAR)subject + start_offset; in pcre_exec()
6399 start_offset == -999) in pcre_exec()
6413 if (start_offset < 0 || start_offset > length) return PCRE_ERROR_BADOFFSET; in pcre_exec()
6462 if (start_offset > 0 && start_offset < length && in pcre_exec()
6463 NOT_FIRSTCHAR(((PCRE_PUCHAR)subject)[start_offset])) in pcre_exec()
6482 start_offset, options, offsets, offsetcount); in pcre_exec()
6553 md->start_offset = start_offset; in pcre_exec()
6796 if (start_match > md->start_subject + start_offset) in pcre_exec()
[all …]
H A Dpcre_internal.h2551 int start_offset; /* The start offset value */ member
2574 int start_offset; /* The start offset value */ member
H A Dpcre_jit_compile.c10412 int length, int start_offset, int options, int *offsets, int offset_count) in PRIV()
10433 arguments.str = subject + start_offset; in PRIV()
10486 PCRE_SPTR subject, int length, int start_offset, int options, in pcre_jit_exec() argument
10491 PCRE_SPTR16 subject, int length, int start_offset, int options, in pcre_jit_exec()
10496 PCRE_SPTR32 subject, int length, int start_offset, int options, in pcre_jit_exec()
10526 arguments.str = subject_ptr + start_offset; in pcre_jit_exec()
H A DChangeLog4478 been extended. If start_offset is not zero, PCRE now checks that it points
/PHP-7.1/ext/pcre/
H A Dphp_pcre.c707 Z_PARAM_LONG(start_offset) in php_do_pcre_match()
783 if (start_offset < 0) { in php_pcre_match_impl()
784 start_offset = subject_len + start_offset; in php_pcre_match_impl()
785 if (start_offset < 0) { in php_pcre_match_impl()
786 start_offset = 0; in php_pcre_match_impl()
1006 start_offset = offsets[1]; in php_pcre_match_impl()
1252 start_offset = 0; in php_pcre_replace_impl()
1429 start_offset = offsets[1]; in php_pcre_replace_impl()
1843 start_offset = 0; in php_pcre_split_impl()
1906 offsets[1] = start_offset + calculate_unit_length(pce, subject + start_offset); in php_pcre_split_impl()
[all …]
H A Dphp_pcre.h63 zval *subpats, int global, int use_flags, zend_long flags, zend_long start_offset);

Completed in 129 milliseconds