Lines Matching refs:mlen
621 size_t mlen, dlen, plen, vlen, ilen; in php_stream_url_wrap_rfc2397() local
647 mlen = comma - path; in php_stream_url_wrap_rfc2397()
648 dlen -= mlen; in php_stream_url_wrap_rfc2397()
649 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
650 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397()
659 add_assoc_stringl(&meta, "mediatype", (char *) path, mlen); in php_stream_url_wrap_rfc2397()
660 mlen = 0; in php_stream_url_wrap_rfc2397()
664 mlen -= plen; in php_stream_url_wrap_rfc2397()
666 …} else if (semi != path || mlen != sizeof(";base64")-1 || memcmp(path, ";base64", sizeof(";base64"… in php_stream_url_wrap_rfc2397()
674 mlen--; in php_stream_url_wrap_rfc2397()
675 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397()
676 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
678 if (mlen != sizeof("base64")-1 || memcmp(path, "base64", sizeof("base64")-1)) { in php_stream_url_wrap_rfc2397()
685 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397()
691 vlen = (semi ? (size_t)(semi - sep) : (mlen - plen)) - 1 /* '=' */; in php_stream_url_wrap_rfc2397()
698 mlen -= plen; in php_stream_url_wrap_rfc2397()
701 if (mlen) { in php_stream_url_wrap_rfc2397()