/external/markdown/markdown/ |
etree_loader.py | 7 """Import the best implementation of ElementTree, return a module object.""" 9 try: # Is it Python 2.5+ with C implemenation of ElementTree installed? 12 try: # Is it Python 2.5+ with Python implementation of ElementTree? 13 import xml.etree.ElementTree as etree 18 try: # An earlier version of Python with Python ElementTree? 19 import elementtree.ElementTree as etree 21 message(CRITICAL, "Failed to import ElementTree") 29 message(CRITICAL, "For ElementTree version 1.1 or higher is required")
|
blockparser.py | 38 """ Parse Markdown blocks into an ElementTree object. 41 looping through them and creating an ElementTree object. 49 """ Parse a markdown document into an ElementTree. 51 Given a list of lines, an ElementTree object (not just a parent Element) 53 The ElementTree object is returned. 58 # Create a ElementTree from the lines 61 return markdown.etree.ElementTree(self.root)
|
inlinepatterns.py | 13 # an ElementTree element or just plain text 141 """Return a ElementTree element from the given match. 201 """Return a ElementTree element nested in tag2 nested in tag1.
|
/external/v8/tools/testrunner/local/ |
junit_output.py | 29 import xml.etree.ElementTree as xml 48 xml.ElementTree(self.root).write(file, "UTF-8")
|
/prebuilts/tools/linux-x86_64/kythe/studio/ |
manifest2vname.py | 22 import xml.etree.ElementTree 25 doc = xml.etree.ElementTree.parse('.repo/manifests/default.xml')
|
/test/vts/utils/python/common/ |
vintf_utils.py | 19 from xml.etree import ElementTree 97 xml_root = ElementTree.fromstring(vintf_xml) 98 except ElementTree.ParseError as e:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/ |
ElementInclude.py | 2 # ElementTree
17 # The ElementTree toolkit is
48 # Limited XInclude support for the ElementTree package.
52 from . import ElementTree
72 # is an ElementTree instance. If the parse mode is "text", this
80 data = ElementTree.parse(file).getroot()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/ |
ElementInclude.py | 2 # ElementTree
17 # The ElementTree toolkit is
48 # Limited XInclude support for the ElementTree package.
52 from . import ElementTree
72 # is an ElementTree instance. If the parse mode is "text", this
80 data = ElementTree.parse(file).getroot()
|
/external/python/cpython2/Lib/xml/etree/ |
ElementInclude.py | 2 # ElementTree 17 # The ElementTree toolkit is 48 # Limited XInclude support for the ElementTree package. 52 from . import ElementTree 72 # is an ElementTree instance. If the parse mode is "text", this 80 data = ElementTree.parse(file).getroot()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/xml/etree/ |
ElementInclude.py | 2 # ElementTree 17 # The ElementTree toolkit is 48 # Limited XInclude support for the ElementTree package. 52 from . import ElementTree 72 # is an ElementTree instance. If the parse mode is "text", this 80 data = ElementTree.parse(file).getroot()
|
/prebuilts/gdb/linux-x86/lib/python2.7/xml/etree/ |
ElementInclude.py | 2 # ElementTree 17 # The ElementTree toolkit is 48 # Limited XInclude support for the ElementTree package. 52 from . import ElementTree 72 # is an ElementTree instance. If the parse mode is "text", this 80 data = ElementTree.parse(file).getroot()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/etree/ |
ElementInclude.py | 2 # ElementTree 17 # The ElementTree toolkit is 48 # Limited XInclude support for the ElementTree package. 52 from . import ElementTree 72 # is an ElementTree instance. If the parse mode is "text", this 80 data = ElementTree.parse(file).getroot()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/etree/ |
ElementInclude.py | 2 # ElementTree 17 # The ElementTree toolkit is 48 # Limited XInclude support for the ElementTree package. 52 from . import ElementTree 72 # is an ElementTree instance. If the parse mode is "text", this 80 data = ElementTree.parse(file).getroot()
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
shared_prefs.py | 14 from xml.etree import ElementTree 29 elem: An xml ElementTree object holding the preference data. 44 return ElementTree.tostring(self._elem) 157 ElementTree.SubElement(self._elem, 'string').text = str(item) 211 return _XML_DECLARATION + ElementTree.tostring(self.xml) 235 """Get the underlying xml document as an ElementTree object.""" 237 self._xml = ElementTree.Element('map') 247 self._xml = ElementTree.fromstring( 385 pref = pref_cls(ElementTree.SubElement(
|
/external/deqp/scripts/ |
mustpass.py | 31 import xml.etree.cElementTree as ElementTree 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 ElementTree.SubElement(configElement, "option", name="config-descriptor:metadata", key="component", value="deq (…) [all...] |
/frameworks/base/tools/aapt2/tools/ |
public_attr_map.py | 4 import xml.etree.ElementTree as ET
|
/frameworks/layoutlib/rename_font/ |
test.py | 17 import xml.etree.ElementTree as etree
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
shared_prefs.py | 16 from xml.etree import ElementTree 33 elem: An xml ElementTree object holding the preference data. 48 return ElementTree.tostring(self._elem) 161 ElementTree.SubElement(self._elem, 'string').text = str(item) 215 return _XML_DECLARATION + ElementTree.tostring(self.xml) 239 """Get the underlying xml document as an ElementTree object.""" 241 self._xml = ElementTree.Element('map') 251 self._xml = ElementTree.fromstring( 402 pref = pref_cls(ElementTree.SubElement(
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_xml_etree.py | 11 # Don't re-import "xml.etree.ElementTree" module in the docstring,
20 from xml.etree import ElementTree as ET
60 >>> from xml.etree import ElementTree
72 tree = ET.ElementTree(elem)
144 >>> tree = ET.ElementTree(element)
148 >>> tree = ET.ElementTree(element)
262 >>> from xml.etree import ElementTree
264 >>> CurrentElementPath = ElementTree.ElementPath
265 >>> ElementTree.ElementPath = ElementTree._SimpleElementPath() [all...] |
/external/python/cpython2/Lib/test/ |
test_xml_etree.py | 11 # Don't re-import "xml.etree.ElementTree" module in the docstring, 20 from xml.etree import ElementTree as ET 60 >>> from xml.etree import ElementTree 72 tree = ET.ElementTree(elem) 144 >>> tree = ET.ElementTree(element) 148 >>> tree = ET.ElementTree(element) 262 >>> from xml.etree import ElementTree 264 >>> CurrentElementPath = ElementTree.ElementPath 265 >>> ElementTree.ElementPath = ElementTree._SimpleElementPath( [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_xml_etree.py | 11 # Don't re-import "xml.etree.ElementTree" module in the docstring, 20 from xml.etree import ElementTree as ET 60 >>> from xml.etree import ElementTree 72 tree = ET.ElementTree(elem) 144 >>> tree = ET.ElementTree(element) 148 >>> tree = ET.ElementTree(element) 262 >>> from xml.etree import ElementTree 264 >>> CurrentElementPath = ElementTree.ElementPath 265 >>> ElementTree.ElementPath = ElementTree._SimpleElementPath( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_xml_etree.py | 11 # Don't re-import "xml.etree.ElementTree" module in the docstring, 20 from xml.etree import ElementTree as ET 60 >>> from xml.etree import ElementTree 72 tree = ET.ElementTree(elem) 144 >>> tree = ET.ElementTree(element) 148 >>> tree = ET.ElementTree(element) 262 >>> from xml.etree import ElementTree 264 >>> CurrentElementPath = ElementTree.ElementPath 265 >>> ElementTree.ElementPath = ElementTree._SimpleElementPath( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_xml_etree.py | 11 # Don't re-import "xml.etree.ElementTree" module in the docstring, 20 from xml.etree import ElementTree as ET 60 >>> from xml.etree import ElementTree 72 tree = ET.ElementTree(elem) 144 >>> tree = ET.ElementTree(element) 148 >>> tree = ET.ElementTree(element) 262 >>> from xml.etree import ElementTree 264 >>> CurrentElementPath = ElementTree.ElementPath 265 >>> ElementTree.ElementPath = ElementTree._SimpleElementPath( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_xml_etree.py | 11 # Don't re-import "xml.etree.ElementTree" module in the docstring, 20 from xml.etree import ElementTree as ET 60 >>> from xml.etree import ElementTree 72 tree = ET.ElementTree(elem) 144 >>> tree = ET.ElementTree(element) 148 >>> tree = ET.ElementTree(element) 262 >>> from xml.etree import ElementTree 264 >>> CurrentElementPath = ElementTree.ElementPath 265 >>> ElementTree.ElementPath = ElementTree._SimpleElementPath( [all...] |
/device/google/wahoo/lisa/targetdev/ |
powerhint.py | 1 import xml.etree.ElementTree as ET
|