Home
last modified time | relevance | path

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

/PHP-7.2/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.c1501 mstart == md->start_subject + md->start_offset))) in match()
2101 if (eptr != md->start_subject + md->start_offset) RRETURN(MATCH_NOMATCH); in match()
6379 PCRE_PUCHAR start_match = (PCRE_PUCHAR)subject + start_offset; in pcre_exec()
6401 start_offset == -999) in pcre_exec()
6415 if (start_offset < 0 || start_offset > length) return PCRE_ERROR_BADOFFSET; in pcre_exec()
6464 if (start_offset > 0 && start_offset < length && in pcre_exec()
6465 NOT_FIRSTCHAR(((PCRE_PUCHAR)subject)[start_offset])) in pcre_exec()
6484 start_offset, options, offsets, offsetcount); in pcre_exec()
6555 md->start_offset = start_offset; in pcre_exec()
6798 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.c11423 int length, int start_offset, int options, int *offsets, int offset_count) in PRIV()
11444 arguments.str = subject + start_offset; in PRIV()
11497 PCRE_SPTR subject, int length, int start_offset, int options, in pcre_jit_exec() argument
11502 PCRE_SPTR16 subject, int length, int start_offset, int options, in pcre_jit_exec()
11507 PCRE_SPTR32 subject, int length, int start_offset, int options, in pcre_jit_exec()
11537 arguments.str = subject_ptr + start_offset; in pcre_jit_exec()
H A DChangeLog4664 been extended. If start_offset is not zero, PCRE now checks that it points
/PHP-7.2/ext/pcre/
H A Dphp_pcre.c729 Z_PARAM_LONG(start_offset) in php_do_pcre_match()
808 if (start_offset < 0) { in php_pcre_match_impl()
809 start_offset = subject_len + start_offset; in php_pcre_match_impl()
810 if (start_offset < 0) { in php_pcre_match_impl()
811 start_offset = 0; in php_pcre_match_impl()
870 if (start_offset < 0 || start_offset > subject_len) { in php_pcre_match_impl()
1351 start_offset = 0; in php_pcre_replace_impl()
1610 start_offset = 0; in php_pcre_replace_func_impl()
2286 start_offset = 0; in php_pcre_split_impl()
2372 start_offset += calculate_unit_length(pce, ZSTR_VAL(subject_str) + 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 96 milliseconds