Lines Matching refs:mlen
614 size_t mlen, dlen, plen, vlen, ilen; in php_stream_url_wrap_rfc2397() local
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()
654 add_assoc_stringl(&meta, "mediatype", (char *) 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()
661 …} else if (semi != path || mlen != sizeof(";base64")-1 || memcmp(path, ";base64", sizeof(";base64"… 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()
671 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
673 if (mlen != sizeof("base64")-1 || memcmp(path, "base64", sizeof("base64")-1)) { in php_stream_url_wrap_rfc2397()
680 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397()
686 vlen = (semi ? (size_t)(semi - sep) : (mlen - plen)) - 1 /* '=' */; in php_stream_url_wrap_rfc2397()
691 mlen -= plen; in php_stream_url_wrap_rfc2397()
694 if (mlen) { in php_stream_url_wrap_rfc2397()