Lines Matching refs:mlen
640 size_t mlen, dlen, plen, vlen, ilen; in php_stream_url_wrap_rfc2397() local
666 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()
678 add_assoc_stringl(&meta, "mediatype", (char *) 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()
685 …} else if (semi != path || mlen != sizeof(";base64")-1 || memcmp(path, ";base64", sizeof(";base64"… 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()
695 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
697 if (mlen != sizeof("base64")-1 || memcmp(path, "base64", sizeof("base64")-1)) { in php_stream_url_wrap_rfc2397()
704 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397()
710 vlen = (semi ? (size_t)(semi - sep) : (mlen - plen)) - 1 /* '=' */; in php_stream_url_wrap_rfc2397()
715 mlen -= plen; in php_stream_url_wrap_rfc2397()
718 if (mlen) { in php_stream_url_wrap_rfc2397()