Searched refs:mlen (Results 1 – 8 of 8) sorted by relevance
/PHP-8.3/main/streams/ |
H A D | memory.c | 642 mlen = comma - path; in php_stream_url_wrap_rfc2397() 643 dlen -= mlen; in php_stream_url_wrap_rfc2397() 644 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397() 645 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397() 655 mlen = 0; in php_stream_url_wrap_rfc2397() 659 mlen -= plen; in php_stream_url_wrap_rfc2397() 669 mlen--; in php_stream_url_wrap_rfc2397() 670 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397() 680 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397() 691 mlen -= plen; in php_stream_url_wrap_rfc2397() [all …]
|
/PHP-8.3/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 99 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding() 100 *ubuf = CAST(file_unichar_t *, ecalloc(CAST(size_t, 1), mlen)); in file_encoding() 102 file_oomem(ms, mlen); in file_encoding() 152 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding() 153 if ((nbuf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_encoding() 154 file_oomem(ms, mlen); in file_encoding()
|
H A D | funcs.c | 75 file_checkfield(char *msg, size_t mlen, const char *what, const char **pp) in file_checkfield() argument 88 snprintf(msg, mlen, "field %s too large: %d", what, fw); in file_checkfield() 94 file_checkfmt(char *msg, size_t mlen, const char *fmt) in file_checkfmt() argument 107 snprintf(msg, mlen, "* not allowed in format"); in file_checkfmt() 111 if (!file_checkfield(msg, mlen, "width", &p)) in file_checkfmt() 116 if (!file_checkfield(msg, mlen, "precision", &p)) in file_checkfmt() 122 snprintf(msg, mlen, "bad format char: %c", *p); in file_checkfmt()
|
H A D | apprentice.c | 1505 size_t mlen; in apprentice_load() local 1507 mlen = maxfiles * sizeof(*filearr); in apprentice_load() 1509 erealloc(filearr, mlen))) == NULL) { in apprentice_load() 1510 file_oomem(ms, mlen); in apprentice_load()
|
/PHP-8.3/ext/fileinfo/ |
H A D | libmagic.patch | 414 size_t mlen; 417 mlen = maxfiles * sizeof(*filearr); 419 - realloc(filearr, mlen))) == NULL) { 421 + erealloc(filearr, mlen))) == NULL) { 422 file_oomem(ms, mlen); 880 mlen = ulen * 6; 883 file_oomem(ms, mlen); 1371 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); 1375 file_oomem(ms, mlen); 1380 mlen = (nbytes + 1) * sizeof(nbuf[0]); [all …]
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg.c | 335 size_t clen, mlen; in PHP_FUNCTION() local 337 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &class, &clen, &method, &mlen) == FAILURE) { in PHP_FUNCTION()
|
/PHP-8.3/Zend/ |
H A D | zend_API.c | 3732 size_t mlen; in zend_is_callable_check_func() local 3736 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func() 3785 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0); in zend_is_callable_check_func()
|
Completed in 59 milliseconds