Lines Matching refs:docu
680 xmlRelaxNGFreeDocument(xmlRelaxNGDocumentPtr docu) in xmlRelaxNGFreeDocument() argument
682 if (docu == NULL) in xmlRelaxNGFreeDocument()
685 if (docu->href != NULL) in xmlRelaxNGFreeDocument()
686 xmlFree(docu->href); in xmlRelaxNGFreeDocument()
687 if (docu->doc != NULL) in xmlRelaxNGFreeDocument()
688 xmlFreeDoc(docu->doc); in xmlRelaxNGFreeDocument()
689 if (docu->schema != NULL) in xmlRelaxNGFreeDocument()
690 xmlRelaxNGFreeInnerSchema(docu->schema); in xmlRelaxNGFreeDocument()
691 xmlFree(docu); in xmlRelaxNGFreeDocument()
701 xmlRelaxNGFreeDocumentList(xmlRelaxNGDocumentPtr docu) in xmlRelaxNGFreeDocumentList() argument
705 while (docu != NULL) { in xmlRelaxNGFreeDocumentList()
706 next = docu->next; in xmlRelaxNGFreeDocumentList()
707 xmlRelaxNGFreeDocument(docu); in xmlRelaxNGFreeDocumentList()
708 docu = next; in xmlRelaxNGFreeDocumentList()
4734 xmlRelaxNGDocumentPtr docu; in xmlRelaxNGProcessExternalRef() local
4740 docu = node->psvi; in xmlRelaxNGProcessExternalRef()
4741 if (docu != NULL) { in xmlRelaxNGProcessExternalRef()
4747 if (docu->content == NULL) { in xmlRelaxNGProcessExternalRef()
4751 root = xmlDocGetRootElement(docu->doc); in xmlRelaxNGProcessExternalRef()
4785 docu->schema = xmlRelaxNGParseDocument(ctxt, root); in xmlRelaxNGProcessExternalRef()
4787 if ((docu->schema != NULL) && in xmlRelaxNGProcessExternalRef()
4788 (docu->schema->topgrammar != NULL)) { in xmlRelaxNGProcessExternalRef()
4789 docu->content = docu->schema->topgrammar->start; in xmlRelaxNGProcessExternalRef()
4790 if (docu->schema->topgrammar->refs) in xmlRelaxNGProcessExternalRef()
4791 xmlRelaxNGParseImportRefs(ctxt, docu->schema->topgrammar); in xmlRelaxNGProcessExternalRef()
4801 def->content = docu->content; in xmlRelaxNGProcessExternalRef()
7037 xmlRelaxNGDocumentPtr docu; in xmlRelaxNGCleanupTree() local
7106 docu = xmlRelaxNGLoadExternalRef(ctxt, URL, ns); in xmlRelaxNGCleanupTree()
7107 if (docu == NULL) { in xmlRelaxNGCleanupTree()
7120 cur->psvi = docu; in xmlRelaxNGCleanupTree()