Home | History | Annotate | Download | only in libxml2

Lines Matching refs:ref

56     xmlNodePtr            ref; /* the node making the reference in the source */
187 * @ref: the XInclude reference
192 xmlXIncludeFreeRef(xmlXIncludeRefPtr ref) {
193 if (ref == NULL)
196 xmlGenericError(xmlGenericErrorContext, "Freeing ref\n");
198 if (ref->doc != NULL) {
200 xmlGenericError(xmlGenericErrorContext, "Freeing doc %s\n", ref->URI);
202 xmlFreeDoc(ref->doc);
204 if (ref->URI != NULL)
205 xmlFree(ref->URI);
206 if (ref->fragment != NULL)
207 xmlFree(ref->fragment);
208 if (ref->xptr != NULL)
209 xmlXPathFreeObject(ref->xptr);
210 xmlFree(ref);
224 xmlNodePtr ref) {
228 xmlGenericError(xmlGenericErrorContext, "New ref %s\n", URI);
232 xmlXIncludeErrMemory(ctxt, ref, "growing XInclude context");
241 ret->ref = ref;
251 xmlXIncludeErrMemory(ctxt, ref, "growing XInclude context");
261 xmlXIncludeErrMemory(ctxt, ref, "growing XInclude context");
488 xmlXIncludeRefPtr ref;
641 ref
642 if (ref == NULL) {
645 ref->fragment = fragment;
646 ref->doc = NULL;
647 ref->xml = xml;
648 ref->count = 1;
1410 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1428 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1559 xptrctxt = xmlXPtrNewContext(ctxt->doc, ctxt->incTab[nr]->ref,
1565 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1574 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1591 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1633 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1640 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1655 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1692 base = xmlGetNsProp(ctxt->incTab[nr]->ref, BAD_CAST "base",
1701 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1743 ctxt->incTab[nr]->ref,
1799 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref, XML_XINCLUDE_HREF_URI,
1804 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref, XML_XINCLUDE_TEXT_FRAGMENT,
1813 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref, XML_XINCLUDE_HREF_URI,
1823 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1842 if ((ctxt->incTab[nr] != NULL) && (ctxt->incTab[nr]->ref != NULL)) {
1843 encoding = xmlGetProp(ctxt->incTab[nr]->ref, XINCLUDE_PARSE_ENCODING);
1854 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1889 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2005 cur = ctxt->incTab[nr]->ref;
2025 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2060 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2118 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2155 cur = ctxt->incTab[nr]->ref;
2187 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2215 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,