Searched refs:mlen (Results 1 – 8 of 8) sorted by relevance
/PHP-8.1/main/streams/ |
H A D | memory.c | 635 mlen = comma - path; in php_stream_url_wrap_rfc2397() 636 dlen -= mlen; in php_stream_url_wrap_rfc2397() 637 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397() 638 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397() 648 mlen = 0; in php_stream_url_wrap_rfc2397() 652 mlen -= plen; in php_stream_url_wrap_rfc2397() 662 mlen--; in php_stream_url_wrap_rfc2397() 663 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397() 673 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397() 684 mlen -= plen; in php_stream_url_wrap_rfc2397() [all …]
|
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | ascmagic.c | 113 size_t mlen, i, len; in file_ascmagic_with_encoding() local 145 mlen = ulen * 6; in file_ascmagic_with_encoding() 146 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding() 147 file_oomem(ms, mlen); in file_ascmagic_with_encoding() 150 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
|
H A D | encoding.c | 81 size_t mlen; in file_encoding() local 100 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding() 101 *ubuf = CAST(file_unichar_t *, ecalloc(CAST(size_t, 1), mlen)); in file_encoding() 103 file_oomem(ms, mlen); in file_encoding() 106 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding() 108 ecalloc(CAST(size_t, 1), mlen))) == NULL) { in file_encoding() 109 file_oomem(ms, mlen); in file_encoding()
|
H A D | funcs.c | 79 file_checkfield(char *msg, size_t mlen, const char *what, const char **pp) in file_checkfield() argument 92 snprintf(msg, mlen, "field %s too large: %d", what, fw); in file_checkfield() 98 file_checkfmt(char *msg, size_t mlen, const char *fmt) in file_checkfmt() argument 110 snprintf(msg, mlen, "* not allowed in format"); in file_checkfmt() 114 if (!file_checkfield(msg, mlen, "width", &p)) in file_checkfmt() 119 if (!file_checkfield(msg, mlen, "precision", &p)) in file_checkfmt() 125 snprintf(msg, mlen, "bad format char: %c", *p); in file_checkfmt()
|
H A D | apprentice.c | 1373 size_t mlen; in apprentice_load() local 1375 mlen = maxfiles * sizeof(*filearr); in apprentice_load() 1377 erealloc(filearr, mlen))) == NULL) { in apprentice_load() 1378 file_oomem(ms, mlen); in apprentice_load()
|
/PHP-8.1/ext/fileinfo/ |
H A D | libmagic.patch | 469 size_t mlen; 472 mlen = maxfiles * sizeof(*filearr); 474 - realloc(filearr, mlen))) == NULL) { 476 + erealloc(filearr, mlen))) == NULL) { 477 file_oomem(ms, mlen); 943 mlen = ulen * 6; 946 file_oomem(ms, mlen); 1482 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); 1486 file_oomem(ms, mlen); 1489 mlen = (nbytes + 1) * sizeof(nbuf[0]); [all …]
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg.c | 333 size_t clen, mlen; in PHP_FUNCTION() local 335 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &class, &clen, &method, &mlen) == FAILURE) { in PHP_FUNCTION()
|
/PHP-8.1/Zend/ |
H A D | zend_API.c | 3506 size_t mlen; in zend_is_callable_check_func() local 3510 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func() 3554 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0); in zend_is_callable_check_func()
|
Completed in 59 milliseconds