Lines Matching refs:URL
419 xmlXIncludeParseFile(xmlXIncludeCtxtPtr ctxt, const char *URL) { in xmlXIncludeParseFile() argument
450 inputStream = xmlLoadExternalEntity(URL, NULL, pctxt); in xmlXIncludeParseFile()
459 pctxt->directory = xmlParserGetDirectory(URL); in xmlXIncludeParseFile()
490 xmlChar *URL; in xmlXIncludeAddNode() local
541 URI = xmlBuildURI(href, ctxt->doc->URL); in xmlXIncludeAddNode()
604 URL = xmlSaveUri(uri); in xmlXIncludeAddNode()
607 if (URL == NULL) { in xmlXIncludeAddNode()
622 URL); in xmlXIncludeAddNode()
633 if (xmlStrEqual(URL, ctxt->urlTab[i])) { in xmlXIncludeAddNode()
635 "detected a recursion in %s\n", URL); in xmlXIncludeAddNode()
641 ref = xmlXIncludeNewRef(ctxt, URL, cur); in xmlXIncludeAddNode()
649 xmlFree(URL); in xmlXIncludeAddNode()
676 xmlGenericError(xmlGenericErrorContext, "Recursing in doc %s\n", doc->URL); in xmlXIncludeRecurseDoc()
1401 xmlChar *URL; in xmlXIncludeLoadDoc() local
1430 URL = xmlSaveUri(uri); in xmlXIncludeLoadDoc()
1432 if (URL == NULL) { in xmlXIncludeLoadDoc()
1450 if ((URL[0] == 0) || (URL[0] == '#') || in xmlXIncludeLoadDoc()
1451 ((ctxt->doc != NULL) && (xmlStrEqual(URL, ctxt->doc->URL)))) { in xmlXIncludeLoadDoc()
1460 if ((xmlStrEqual(URL, ctxt->incTab[i]->URI)) && in xmlXIncludeLoadDoc()
1464 printf("Already loaded %s\n", URL); in xmlXIncludeLoadDoc()
1474 printf("loading %s\n", URL); in xmlXIncludeLoadDoc()
1488 doc = xmlXIncludeParseFile(ctxt, (const char *)URL); in xmlXIncludeLoadDoc()
1493 xmlFree(URL); in xmlXIncludeLoadDoc()
1505 if (!xmlStrEqual(URL, doc->URL)) { in xmlXIncludeLoadDoc()
1506 xmlFree(URL); in xmlXIncludeLoadDoc()
1507 URL = xmlStrdup(doc->URL); in xmlXIncludeLoadDoc()
1510 if (xmlStrEqual(URL, ctxt->incTab[i]->URI)) { in xmlXIncludeLoadDoc()
1513 printf("Increasing %s count since reused\n", URL); in xmlXIncludeLoadDoc()
1537 xmlXIncludeRecurseDoc(ctxt, doc, URL); in xmlXIncludeLoadDoc()
1574 xmlFree(URL); in xmlXIncludeLoadDoc()
1585 xmlFree(URL); in xmlXIncludeLoadDoc()
1602 xmlFree(URL); in xmlXIncludeLoadDoc()
1609 xmlFree(URL); in xmlXIncludeLoadDoc()
1687 if ((doc != NULL) && (URL != NULL) && (xmlStrchr(URL, (xmlChar) '/')) && in xmlXIncludeLoadDoc()
1705 curBase = xmlBuildRelativeURI(URL, ctxt->base); in xmlXIncludeLoadDoc()
1709 "trying to build relative URI from %s\n", URL); in xmlXIncludeLoadDoc()
1733 if (xmlStrEqual(curBase, node->doc->URL)) { in xmlXIncludeLoadDoc()
1771 printf("freeing %s\n", ctxt->incTab[nr]->doc->URL); in xmlXIncludeLoadDoc()
1776 xmlFree(URL); in xmlXIncludeLoadDoc()
1795 xmlChar *URL; in xmlXIncludeLoadTxt() local
1816 URL = xmlSaveUri(uri); in xmlXIncludeLoadTxt()
1818 if (URL == NULL) { in xmlXIncludeLoadTxt()
1828 if (URL[0] == 0) { in xmlXIncludeLoadTxt()
1832 xmlFree(URL); in xmlXIncludeLoadTxt()
1840 if (xmlStrEqual(URL, ctxt->txturlTab[i])) { in xmlXIncludeLoadTxt()
1864 xmlFree(URL); in xmlXIncludeLoadTxt()
1873 buf = xmlParserInputBufferCreateFilename((const char *)URL, enc); in xmlXIncludeLoadTxt()
1875 xmlFree(URL); in xmlXIncludeLoadTxt()
1897 "%s contains invalid char\n", URL); in xmlXIncludeLoadTxt()
1899 xmlFree(URL); in xmlXIncludeLoadTxt()
1909 xmlXIncludeAddTxt(ctxt, node, URL); in xmlXIncludeLoadTxt()
1916 xmlFree(URL); in xmlXIncludeLoadTxt()
2047 URI = xmlBuildURI(href, ctxt->doc->URL); in xmlXIncludeLoadNode()
2342 if (doc->URL != NULL) { in xmlXIncludeDoProcess()
2343 ret = xmlXIncludeURLPush(ctxt, doc->URL); in xmlXIncludeDoProcess()
2411 if (doc->URL != NULL) in xmlXIncludeDoProcess()
2458 ctxt->base = xmlStrdup((xmlChar *)tree->doc->URL); in xmlXIncludeProcessTreeFlagsData()