Lines Matching refs:mlen
609 size_t mlen, dlen, plen, vlen, ilen; in php_stream_url_wrap_rfc2397() local
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()
647 add_assoc_stringl(&meta, "mediatype", (char *) 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()
654 …} else if (semi != path || mlen != sizeof(";base64")-1 || memcmp(path, ";base64", sizeof(";base64"… 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()
664 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
666 if (mlen != sizeof("base64")-1 || memcmp(path, "base64", sizeof("base64")-1)) { in php_stream_url_wrap_rfc2397()
673 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397()
679 vlen = (semi ? (size_t)(semi - sep) : (mlen - plen)) - 1 /* '=' */; in php_stream_url_wrap_rfc2397()
684 mlen -= plen; in php_stream_url_wrap_rfc2397()
687 if (mlen) { in php_stream_url_wrap_rfc2397()