Home
last modified time | relevance | path

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

/external/libxml2/
DSAX2.c307 if ((ctx == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2IsStandalone()
308 return(ctxt->myDoc->standalone == 1); in xmlSAX2IsStandalone()
323 if ((ctxt == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2HasInternalSubset()
324 return(ctxt->myDoc->intSubset != NULL); in xmlSAX2HasInternalSubset()
339 if ((ctxt == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2HasExternalSubset()
340 return(ctxt->myDoc->extSubset != NULL); in xmlSAX2HasExternalSubset()
365 if (ctxt->myDoc == NULL) in xmlSAX2InternalSubset()
367 dtd = xmlGetIntSubset(ctxt->myDoc); in xmlSAX2InternalSubset()
373 ctxt->myDoc->intSubset = NULL; in xmlSAX2InternalSubset()
375 ctxt->myDoc->intSubset = in xmlSAX2InternalSubset()
[all …]
DtestThreadsWin32.c43 xmlDocPtr myDoc; in thread_specific_data() local
54 myDoc = xmlParseFile(filename); in thread_specific_data()
55 if (myDoc) { in thread_specific_data()
56 xmlFreeDoc(myDoc); in thread_specific_data()
DtestThreads.c53 xmlDocPtr myDoc; in thread_specific_data() local
64 myDoc = xmlParseFile(filename); in thread_specific_data()
65 if (myDoc) { in thread_specific_data()
66 xmlFreeDoc(myDoc); in thread_specific_data()
Dparser.c2981 if (ctxt->myDoc != NULL) { in areBlanks()
2982 ret = xmlIsMixedElement(ctxt->myDoc, ctxt->node->name); in areBlanks()
5587 if ((ctxt->myDoc == NULL) || in xmlParseEntityDecl()
5588 (xmlStrEqual(ctxt->myDoc->version, SAX_COMPAT_MODE))) { in xmlParseEntityDecl()
5589 if (ctxt->myDoc == NULL) { in xmlParseEntityDecl()
5590 ctxt->myDoc = xmlNewDoc(SAX_COMPAT_MODE); in xmlParseEntityDecl()
5591 if (ctxt->myDoc == NULL) { in xmlParseEntityDecl()
5595 ctxt->myDoc->properties = XML_DOC_INTERNAL; in xmlParseEntityDecl()
5597 if (ctxt->myDoc->intSubset == NULL) in xmlParseEntityDecl()
5598 ctxt->myDoc->intSubset = xmlNewDtd(ctxt->myDoc, in xmlParseEntityDecl()
[all …]
Dxmlwriter.c390 ctxt->myDoc = xmlNewDoc(BAD_CAST XML_DEFAULT_VERSION); in xmlNewTextWriterDoc()
391 if (ctxt->myDoc == NULL) { in xmlNewTextWriterDoc()
400 xmlFreeDoc(ctxt->myDoc); in xmlNewTextWriterDoc()
407 xmlSetDocCompressMode(ctxt->myDoc, compression); in xmlNewTextWriterDoc()
410 *doc = ctxt->myDoc; in xmlNewTextWriterDoc()
467 ctxt->myDoc = doc; in xmlNewTextWriterTree()
498 if ((writer->ctxt->myDoc != NULL) && (writer->no_doc_free == 0)) { in xmlFreeTextWriter()
499 xmlFreeDoc(writer->ctxt->myDoc); in xmlFreeTextWriter()
500 writer->ctxt->myDoc = NULL; in xmlFreeTextWriter()
4521 if (ctxt->myDoc == NULL) in xmlTextWriterStartDocumentCallback()
[all …]
Dxmlreader.c855 (reader->ctxt->myDoc != NULL)) in xmlTextReaderPushData()
951 reader->ctxt->myDoc, node, node->name); in xmlTextReaderValidatePush()
960 reader->ctxt->myDoc, node, qname); in xmlTextReaderValidatePush()
973 reader->ctxt->myDoc, in xmlTextReaderValidatePush()
985 reader->ctxt->myDoc, in xmlTextReaderValidatePush()
1042 reader->ctxt->myDoc, node, node->name); in xmlTextReaderValidatePop()
1051 reader->ctxt->myDoc, node, qname); in xmlTextReaderValidatePop()
1068 reader->ctxt->myDoc, in xmlTextReaderValidatePop()
1320 if (reader->ctxt->myDoc != NULL) { in xmlTextReaderRead()
1321 reader->node = reader->ctxt->myDoc->children; in xmlTextReaderRead()
[all …]
DtestHTML.c650 doc = ctxt->myDoc; in parseSAXFile()
680 doc = ctxt->myDoc; in parseSAXFile()
744 doc = ctxt->myDoc; in parseAndPrintFile()
Dlegacy.c196 *((xmlDocPtr *) result) = ctxt->myDoc; in xmlGetFeature()
314 ctxt->myDoc = *((xmlDocPtr *) value); in xmlSetFeature()
Dxinclude.c468 ret = pctxt->myDoc; in xmlXIncludeParseFile()
472 if (pctxt->myDoc != NULL) in xmlXIncludeParseFile()
473 xmlFreeDoc(pctxt->myDoc); in xmlXIncludeParseFile()
474 pctxt->myDoc = NULL; in xmlXIncludeParseFile()
Dxmllint.c1714 if (ctxt->myDoc != NULL) { in testSAX()
1716 xmlFreeDoc(ctxt->myDoc); in testSAX()
1717 ctxt->myDoc = NULL; in testSAX()
2216 doc = ctxt->myDoc; in parseAndPrintFile()
2287 doc = ctxt->myDoc; in parseAndPrintFile()
Druntest.c1849 doc = ctxt->myDoc; in pushParseTest()
3898 xmlDocPtr myDoc; in thread_specific_data() local
3909 myDoc = xmlParseFile(filename); in thread_specific_data()
3910 if (myDoc) { in thread_specific_data()
3911 xmlFreeDoc(myDoc); in thread_specific_data()
Dcatalog.c935 ret = ctxt->myDoc; in xmlParseCatalogFile()
938 xmlFreeDoc(ctxt->myDoc); in xmlParseCatalogFile()
939 ctxt->myDoc = NULL; in xmlParseCatalogFile()
DparserInternals.c1700 ctxt->myDoc = NULL; in xmlInitParserCtxt()
Dtestapi.c2283 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_htmlParseChunk()
2368 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_htmlParseDocument()
13714 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_xmlParseChunk()
13889 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_xmlParseDocument()
13958 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_xmlParseExtParsedEnt()
43301 … if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} if (ret_val != NULL) ctxt = NULL; in test_xmlNewTextWriterPushParser()
DChangeLog9388 if the result is not well formed that ctxt->myDoc is not NULL
/external/libxml2/doc/examples/
Dparse4.c92 doc = ctxt->myDoc; in example4Func()
/external/libxml2/include/libxml/
Dparser.h187 xmlDocPtr myDoc; /* the document being built */ member
/external/libxml2/os400/libxmlrpg/
Dparser.rpgle201 d myDoc like(xmlDocPtr) Document being built