Home
last modified time | relevance | path

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

/PHP-7.1/Zend/
H A Dzend_API.c2968 size_t mlen; in zend_is_callable_check_func() local
2972 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func()
2999 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0); in zend_is_callable_check_func()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch517 mlen = maxfiles * sizeof(*filearr);
519 - realloc(filearr, mlen))) == NULL) {
520 + erealloc(filearr, mlen))) == NULL) {
521 file_oomem(ms, mlen);
931 mlen = ulen * 6;
932 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
933 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
934 file_oomem(ms, mlen);
/PHP-7.1/ext/fileinfo/libmagic/
H A Dapprentice.c1266 size_t mlen; in apprentice_load() local
1268 mlen = maxfiles * sizeof(*filearr); in apprentice_load()
1270 erealloc(filearr, mlen))) == NULL) { in apprentice_load()
1271 file_oomem(ms, mlen); in apprentice_load()
H A Dascmagic.c106 size_t mlen, i; in file_ascmagic_with_encoding() local
141 mlen = ulen * 6; in file_ascmagic_with_encoding()
142 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
143 file_oomem(ms, mlen); in file_ascmagic_with_encoding()
146 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
H A Dencoding.c70 size_t mlen; in file_encoding() local
79 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding()
80 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
81 file_oomem(ms, mlen); in file_encoding()
84 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding()
85 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
86 file_oomem(ms, mlen); in file_encoding()
/PHP-7.1/main/streams/
H A Dmemory.c633 size_t mlen, dlen, plen, vlen; in php_stream_url_wrap_rfc2397() local
659 mlen = comma - path; in php_stream_url_wrap_rfc2397()
660 dlen -= mlen; in php_stream_url_wrap_rfc2397()
661 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
662 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397()
672 mlen = 0; in php_stream_url_wrap_rfc2397()
676 mlen -= plen; in php_stream_url_wrap_rfc2397()
686 mlen--; in php_stream_url_wrap_rfc2397()
687 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397()
710 mlen -= plen; in php_stream_url_wrap_rfc2397()
[all …]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg.c391 size_t clen = 0, mlen = 0; in PHP_FUNCTION() local
393 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &class, &clen, &method, &mlen) == FAILURE) { in PHP_FUNCTION()

Completed in 57 milliseconds