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;
1416 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1434 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1565 xptrctxt = xmlXPtrNewContext(ctxt->doc, ctxt->incTab[nr]->ref,
1571 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1580 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1597 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1639 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1646 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1661 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1698 base = xmlGetNsProp(ctxt->incTab[nr]->ref, BAD_CAST "base",
1707 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1749 ctxt->incTab[nr]->ref,
1805 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref, XML_XINCLUDE_HREF_URI,
1810 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref, XML_XINCLUDE_TEXT_FRAGMENT,
1819 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref, XML_XINCLUDE_HREF_URI,
1829 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1848 if ((ctxt->incTab[nr] != NULL) && (ctxt->incTab[nr]->ref != NULL)) {
1849 encoding = xmlGetProp(ctxt->incTab[nr]->ref, XINCLUDE_PARSE_ENCODING);
1860 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
1895 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2011 cur = ctxt->incTab[nr]->ref;
2031 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2066 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2124 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2161 cur = ctxt->incTab[nr]->ref;
2193 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
2221 xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,