Lines Matching refs:path
601 static php_stream * php_stream_url_wrap_rfc2397(php_stream_wrapper *wrapper, char *path, char *mode… in php_stream_url_wrap_rfc2397() argument
611 if (memcmp(path, "data:", 5)) { in php_stream_url_wrap_rfc2397()
615 path += 5; in php_stream_url_wrap_rfc2397()
616 dlen = strlen(path); in php_stream_url_wrap_rfc2397()
618 if (dlen >= 2 && path[0] == '/' && path[1] == '/') { in php_stream_url_wrap_rfc2397()
620 path += 2; in php_stream_url_wrap_rfc2397()
623 if ((comma = memchr(path, ',', dlen)) == NULL) { in php_stream_url_wrap_rfc2397()
628 if (comma != path) { in php_stream_url_wrap_rfc2397()
630 mlen = comma - path; in php_stream_url_wrap_rfc2397()
632 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
633 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397()
643 add_assoc_stringl(meta, "mediatype", path, mlen, 1); in php_stream_url_wrap_rfc2397()
646 plen = semi - path; in php_stream_url_wrap_rfc2397()
647 add_assoc_stringl(meta, "mediatype", path, plen, 1); in php_stream_url_wrap_rfc2397()
649 path += plen; in php_stream_url_wrap_rfc2397()
650 …} else if (semi != path || mlen != sizeof(";base64")-1 || memcmp(path, ";base64", sizeof(";base64"… in php_stream_url_wrap_rfc2397()
656 while(semi && (semi == path)) { in php_stream_url_wrap_rfc2397()
657 path++; in php_stream_url_wrap_rfc2397()
659 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397()
660 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
662 if (mlen != sizeof("base64")-1 || memcmp(path, "base64", sizeof("base64")-1)) { in php_stream_url_wrap_rfc2397()
670 path += sizeof("base64") - 1; in php_stream_url_wrap_rfc2397()
674 plen = sep - path; in php_stream_url_wrap_rfc2397()
676 key = estrndup(path, plen); in php_stream_url_wrap_rfc2397()
681 path += plen; in php_stream_url_wrap_rfc2397()