Home
last modified time | relevance | path

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

1234567

/external/deqp/scripts/
Dmustpass.py31 import xml.etree.cElementTree as ElementTree namespace
279 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
280 doc.insert(1, ElementTree.Comment(GENERATED_FILE_WARNING))
283 uglyString = ElementTree.tostring(doc, 'utf-8')
288 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
292 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = package.module.name)
295 configElem = ElementTree.SubElement(packageElem, "Configuration",
303 ElementTree.SubElement(parent, "option", name=optionName, value=optionValue)
307 configElement = ElementTree.Element("configuration")
310 preparerElement = ElementTree.SubElement(configElement, "target_preparer")
[all …]
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py12 from xml.etree import ElementTree
49 return ElementTree.tostring(self._elem)
51 return ElementTree.tostring(self._elem, encoding="unicode")
164 ElementTree.SubElement(self._elem, 'string').text = str(item)
240 return _XML_DECLARATION + ElementTree.tostring(self.xml)
243 ElementTree.tostring(self.xml, encoding="unicode")
269 self._xml = ElementTree.Element('map')
279 self._xml = ElementTree.fromstring(
447 ElementTree.SubElement(self.xml, pref_cls.tag_name, {'name': key}))
/external/OpenCL-CTS/scripts/
Dgenerate_test_files.py5 from xml.etree import ElementTree
70 subelement = ElementTree.SubElement(element, tag)
132 configuration = ElementTree.Element('configuration')
135 logcat = ElementTree.SubElement(configuration, 'option')
142 stringified_configuration = ElementTree.tostring(configuration, 'utf-8')
/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.py53 from xml.etree.ElementTree import XML
55 from xml.etree.ElementTree import *
79 from xml.etree.ElementTree import Element as _Element
124 _ElementTree = ElementTree
126 class ElementTree(_ElementTree): class
145 super(ElementTree, self).write(
207 ElementTree(element).write(
318 from xml.etree.ElementTree import _namespace_map
/external/mesa3d/bin/
Dpost_version_test.py101 def two_releases(self) -> html.etree.ElementTree:
132 def test_two_releases(self, two_releases: html.etree.ElementTree): argument
146 def test_last_Release(self, two_releases: html.etree.ElementTree): argument
/external/dagger2/util/
Dfind_pom_value.py7 import xml.etree.ElementTree as Xml
14 Xml.ElementTree(file=pom_file).findtext(
/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/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/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/deqp/external/openglcts/scripts/
Dmustpass.py25 import xml.etree.cElementTree as ElementTree namespace
229 doc.insert(0, ElementTree.Comment(mustpass.project.copyright))
230 doc.insert(1, ElementTree.Comment(GENERATED_FILE_WARNING))
233 uglyString = ElementTree.tostring(doc, 'utf-8')
238 mustpassElem = ElementTree.Element("Mustpass", version = mustpass.version)
241 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = mustpass.project.name)
245 configElem = ElementTree.SubElement(packageElem, "Configuration",
/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 …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/
Dgenerate_registry_tables.py19 import xml.etree.ElementTree
82 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/external/deqp-deps/SPIRV-Tools/utils/
Dgenerate_registry_tables.py19 import xml.etree.ElementTree
82 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/external/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_registry_tables.py19 import xml.etree.ElementTree
82 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/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
90 data = ElementTree.parse(file).getroot()
/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/igt-gpu-tools/scripts/
Dtest_igt_gpu_tools.py19 from xml.etree import ElementTree
30 tree = ElementTree.parse(xmlfile)
/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
25 The :mod:`xml.etree.ElementTree` module is not secure against
32 This is a short tutorial for using :mod:`xml.etree.ElementTree` (``ET`` in
41 :class:`ElementTree` represents the whole XML document as a tree, and
44 on the :class:`ElementTree` level. Interactions with a single XML element
82 import xml.etree.ElementTree as ET
[all …]
/external/autotest/server/cros/tradefed/
Dtradefed_utils.py10 from xml.etree import ElementTree
111 root = ElementTree.parse(test_result_xml_path)
268 root = ElementTree.parse(result_path)
/external/autotest/client/site_tests/camera_HAL3/
Dcamera_HAL3.py11 import xml.etree.ElementTree
56 root = xml.etree.ElementTree.fromstring(xml_content)

1234567