Lines Matching refs:scheme
221 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlParse3986Scheme()
222 uri->scheme = STRNDUP(*str, cur - *str); in xmlParse3986Scheme()
1075 if (uri->scheme != NULL) { in xmlSaveUri()
1076 p = uri->scheme; in xmlSaveUri()
1195 } else if (uri->scheme != NULL) { in xmlSaveUri()
1208 if ((uri->scheme != NULL) && in xmlSaveUri()
1213 (xmlStrEqual(BAD_CAST uri->scheme, BAD_CAST "file"))) { in xmlSaveUri()
1351 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlCleanURI()
1352 uri->scheme = NULL; in xmlCleanURI()
1381 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlFreeURI()
1774 if (uri->scheme) { in xmlURIEscape()
1775 segment = xmlURIEscapeStr(BAD_CAST uri->scheme, BAD_CAST "+-."); in xmlURIEscape()
1910 if ((ref != NULL) && (ref->scheme != NULL)) { in xmlBuildURI()
1957 if ((ref->scheme == NULL) && (ref->path == NULL) && in xmlBuildURI()
1959 if (bas->scheme != NULL) in xmlBuildURI()
1960 res->scheme = xmlMemStrdup(bas->scheme); in xmlBuildURI()
1990 if (ref->scheme != NULL) { in xmlBuildURI()
1994 if (bas->scheme != NULL) in xmlBuildURI()
1995 res->scheme = xmlMemStrdup(bas->scheme); in xmlBuildURI()
2211 if ((ref->scheme != NULL) && in xmlBuildRelativeURI()
2212 ((bas->scheme == NULL) || in xmlBuildRelativeURI()
2213 (xmlStrcmp ((xmlChar *)bas->scheme, (xmlChar *)ref->scheme)) || in xmlBuildRelativeURI()
2474 uri->scheme = xmlStrdup(BAD_CAST "file"); in xmlCanonicPath()
2500 if (uri->scheme == NULL) { in xmlCanonicPath()