Home
last modified time | relevance | path

Searched refs:doctype (Results 1 – 25 of 69) sorted by relevance

123

/external/libprotobuf-mutator/examples/xml/
Dxml_writer.cc37 void ToXml(const DoctypeDecl& doctype);
59 void XmlWriter::ToXml(const DoctypeDecl& doctype) { in ToXml() argument
60 out_ << "<!DOCTYPE " << doctype.name(); in ToXml()
61 if (doctype.has_external_id()) out_ << " " << doctype.external_id(); in ToXml()
62 if (doctype.has_int_subset()) out_ << " [" << doctype.int_subset() << "]"; in ToXml()
63 for (int i = 0; i < doctype.misk_size(); ++i) ToXml(doctype.misk(i)); in ToXml()
113 if (doc.has_doctype()) ToXml(doc.doctype()); in ToXml()
Dxml.proto22 optional DoctypeDecl doctype = 5; field
/external/python/cpython3/Lib/xml/dom/
Dexpatbuilder.py234 if self.document.doctype:
238 self.document.doctype.internalSubset = subset
242 doctype = self.document.implementation.createDocumentType(
244 doctype.ownerDocument = self.document
245 _append_child(self.document, doctype)
246 self.document.doctype = doctype
247 if self._filter and self._filter.acceptNode(doctype) == FILTER_REJECT:
248 self.document.doctype = None
250 doctype = None
254 if doctype is not None:
[all …]
Dminidom.py1431 def createDocument(self, namespaceURI, qualifiedName, doctype): argument
1432 if doctype and doctype.parentNode is not None:
1439 and doctype is None)
1465 if doctype:
1466 doc.appendChild(doctype)
1469 if doctype:
1470 doctype.parentNode = doctype.ownerDocument = doc
1472 doc.doctype = doctype
1477 doctype = DocumentType(qualifiedName)
1478 doctype.publicId = publicId
[all …]
/external/python/cpython2/Lib/xml/dom/
Dexpatbuilder.py234 if self.document.doctype:
238 self.document.doctype.internalSubset = subset
242 doctype = self.document.implementation.createDocumentType(
244 doctype.ownerDocument = self.document
245 _append_child(self.document, doctype)
246 self.document.doctype = doctype
247 if self._filter and self._filter.acceptNode(doctype) == FILTER_REJECT:
248 self.document.doctype = None
250 doctype = None
254 if doctype is not None:
[all …]
Dminidom.py1361 def createDocument(self, namespaceURI, qualifiedName, doctype): argument
1362 if doctype and doctype.parentNode is not None:
1369 and doctype is None)
1395 if doctype:
1396 doc.appendChild(doctype)
1399 if doctype:
1400 doctype.parentNode = doctype.ownerDocument = doc
1402 doc.doctype = doctype
1407 doctype = DocumentType(qualifiedName)
1408 doctype.publicId = publicId
[all …]
/external/python/cpython3/Lib/test/
Dtest_minidom.py27 def create_doc_without_doctype(doctype=None): argument
28 return getDOMImplementation().createDocument(None, "doc", doctype)
31 doctype = getDOMImplementation().createDocumentType("doc", None, None)
32 doctype.entities._seq = []
33 doctype.notations._seq = []
36 doctype.notations._seq.append(notation)
43 doctype.entities._seq.append(entity)
44 return doctype
47 doctype = create_nonempty_doctype()
48 doc = create_doc_without_doctype(doctype)
[all …]
/external/python/cpython2/Lib/test/
Dtest_minidom.py29 def create_doc_without_doctype(doctype=None): argument
30 return getDOMImplementation().createDocument(None, "doc", doctype)
33 doctype = getDOMImplementation().createDocumentType("doc", None, None)
34 doctype.entities._seq = []
35 doctype.notations._seq = []
38 doctype.notations._seq.append(notation)
45 doctype.entities._seq.append(entity)
46 return doctype
49 doctype = create_nonempty_doctype()
50 doc = create_doc_without_doctype(doctype)
[all …]
/external/fonttools/Lib/fontTools/misc/
Detree.py140 doctype=None, argument
185 if doctype:
186 write(_tounicode(doctype))
200 doctype=None, argument
212 doctype=doctype,
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DXSLOutputAttributes.java139 public void setDoctypePublic(String doctype); in setDoctypePublic() argument
144 public void setDoctypeSystem(String doctype); in setDoctypeSystem() argument
DToUnknownStream.java639 public void setDoctypePublic(String doctype) in setDoctypePublic() argument
641 m_handler.setDoctypePublic(doctype); in setDoctypePublic()
651 public void setDoctypeSystem(String doctype) in setDoctypeSystem() argument
653 m_handler.setDoctypeSystem(doctype); in setDoctypeSystem()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b3.rst100 Fixed doctype() related bugs in C implementation of ElementTree. A
102 doctype() method. Direct call of doctype() now issues a warning. Parser's
103 doctype() now is not called if target's doctype() is called. Based on patch
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/
DXmlWriter.java39 XmlWriter startDocument(String doctype, String dtdLocation) { in startDocument() argument
43 writer.writeDTD("<!DOCTYPE " + doctype + " SYSTEM \"" + dtdLocation + "\">"); in startDocument()
/external/libxml2/result/HTML/
D758606.html.err2 <!-- <!doctype
/external/libwebsockets/lib/roles/http/client/
Dclient-handshake.c1250 lws_strnncpy(dotstar, token->data.doctype.name.ptr,
1251 token->data.doctype.name.len, sizeof(dotstar));
1254 dotstar, token->data.doctype.force_quirks ?
1257 if (token->data.doctype.public_missing)
1260 lws_strnncpy(dotstar, token->data.doctype.public_id.ptr,
1261 token->data.doctype.public_id.len,
1267 if (token->data.doctype.system_missing)
1270 lws_strnncpy(dotstar, token->data.doctype.system_id.ptr,
1271 token->data.doctype.system_id.len,
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMHelper.java1132 DocumentType doctype = doc.getDoctype(); in getUnparsedEntityURI() local
1134 if (null != doctype) in getUnparsedEntityURI()
1136 NamedNodeMap entities = doctype.getEntities(); in getUnparsedEntityURI()
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Dwpa_passphrase.sgml1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
Dwpa_gui.sgml1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
/external/python/cpython2/Lib/xml/etree/
DElementTree.py1625 self.target.doctype(name, pubid, system[1:-1])
1626 elif self.doctype != self._XMLParser__doctype:
1629 self.doctype(name, pubid, system[1:-1])
1639 def doctype(self, name, pubid, system): member in XMLParser
1648 __doctype = doctype
/external/tinyxml2/
Dxmltest.cpp1246 const char* doctype = in main() local
1254 doc.Parse( doctype ); in main()
1270 const char* doctype = in main() local
1273 doc.Parse( doctype ); in main()
1282 const char* doctype = "<element attr='red' attr='blue' />"; in main() local
1285 doc.Parse( doctype ); in main()
1293 const char* doctype = "<element att\0r='red' attr='blue' />"; in main() local
1296 doc.Parse( doctype ); in main()
/external/testng/doc/
Dtestng.css45 .doctype {
/external/bcc/tools/
Dsslsniff_example.txt43 <!doctype html>
/external/libxml2/fuzz/
Dhtml.dict99 doctype="<!DOCTYPE d>"
/external/tagsoup/
DREADME52 + --doctype-system and --doctype-public force a DOCTYPE
172 --doctype-system=systemid
176 --doctype-public=publicid
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java1422 DocumentType doctype = doc.getDoctype(); in getUnparsedEntityURI() local
1424 if (null != doctype) in getUnparsedEntityURI()
1426 NamedNodeMap entities = doctype.getEntities(); in getUnparsedEntityURI()

123