Searched refs:mlen (Results 1 – 7 of 7) sorted by relevance
/PHP-7.2/main/streams/ |
H A D | memory.c | 647 mlen = comma - path; in php_stream_url_wrap_rfc2397() 648 dlen -= mlen; in php_stream_url_wrap_rfc2397() 649 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397() 650 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397() 660 mlen = 0; in php_stream_url_wrap_rfc2397() 664 mlen -= plen; in php_stream_url_wrap_rfc2397() 674 mlen--; in php_stream_url_wrap_rfc2397() 675 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397() 685 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397() 698 mlen -= plen; in php_stream_url_wrap_rfc2397() [all …]
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | ascmagic.c | 103 size_t mlen, i; in file_ascmagic_with_encoding() local 135 mlen = ulen * 6; in file_ascmagic_with_encoding() 136 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding() 137 file_oomem(ms, mlen); in file_ascmagic_with_encoding() 140 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
|
H A D | encoding.c | 71 size_t mlen; in file_encoding() local 80 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding() 81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 82 file_oomem(ms, mlen); in file_encoding() 85 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding() 86 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 87 file_oomem(ms, mlen); in file_encoding()
|
H A D | apprentice.c | 1279 size_t mlen; in apprentice_load() local 1281 mlen = maxfiles * sizeof(*filearr); in apprentice_load() 1283 erealloc(filearr, mlen))) == NULL) { in apprentice_load() 1284 file_oomem(ms, mlen); in apprentice_load()
|
/PHP-7.2/ext/fileinfo/ |
H A D | libmagic.patch | 514 mlen = maxfiles * sizeof(*filearr); 516 - realloc(filearr, mlen))) == NULL) { 517 + erealloc(filearr, mlen))) == NULL) { 518 file_oomem(ms, mlen); 936 mlen = ulen * 6; 937 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) { 938 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { 939 file_oomem(ms, mlen);
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg.c | 391 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()
|
/PHP-7.2/Zend/ |
H A D | zend_API.c | 3044 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 44 milliseconds