Lines Matching defs:doc
114 xmlParseExternalEntityPrivate(xmlDocPtr doc, xmlParserCtxtPtr oldctxt,
6073 list->doc = ctxt->myDoc;
9194 * Then possibly doc type declaration(s) and more Misc
10934 ret->doc = NULL;
10937 tmp->doc = NULL;
11049 ret->doc = NULL;
11052 tmp->doc = NULL;
11189 newDoc->children->doc = ctx->myDoc;
11296 * @doc: the document the chunk pertains to
11312 xmlParseExternalEntityPrivate(xmlDocPtr doc, xmlParserCtxtPtr oldctxt,
11334 if (doc == NULL)
11375 newDoc->intSubset = doc->intSubset;
11376 newDoc->extSubset = doc->extSubset;
11377 newDoc->dict = doc->dict;
11380 if (doc->URL != NULL) {
11381 newDoc->URL = xmlStrdup(doc->URL);
11398 ctxt->myDoc = doc;
11399 newRoot->doc = doc;
11481 * @doc: the document the chunk pertains to
11500 xmlParseExternalEntity(xmlDocPtr doc, xmlSAXHandlerPtr sax, void *user_data,
11502 return(xmlParseExternalEntityPrivate(doc, NULL, sax, user_data, depth, URL,
11508 * @doc: the document the chunk pertains to
11527 xmlParseBalancedChunkMemory(xmlDocPtr doc, xmlSAXHandlerPtr sax,
11529 return xmlParseBalancedChunkMemoryRecover( doc, sax, user_data,
11727 xmlDocPtr doc = NULL;
11760 doc = node->doc;
11762 doc = (xmlDocPtr) node;
11763 if (doc == NULL)
11770 if (doc->type == XML_DOCUMENT_NODE)
11773 else if (doc->type == XML_HTML_DOCUMENT_NODE)
11789 * Use input doc's dict if present, else assure XML_PARSE_NODICT is set.
11790 * We need a dictionary for xmlDetectSAX2, so if there's no doc dict
11793 if (doc->dict != NULL) {
11796 ctxt->dict = doc->dict;
11802 ctxt->myDoc = doc;
11842 if (doc->type == XML_HTML_DOCUMENT_NODE)
11897 if (doc->dict != NULL)
11910 * @doc: the document the chunk pertains to
11933 xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc, xmlSAXHandlerPtr sax,
11969 if ((doc != NULL) && (doc->dict != NULL)) {
11971 ctxt->dict = doc->dict;
11980 if (doc != NULL) {
11981 newDoc->intSubset = doc->intSubset;
11982 newDoc->extSubset = doc->extSubset;
11996 if (doc == NULL) {
12000 newDoc->children->doc = doc;
12001 /* Ensure that doc has XML spec namespace */
12002 xmlSearchNsByHref(doc, (xmlNodePtr)doc, XML_XML_NAMESPACE);
12003 newDoc->oldNs = doc->oldNs;
12015 if ( doc != NULL ){
12016 content = doc->children;
12017 doc->children = NULL;
12019 doc->children = content;
12052 xmlSetTreeDoc(cur, doc);