Home
last modified time | relevance | path

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

/PHP-7.3/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.3/ext/fileinfo/libmagic/
H A Dascmagic.c107 size_t mlen, i; in file_ascmagic_with_encoding() local
139 mlen = ulen * 6; in file_ascmagic_with_encoding()
140 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
141 file_oomem(ms, mlen); in file_ascmagic_with_encoding()
144 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
H A Dencoding.c74 size_t mlen; in file_encoding() local
90 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding()
91 if ((*ubuf = CAST(unichar *, ecalloc((size_t)1, mlen))) == NULL) { in file_encoding()
92 file_oomem(ms, mlen); in file_encoding()
95 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding()
96 if ((nbuf = CAST(unsigned char *, ecalloc((size_t)1, mlen))) == NULL) { in file_encoding()
97 file_oomem(ms, mlen); in file_encoding()
H A Dapprentice.c1319 size_t mlen; in apprentice_load() local
1321 mlen = maxfiles * sizeof(*filearr); in apprentice_load()
1323 erealloc(filearr, mlen))) == NULL) { in apprentice_load()
1324 file_oomem(ms, mlen); in apprentice_load()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch578 mlen = maxfiles * sizeof(*filearr);
580 - realloc(filearr, mlen))) == NULL) {
581 + erealloc(filearr, mlen))) == NULL) {
582 file_oomem(ms, mlen);
1296 mlen = ulen * 6;
1297 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
1299 file_oomem(ms, mlen);
2135 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
2138 file_oomem(ms, mlen);
2141 mlen = (nbytes + 1) * sizeof(nbuf[0]);
[all …]
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg.c385 size_t clen = 0, mlen = 0; in PHP_FUNCTION() local
387 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &class, &clen, &method, &mlen) == FAILURE) { in PHP_FUNCTION()
/PHP-7.3/Zend/
H A Dzend_API.c3044 size_t mlen; in zend_is_callable_check_func() local
3048 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func()
3075 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0); in zend_is_callable_check_func()

Completed in 51 milliseconds