Home
last modified time | relevance | path

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

/PHP-8.0/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-8.0/ext/fileinfo/libmagic/
H A Dascmagic.c112 size_t mlen, i, len; in file_ascmagic_with_encoding() local
144 mlen = ulen * 6; in file_ascmagic_with_encoding()
145 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
146 file_oomem(ms, mlen); in file_ascmagic_with_encoding()
149 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(unicodechar *, ecalloc(CAST(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()
97 ecalloc(CAST(size_t, 1), mlen))) == NULL) { in file_encoding()
98 file_oomem(ms, mlen); in file_encoding()
H A Dfuncs.c76 file_checkfield(char *msg, size_t mlen, const char *what, const char **pp) in file_checkfield() argument
89 snprintf(msg, mlen, "field %s too large: %d", what, fw); in file_checkfield()
95 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 Dapprentice.c1373 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.0/ext/fileinfo/
H A Dlibmagic.patch471 size_t mlen;
474 mlen = maxfiles * sizeof(*filearr);
476 - realloc(filearr, mlen))) == NULL) {
478 + erealloc(filearr, mlen))) == NULL) {
479 file_oomem(ms, mlen);
971 mlen = ulen * 6;
974 file_oomem(ms, mlen);
1554 size_t mlen;
1568 file_oomem(ms, mlen);
1571 mlen = (nbytes + 1) * sizeof(nbuf[0]);
[all …]
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg.c382 size_t clen, mlen; in PHP_FUNCTION() local
384 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &class, &clen, &method, &mlen) == FAILURE) { in PHP_FUNCTION()
/PHP-8.0/Zend/
H A Dzend_API.c3158 size_t mlen; in zend_is_callable_check_func() local
3162 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func()
3189 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0); in zend_is_callable_check_func()

Completed in 48 milliseconds