Searched refs:myDoc (Results 1 – 13 of 13) sorted by relevance
/external/libxml2/ |
D | SAX2.c | 290 if ((ctx == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2IsStandalone() 291 return(ctxt->myDoc->standalone == 1); in xmlSAX2IsStandalone() 306 if ((ctxt == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2HasInternalSubset() 307 return(ctxt->myDoc->intSubset != NULL); in xmlSAX2HasInternalSubset() 322 if ((ctxt == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2HasExternalSubset() 323 return(ctxt->myDoc->extSubset != NULL); in xmlSAX2HasExternalSubset() 348 if (ctxt->myDoc == NULL) in xmlSAX2InternalSubset() 350 dtd = xmlGetIntSubset(ctxt->myDoc); in xmlSAX2InternalSubset() 356 ctxt->myDoc->intSubset = NULL; in xmlSAX2InternalSubset() 358 ctxt->myDoc->intSubset = in xmlSAX2InternalSubset() [all …]
|
D | parser.c | 2859 if (ctxt->myDoc != NULL) { in areBlanks() 2860 ret = xmlIsMixedElement(ctxt->myDoc, ctxt->node->name); in areBlanks() 5251 if ((ctxt->myDoc == NULL) || in xmlParseEntityDecl() 5252 (xmlStrEqual(ctxt->myDoc->version, SAX_COMPAT_MODE))) { in xmlParseEntityDecl() 5253 if (ctxt->myDoc == NULL) { in xmlParseEntityDecl() 5254 ctxt->myDoc = xmlNewDoc(SAX_COMPAT_MODE); in xmlParseEntityDecl() 5255 if (ctxt->myDoc == NULL) { in xmlParseEntityDecl() 5259 ctxt->myDoc->properties = XML_DOC_INTERNAL; in xmlParseEntityDecl() 5261 if (ctxt->myDoc->intSubset == NULL) in xmlParseEntityDecl() 5262 ctxt->myDoc->intSubset = xmlNewDtd(ctxt->myDoc, in xmlParseEntityDecl() [all …]
|
D | xmlwriter.c | 382 ctxt->myDoc = xmlNewDoc(BAD_CAST XML_DEFAULT_VERSION); in xmlNewTextWriterDoc() 383 if (ctxt->myDoc == NULL) { in xmlNewTextWriterDoc() 392 xmlFreeDoc(ctxt->myDoc); in xmlNewTextWriterDoc() 399 xmlSetDocCompressMode(ctxt->myDoc, compression); in xmlNewTextWriterDoc() 402 *doc = ctxt->myDoc; in xmlNewTextWriterDoc() 459 ctxt->myDoc = doc; in xmlNewTextWriterTree() 490 if ((writer->ctxt->myDoc != NULL) && (writer->no_doc_free == 0)) { in xmlFreeTextWriter() 491 xmlFreeDoc(writer->ctxt->myDoc); in xmlFreeTextWriter() 492 writer->ctxt->myDoc = NULL; in xmlFreeTextWriter() 4511 if (ctxt->myDoc == NULL) in xmlTextWriterStartDocumentCallback() [all …]
|
D | xmlreader.c | 837 (reader->ctxt->myDoc != NULL)) in xmlTextReaderPushData() 922 reader->ctxt->myDoc, node, node->name); in xmlTextReaderValidatePush() 931 reader->ctxt->myDoc, node, qname); in xmlTextReaderValidatePush() 944 reader->ctxt->myDoc, in xmlTextReaderValidatePush() 956 reader->ctxt->myDoc, in xmlTextReaderValidatePush() 1013 reader->ctxt->myDoc, node, node->name); in xmlTextReaderValidatePop() 1022 reader->ctxt->myDoc, node, qname); in xmlTextReaderValidatePop() 1039 reader->ctxt->myDoc, in xmlTextReaderValidatePop() 1290 if (reader->ctxt->myDoc != NULL) { in xmlTextReaderRead() 1291 reader->node = reader->ctxt->myDoc->children; in xmlTextReaderRead() [all …]
|
D | HTMLparser.c | 2221 if (xmlStrEqual(ctxt->name, BAD_CAST "body") && ctxt->myDoc != NULL) { in areBlanks() 2222 dtd = xmlGetIntSubset(ctxt->myDoc); in areBlanks() 4678 if ((!(ctxt->options & HTML_PARSE_NODEFDTD)) && (ctxt->myDoc != NULL)) { in htmlParseDocument() 4679 dtd = xmlGetIntSubset(ctxt->myDoc); in htmlParseDocument() 4681 ctxt->myDoc->intSubset = in htmlParseDocument() 4682 xmlCreateIntSubset(ctxt->myDoc, BAD_CAST "html", in htmlParseDocument() 4790 ctxt->myDoc = NULL; in htmlInitParserCtxt() 5874 if ((ctxt->myDoc != NULL) && in htmlParseTryOrFinish() 5878 dtd = xmlGetIntSubset(ctxt->myDoc); in htmlParseTryOrFinish() 5880 ctxt->myDoc->intSubset = in htmlParseTryOrFinish() [all …]
|
D | legacy.c | 196 *((xmlDocPtr *) result) = ctxt->myDoc; in xmlGetFeature() 314 ctxt->myDoc = *((xmlDocPtr *) value); in xmlSetFeature()
|
D | xinclude.c | 466 ret = pctxt->myDoc; in xmlXIncludeParseFile() 470 if (pctxt->myDoc != NULL) in xmlXIncludeParseFile() 471 xmlFreeDoc(pctxt->myDoc); in xmlXIncludeParseFile() 472 pctxt->myDoc = NULL; in xmlXIncludeParseFile()
|
D | xmllint.c | 1711 if (ctxt->myDoc != NULL) { in testSAX() 1713 xmlFreeDoc(ctxt->myDoc); in testSAX() 1714 ctxt->myDoc = NULL; in testSAX() 2207 doc = ctxt->myDoc; in parseAndPrintFile() 2272 doc = ctxt->myDoc; in parseAndPrintFile()
|
D | catalog.c | 934 ret = ctxt->myDoc; in xmlParseCatalogFile() 937 xmlFreeDoc(ctxt->myDoc); in xmlParseCatalogFile() 938 ctxt->myDoc = NULL; in xmlParseCatalogFile()
|
D | parserInternals.c | 1727 ctxt->myDoc = NULL; in xmlInitParserCtxt()
|
/external/libxslt/libxslt/ |
D | documents.c | 97 doc = pctxt->myDoc; in xsltDocDefaultLoaderFunc() 101 xmlFreeDoc(pctxt->myDoc); in xsltDocDefaultLoaderFunc() 102 pctxt->myDoc = NULL; in xsltDocDefaultLoaderFunc()
|
/external/webkit/Source/WebCore/dom/ |
D | XMLDocumentParserLibxml2.cpp | 632 if (m_context->myDoc) in ~XMLParserContext() 633 xmlFreeDoc(m_context->myDoc); in ~XMLParserContext() 1232 ent = xmlGetDocEntity(ctxt->myDoc, name); in getEntityHandler()
|
/external/libxml2/include/libxml/ |
D | parser.h | 187 xmlDocPtr myDoc; /* the document being built */ member
|