Home
last modified time | relevance | path

Searched refs:myDoc (Results 1 – 13 of 13) sorted by relevance

/external/libxml2/
DSAX2.c290 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 …]
Dparser.c2859 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 …]
Dxmlwriter.c382 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 …]
Dxmlreader.c837 (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 …]
DHTMLparser.c2221 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 …]
Dlegacy.c196 *((xmlDocPtr *) result) = ctxt->myDoc; in xmlGetFeature()
314 ctxt->myDoc = *((xmlDocPtr *) value); in xmlSetFeature()
Dxinclude.c466 ret = pctxt->myDoc; in xmlXIncludeParseFile()
470 if (pctxt->myDoc != NULL) in xmlXIncludeParseFile()
471 xmlFreeDoc(pctxt->myDoc); in xmlXIncludeParseFile()
472 pctxt->myDoc = NULL; in xmlXIncludeParseFile()
Dxmllint.c1711 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()
Dcatalog.c934 ret = ctxt->myDoc; in xmlParseCatalogFile()
937 xmlFreeDoc(ctxt->myDoc); in xmlParseCatalogFile()
938 ctxt->myDoc = NULL; in xmlParseCatalogFile()
DparserInternals.c1727 ctxt->myDoc = NULL; in xmlInitParserCtxt()
/external/libxslt/libxslt/
Ddocuments.c97 doc = pctxt->myDoc; in xsltDocDefaultLoaderFunc()
101 xmlFreeDoc(pctxt->myDoc); in xsltDocDefaultLoaderFunc()
102 pctxt->myDoc = NULL; in xsltDocDefaultLoaderFunc()
/external/webkit/Source/WebCore/dom/
DXMLDocumentParserLibxml2.cpp632 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/
Dparser.h187 xmlDocPtr myDoc; /* the document being built */ member