Home
last modified time | relevance | path

Searched refs:ElementTree (Results 1 – 25 of 106) sorted by relevance

12345

/external/deqp/scripts/
Dmustpass.py31 import xml.etree.cElementTree as ElementTree namespace
278 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
279 doc.insert(1, ElementTree.Comment(GENERATED_FILE_WARNING))
282 uglyString = ElementTree.tostring(doc, 'utf-8')
287 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
291 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = package.module.name)
294 configElem = ElementTree.SubElement(packageElem, "Configuration",
302 ElementTree.SubElement(parent, "option", name=optionName, value=optionValue)
306 configElement = ElementTree.Element("configuration")
309 preparerElement = ElementTree.SubElement(configElement, "target_preparer")
[all …]
/external/markdown/docs/
DINSTALL7 Python-Markdown requires the ElementTree module to be installed. In Python2.5+
8 ElementTree is included as part of the standard library. For earlier versions
12 >>> import ElementTree
15 copy of ElementTree installed on your system. As cElementTree is faster, you
20 download the latest version of ElementTree.
28 easy_install ElementTree
Dwriting_extensions.txt15 As the parser builds an [ElementTree][] object which is later rendered
27 * [Working with the ElementTree][]
74 Accepts a match object and returns an ElementTree element of a plain
149 For specifics on manipulating the ElementTree, see
150 [Working with the ElementTree][] below.
154 Postprocessors manipulate the document after the ElementTree has been
162 Postprocessors are run after the ElementTree has been serialized back into
178 That Blockprocessor parses the block and adds it to the ElementTree. The
273 Given a list of lines, an ElementTree object is returned. This should be
296 <h3 id="working_with_et">Working with the ElementTree</h3>
[all …]
Drelease-2.0.txt26 * The old home-grown NanoDOM has been replaced with ElementTree. Therefore all
27 extensions must use ElementTree rather than the old NanoDOM.
38 ElementTree internally to build the (X)HTML document from markdown source text.
/external/fonttools/Lib/fontTools/misc/
Detree.py54 from xml.etree.ElementTree import XML
56 from xml.etree.ElementTree import *
80 from xml.etree.ElementTree import Element as _Element
125 _ElementTree = ElementTree
127 class ElementTree(_ElementTree): class
146 super(ElementTree, self).write(
208 ElementTree(element).write(
319 from xml.etree.ElementTree import _namespace_map
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py13 from xml.etree import ElementTree
48 return ElementTree.tostring(self._elem)
161 ElementTree.SubElement(self._elem, 'string').text = str(item)
232 return _XML_DECLARATION + ElementTree.tostring(self.xml)
258 self._xml = ElementTree.Element('map')
268 self._xml = ElementTree.fromstring(
434 pref = pref_cls(ElementTree.SubElement(
/external/grpc-grpc/src/python/grpcio_tests/tests/
D_result.py21 from xml.etree import ElementTree
425 root = ElementTree.Element('testsuites')
426 suite = ElementTree.SubElement(root, 'testsuite', {
431 ElementTree.SubElement(suite, 'testcase', {
435 case_xml = ElementTree.SubElement(suite, 'testcase', {
438 error_xml = ElementTree.SubElement(case_xml, 'error', {})
440 return ElementTree.ElementTree(element=root)
/external/python/cpython2/Lib/test/
Dtest_xml_etree.py28 from xml.etree import ElementTree as pyET
107 from xml.etree import ElementTree
114 tree = ET.ElementTree(elem)
194 tree = ET.ElementTree(element)
197 tree = ET.ElementTree(element)
323 tree = ET.ElementTree(file=stringfile)
327 tree = ET.ElementTree(file=SIMPLE_XMLFILE)
338 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
340 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
342 for i in range(20): ET.ElementTree(elem).find('./'+str(i))
[all …]
/external/python/cpython2/Doc/library/
Dxml.etree.elementtree.rst1 :mod:`xml.etree.ElementTree` --- The ElementTree XML API
4 .. module:: xml.etree.ElementTree
5 :synopsis: Implementation of the ElementTree API.
11 **Source code:** :source:`Lib/xml/etree/ElementTree.py`
22 The :mod:`xml.etree.ElementTree` module is not secure against
43 The :class:`ElementTree` class can be used to wrap an element structure, and
50 the xml.etree.ElementTree.
53 The ElementTree API is updated to 1.3. For more information, see
54 `Introducing ElementTree 1.3
60 This is a short tutorial for using :mod:`xml.etree.ElementTree` (``ET`` in
[all …]
Dxml.rst30 * :mod:`xml.etree.ElementTree`: the ElementTree API, a simple and lightweight
69 1. :mod:`xml.etree.ElementTree` doesn't expand external entities and raises a
/external/markdown/markdown/
Detree_loader.py13 import xml.etree.ElementTree as etree
19 import elementtree.ElementTree as etree
Dhtml4.py41 ElementTree = markdown.etree.ElementTree variable
273 write_html(ElementTree(element).getroot(),file,encoding)
/external/deqp/external/openglcts/scripts/
Dmustpass.py25 import xml.etree.cElementTree as ElementTree namespace
228 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
229 doc.insert(1, ElementTree.Comment(GENERATED_FILE_WARNING))
232 uglyString = ElementTree.tostring(doc, 'utf-8')
237 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
240 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = mustpass.project.name)
244 configElem = ElementTree.SubElement(packageElem, "Configuration",
/external/v8/tools/testrunner/local/
Djunit_output.py29 import xml.etree.ElementTree as xml
49 xml.ElementTree(self.root).write(f, "UTF-8")
/external/python/cpython3/Doc/library/
Dxml.etree.elementtree.rst1 :mod:`xml.etree.ElementTree` --- The ElementTree XML API
4 .. module:: xml.etree.ElementTree
5 :synopsis: Implementation of the ElementTree API.
9 **Source code:** :source:`Lib/xml/etree/ElementTree.py`
13 The :mod:`xml.etree.ElementTree` module implements a simple and efficient API
23 The :mod:`xml.etree.ElementTree` module is not secure against
30 This is a short tutorial for using :mod:`xml.etree.ElementTree` (``ET`` in
39 :class:`ElementTree` represents the whole XML document as a tree, and
42 on the :class:`ElementTree` level. Interactions with a single XML element
80 import xml.etree.ElementTree as ET
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_registry_tables.py21 import xml.etree.ElementTree
65 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/external/deqp-deps/SPIRV-Tools/utils/
Dgenerate_registry_tables.py21 import xml.etree.ElementTree
65 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py115 from xml.etree import ElementTree
129 tree = ET.ElementTree(elem)
223 tree = ET.ElementTree(element)
226 tree = ET.ElementTree(element)
349 tree = ET.ElementTree(file=stringfile)
353 tree = ET.ElementTree(file=SIMPLE_XMLFILE)
364 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
366 for i in range(10): ET.ElementTree(elem).find('./'+str(i))
368 for i in range(20): ET.ElementTree(elem).find('./'+str(i))
370 for i in range(600): ET.ElementTree(elem).find('./'+str(i))
[all …]
/external/python/cpython2/Lib/xml/etree/
DElementInclude.py52 from . import ElementTree
80 data = ElementTree.parse(file).getroot()
/external/python/cpython3/Lib/xml/etree/
DElementInclude.py52 from . import ElementTree
80 data = ElementTree.parse(file).getroot()
DcElementTree.py3 from xml.etree.ElementTree import *
/external/selinux/python/sepolicy/sepolicy/
Dinterface.py125 import xml.etree.ElementTree
144 tree = xml.etree.ElementTree.parse(path)
146 tree = xml.etree.ElementTree.fromstring(xml_path)
/external/autotest/client/site_tests/camera_HAL3/
Dcamera_HAL3.py11 import xml.etree.ElementTree
56 root = xml.etree.ElementTree.fromstring(xml_content)
/external/vulkan-validation-layers/scripts/
Dcommon_codegen.py22 import xml.etree.ElementTree as etree
/external/jsoncpp/
Dmakerelease.py23 import xml.etree.ElementTree as ElementTree namespace
64 etree = ElementTree.fromstring( stdout )

12345