Home
last modified time | relevance | path

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

/PHP-7.4/main/streams/
H A Dmemory.c666 mlen = comma - path; in php_stream_url_wrap_rfc2397()
667 dlen -= mlen; in php_stream_url_wrap_rfc2397()
668 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
669 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397()
679 mlen = 0; in php_stream_url_wrap_rfc2397()
683 mlen -= plen; in php_stream_url_wrap_rfc2397()
693 mlen--; in php_stream_url_wrap_rfc2397()
694 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397()
704 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397()
715 mlen -= plen; in php_stream_url_wrap_rfc2397()
[all …]
/PHP-7.4/ext/fileinfo/libmagic/
H A Dascmagic.c113 size_t mlen, i, len; in file_ascmagic_with_encoding() local
146 mlen = ulen * 6; in file_ascmagic_with_encoding()
147 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
148 file_oomem(ms, mlen); in file_ascmagic_with_encoding()
151 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
H A Dencoding.c75 size_t mlen; in file_encoding() local
91 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding()
92 if ((*ubuf = CAST(unichar *, ecalloc(CAST(size_t, 1), mlen))) == NULL) { in file_encoding()
93 file_oomem(ms, mlen); in file_encoding()
96 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding()
98 ecalloc(CAST(size_t, 1), mlen))) == NULL) { in file_encoding()
99 file_oomem(ms, mlen); in file_encoding()
H A Dapprentice.c1333 size_t mlen; in apprentice_load() local
1335 mlen = maxfiles * sizeof(*filearr); in apprentice_load()
1337 erealloc(filearr, mlen))) == NULL) { in apprentice_load()
1338 file_oomem(ms, mlen); in apprentice_load()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch516 mlen = maxfiles * sizeof(*filearr);
518 - realloc(filearr, mlen))) == NULL) {
519 + erealloc(filearr, mlen))) == NULL) {
520 file_oomem(ms, mlen);
990 mlen = ulen * 6;
993 file_oomem(ms, mlen);
1615 size_t mlen;
1621 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
1624 file_oomem(ms, mlen);
1627 mlen = (nbytes + 1) * sizeof(nbuf[0]);
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.c368 size_t clen = 0, mlen = 0; in PHP_FUNCTION() local
370 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &class, &clen, &method, &mlen) == FAILURE) { in PHP_FUNCTION()
/PHP-7.4/Zend/
H A Dzend_API.c3061 size_t mlen; in zend_is_callable_check_func() local
3065 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func()
3092 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0); in zend_is_callable_check_func()

Completed in 45 milliseconds