Home
last modified time | relevance | path

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

/external/libxml2/
DSAX2.c308 if ((ctx == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2IsStandalone()
309 return(ctxt->myDoc->standalone == 1); in xmlSAX2IsStandalone()
324 if ((ctxt == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2HasInternalSubset()
325 return(ctxt->myDoc->intSubset != NULL); in xmlSAX2HasInternalSubset()
340 if ((ctxt == NULL) || (ctxt->myDoc == NULL)) return(0); in xmlSAX2HasExternalSubset()
341 return(ctxt->myDoc->extSubset != NULL); in xmlSAX2HasExternalSubset()
366 if (ctxt->myDoc == NULL) in xmlSAX2InternalSubset()
368 dtd = xmlGetIntSubset(ctxt->myDoc); in xmlSAX2InternalSubset()
374 ctxt->myDoc->intSubset = NULL; in xmlSAX2InternalSubset()
376 ctxt->myDoc->intSubset = in xmlSAX2InternalSubset()
[all …]
DtestThreads.c53 xmlDocPtr myDoc; in thread_specific_data() local
65 myDoc = xmlParseFile(filename); in thread_specific_data()
67 myDoc = xmlReadFile(filename, NULL, XML_WITH_CATALOG); in thread_specific_data()
69 if (myDoc) { in thread_specific_data()
70 xmlFreeDoc(myDoc); in thread_specific_data()
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()
Dparser.c2836 if (ctxt->myDoc != NULL) { in areBlanks()
2837 ret = xmlIsMixedElement(ctxt->myDoc, ctxt->node->name); in areBlanks()
5436 if ((ctxt->myDoc == NULL) || in xmlParseEntityDecl()
5437 (xmlStrEqual(ctxt->myDoc->version, SAX_COMPAT_MODE))) { in xmlParseEntityDecl()
5438 if (ctxt->myDoc == NULL) { in xmlParseEntityDecl()
5439 ctxt->myDoc = xmlNewDoc(SAX_COMPAT_MODE); in xmlParseEntityDecl()
5440 if (ctxt->myDoc == NULL) { in xmlParseEntityDecl()
5444 ctxt->myDoc->properties = XML_DOC_INTERNAL; in xmlParseEntityDecl()
5446 if (ctxt->myDoc->intSubset == NULL) in xmlParseEntityDecl()
5447 ctxt->myDoc->intSubset = xmlNewDtd(ctxt->myDoc, in xmlParseEntityDecl()
[all …]
Dxmlwriter.c384 ctxt->myDoc = xmlNewDoc(BAD_CAST XML_DEFAULT_VERSION); in xmlNewTextWriterDoc()
385 if (ctxt->myDoc == NULL) { in xmlNewTextWriterDoc()
394 xmlFreeDoc(ctxt->myDoc); in xmlNewTextWriterDoc()
401 xmlSetDocCompressMode(ctxt->myDoc, compression); in xmlNewTextWriterDoc()
404 *doc = ctxt->myDoc; in xmlNewTextWriterDoc()
461 ctxt->myDoc = doc; in xmlNewTextWriterTree()
492 if ((writer->ctxt->myDoc != NULL) && (writer->no_doc_free == 0)) { in xmlFreeTextWriter()
493 xmlFreeDoc(writer->ctxt->myDoc); in xmlFreeTextWriter()
494 writer->ctxt->myDoc = NULL; in xmlFreeTextWriter()
4516 if (ctxt->myDoc == NULL) in xmlTextWriterStartDocumentCallback()
[all …]
Dxmlreader.c860 (reader->ctxt->myDoc != NULL)) in xmlTextReaderPushData()
956 reader->ctxt->myDoc, node, node->name); in xmlTextReaderValidatePush()
965 reader->ctxt->myDoc, node, qname); in xmlTextReaderValidatePush()
978 reader->ctxt->myDoc, in xmlTextReaderValidatePush()
990 reader->ctxt->myDoc, in xmlTextReaderValidatePush()
1047 reader->ctxt->myDoc, node, node->name); in xmlTextReaderValidatePop()
1056 reader->ctxt->myDoc, node, qname); in xmlTextReaderValidatePop()
1073 reader->ctxt->myDoc, in xmlTextReaderValidatePop()
1325 if (reader->ctxt->myDoc != NULL) { in xmlTextReaderRead()
1326 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()
DHTMLparser.c2262 if (xmlStrEqual(ctxt->name, BAD_CAST "body") && ctxt->myDoc != NULL) { in areBlanks()
2263 dtd = xmlGetIntSubset(ctxt->myDoc); in areBlanks()
4832 if ((!(ctxt->options & HTML_PARSE_NODEFDTD)) && (ctxt->myDoc != NULL)) { in htmlParseDocument()
4833 dtd = xmlGetIntSubset(ctxt->myDoc); in htmlParseDocument()
4835 ctxt->myDoc->intSubset = in htmlParseDocument()
4836 xmlCreateIntSubset(ctxt->myDoc, BAD_CAST "html", in htmlParseDocument()
4944 ctxt->myDoc = NULL; in htmlInitParserCtxt()
6077 if ((!(ctxt->options & HTML_PARSE_NODEFDTD)) && (ctxt->myDoc != NULL) && in htmlParseTryOrFinish()
6081 dtd = xmlGetIntSubset(ctxt->myDoc); in htmlParseTryOrFinish()
6083 ctxt->myDoc->intSubset = in htmlParseTryOrFinish()
[all …]
Dlegacy.c196 *((xmlDocPtr *) result) = ctxt->myDoc; in xmlGetFeature()
314 ctxt->myDoc = *((xmlDocPtr *) value); in xmlSetFeature()
Druntest.c1728 xmlFreeDoc(ctxt->myDoc); in saxParseTest()
1757 xmlFreeDoc(ctxt->myDoc); in saxParseTest()
1917 doc = ctxt->myDoc; in pushParseTest()
3983 xmlDocPtr myDoc; in thread_specific_data() local
3996 myDoc = xmlParseFile(filename); in thread_specific_data()
3998 myDoc = xmlReadFile(filename, NULL, XML_WITH_CATALOG); in thread_specific_data()
4000 if (myDoc) { in thread_specific_data()
4001 xmlFreeDoc(myDoc); in thread_specific_data()
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.c1700 if (ctxt->myDoc != NULL) { in testSAX()
1702 xmlFreeDoc(ctxt->myDoc); in testSAX()
1703 ctxt->myDoc = NULL; in testSAX()
2209 doc = ctxt->myDoc; in parseAndPrintFile()
2280 doc = ctxt->myDoc; in parseAndPrintFile()
Dcatalog.c940 ret = ctxt->myDoc; in xmlParseCatalogFile()
943 xmlFreeDoc(ctxt->myDoc); in xmlParseCatalogFile()
944 ctxt->myDoc = NULL; in xmlParseCatalogFile()
DparserInternals.c1714 ctxt->myDoc = NULL; in xmlInitParserCtxt()
Dtestapi.c2296 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_htmlParseChunk()
2381 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_htmlParseDocument()
13795 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_xmlParseChunk()
13970 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_xmlParseDocument()
14039 if (ctxt != NULL) {xmlFreeDoc(ctxt->myDoc); ctxt->myDoc = NULL;} in test_xmlParseExtParsedEnt()
43499 … 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/fonttools/Doc/source/designspaceLib/
Dreadme.rst347 myDoc = DesignSpaceDocument(KeyedDocReader, KeyedDocWriter)
/external/libxml2/os400/libxmlrpg/
Dparser.rpgle203 d myDoc like(xmlDocPtr) Document being built
/external/ImageMagick/coders/
Dsvg.c3113 (void) xmlAddChild(parser->node,xmlNewCDataBlock(parser->myDoc,value,length)); in SVGCDataBlock()
Dmsl.c7718 (void) xmlAddChild(parser->node,xmlNewCDataBlock(parser->myDoc,value,length)); in MSLCDataBlock()