Home
last modified time | relevance | path

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

/PHP-5.3/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.c1551 mstart == md->start_subject + md->start_offset))) in match()
2079 if (eptr != md->start_subject + md->start_offset) RRETURN(MATCH_NOMATCH); in match()
6264 PCRE_PUCHAR start_match = (PCRE_PUCHAR)subject + start_offset; in pcre_exec()
6285 start_offset == -999) in pcre_exec()
6299 if (start_offset < 0 || start_offset > length) return PCRE_ERROR_BADOFFSET; in pcre_exec()
6348 if (start_offset > 0 && start_offset < length && in pcre_exec()
6349 NOT_FIRSTCHAR(((PCRE_PUCHAR)subject)[start_offset])) in pcre_exec()
6368 start_offset, options, offsets, offsetcount); in pcre_exec()
6428 md->start_offset = start_offset; in pcre_exec()
6672 if (start_match > md->start_subject + start_offset) in pcre_exec()
[all …]
H A Dpcre_internal.h2499 int start_offset; /* The start offset value */ member
2522 int start_offset; /* The start offset value */ member
H A DChangeLog3541 been extended. If start_offset is not zero, PCRE now checks that it points
/PHP-5.3/ext/pcre/
H A Dphp_pcre.c583 if (start_offset < 0) { in php_pcre_match_impl()
584 start_offset = subject_len + start_offset; in php_pcre_match_impl()
585 if (start_offset < 0) { in php_pcre_match_impl()
586 start_offset = 0; in php_pcre_match_impl()
731 offsets[0] = start_offset; in php_pcre_match_impl()
747 start_offset = offsets[1]; in php_pcre_match_impl()
1056 start_offset = 0; in php_pcre_replace_impl()
1204 start_offset = offsets[1]; in php_pcre_replace_impl()
1503 start_offset = 0; in php_pcre_split_impl()
1599 start_offset = offsets[1]; in php_pcre_split_impl()
[all …]
H A Dphp_pcre.h58 zval *subpats, int global, int use_flags, long flags, long start_offset TSRMLS_DC);
/PHP-5.3/ext/zlib/
H A Dzlib.c743 int start_offset = ((do_start && ZLIBG(compression_coding) == CODING_GZIP) ? 10 : 0); in php_do_deflate() local
747 if ((outlen + start_offset + end_offset) > *p_buffer_len) { in php_do_deflate()
748 buffer = (Bytef *) emalloc(outlen + start_offset + end_offset); in php_do_deflate()
753 ZLIBG(stream).next_out = buffer + start_offset; in php_do_deflate()
760 if ((outlen + start_offset + end_offset) > *p_buffer_len) { in php_do_deflate()
761 buffer = erealloc(buffer, outlen + start_offset + end_offset); in php_do_deflate()
764 ZLIBG(stream).next_out = buffer + start_offset + prev_outlen; in php_do_deflate()
772 buffer[outlen + start_offset - ZLIBG(stream).avail_out] = '\0'; in php_do_deflate()
/PHP-5.3/ext/imap/
H A Dphp_imap.c1333 long start_offset = 0; /* Start offset (not used) */ in PHP_FUNCTION() local
1347 0, regex_flags, start_offset TSRMLS_CC); in PHP_FUNCTION()

Completed in 76 milliseconds