Home
last modified time | relevance | path

Searched refs:SubElement (Results 1 – 25 of 27) sorted by relevance

12

/external/markdown/markdown/extensions/
Drss.py68 channel = etree.SubElement(rss, "channel")
74 element = etree.SubElement(channel, tag)
82 item = etree.SubElement(channel, "item")
83 link = etree.SubElement(item, "link")
85 title = etree.SubElement(item, "title")
89 guidElem = etree.SubElement(item, "guid")
95 description = etree.SubElement(item, "description")
Dtables.py51 table = etree.SubElement(parent, 'table')
52 thead = etree.SubElement(table, 'thead')
54 tbody = etree.SubElement(table, 'tbody')
60 tr = etree.SubElement(parent, 'tr')
68 c = etree.SubElement(tr, tag)
Ddef_list.py62 dl = etree.SubElement(parent, 'dl')
65 dt = etree.SubElement(dl, 'dt')
69 dd = etree.SubElement(dl, 'dd')
84 dd = markdown.etree.SubElement(parent, 'dd')
Dfootnotes.py122 hr = etree.SubElement(div, "hr")
123 ol = etree.SubElement(div, "ol")
126 li = etree.SubElement(ol, "li")
142 p = etree.SubElement(li, "p")
264 a = etree.SubElement(sup, "a")
Dtoc.py29 header = etree.SubElement(div, "span")
91 link = etree.SubElement(last_li, "a")
96 anchor = etree.SubElement(c, "a")
Dheaderid.py111 h = markdown.etree.SubElement(parent, 'h%d' % level)
/external/markdown/markdown/
Dblockprocessors.py155 li = markdown.etree.SubElement(parent, 'li')
206 pre = markdown.etree.SubElement(parent, 'pre')
207 code = markdown.etree.SubElement(pre, 'code')
240 quote = markdown.etree.SubElement(parent, 'blockquote')
277 p = markdown.etree.SubElement(lst[-1], 'p')
281 li = markdown.etree.SubElement(lst, 'li')
288 lst = markdown.etree.SubElement(parent, self.TAG)
298 li = markdown.etree.SubElement(lst, 'li')
351 h = markdown.etree.SubElement(parent, 'h%d' % len(m.group('level')))
377 h = markdown.etree.SubElement(parent, 'h%d' % level)
[all …]
Dinlinepatterns.py209 el2 = markdown.etree.SubElement(el1, tag2)
/external/grpc-grpc/tools/run_tests/python_utils/
Dreport_utils.py83 testsuite = ET.SubElement(
94 xml_test = ET.SubElement(testsuite, 'testcase', name=shortname)
99 ET.SubElement(
103 ET.SubElement(
107 ET.SubElement(xml_test, 'skipped', message='Skipped')
/external/deqp/scripts/
Dmustpass.py291 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = package.module.name)
294 configElem = ElementTree.SubElement(packageElem, "Configuration",
302 ElementTree.SubElement(parent, "option", name=optionName, value=optionValue)
309 preparerElement = ElementTree.SubElement(configElement, "target_preparer")
315 ElementTree.SubElement(configElement, "option", name="test-suite-tag", value="cts")
316 …ElementTree.SubElement(configElement, "option", name="config-descriptor:metadata", key="component"…
317 …ElementTree.SubElement(configElement, "option", name="config-descriptor:metadata", key="parameter"…
318 …ElementTree.SubElement(configElement, "option", name="config-descriptor:metadata", key="parameter"…
319 controllerElement = ElementTree.SubElement(configElement, "object")
326 testElement = ElementTree.SubElement(configElement, "test")
/external/python/cpython3/PC/layout/support/
Dappxmanifest.py228 e = ET.SubElement(ae, ET.QName(NS["s"], "AuthorizedEntity"))
279 e = ET.SubElement(xml, name)
324 ET.SubElement(e, ET.QName(APPXMANIFEST_NS["uap"], "FileType")).text = s
332 app = ET.SubElement(
377 e = ET.SubElement(e, ET.QName(APPXMANIFEST_NS["rescap4"], "ClassicAppCompatKeys"))
379 k = ET.SubElement(
477 node = ET.SubElement(node, QN(NS["uap4"], "CustomCapability"))
/external/python/cpython3/Lib/test/
Dtest_xml_etree_c.py64 e = cET.SubElement(e, 'x')
172 self.assertEqual(cET.SubElement.__module__, '_elementtree')
175 self.assertEqual(cET_alias.SubElement.__module__, '_elementtree')
205 cET.SubElement(e, 'span')
Dtest_xml_etree.py643 ET.SubElement(elem, "subtag").text = "subtext"
922 subelem = ET.SubElement(elem, ET.QName("uri", "tag1"))
923 subelem = ET.SubElement(elem, ET.QName("uri", "tag2"))
1598 s = ET.SubElement(e, "{default}elem")
1603 s = ET.SubElement(e, "{default}elem")
1604 s = ET.SubElement(e, "{not-default}elem")
1612 s = ET.SubElement(e, "{default}elem")
1613 s = ET.SubElement(e, "elem") # unprefixed name
1648 b = ET.SubElement(a, 'b')
1649 c = ET.SubElement(a, 'c')
[all …]
/external/fonttools/Tests/misc/
Detree_test.py43 etree.SubElement(root, "element", attrs).text = "text"
44 etree.SubElement(root, "element").text = "text"
/external/python/cpython3/Lib/test/support/
Dtestresult.py45 self.__e = e = ET.SubElement(self.__suite, 'testcase')
65 ET.SubElement(e, 'system-out').text = stdout
68 ET.SubElement(e, 'system-err').text = stderr
73 e2 = ET.SubElement(e, k)
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py607 outline = etree.SubElement(root, "outline")
678 …etree.SubElement(element, "advance", OrderedDict([("height", repr(height)), ("width", repr(width))…
680 etree.SubElement(element, "advance", dict(width=repr(width)))
682 etree.SubElement(element, "advance", dict(height=repr(height)))
696 etree.SubElement(element, "unicode", dict(hex=hexCode))
705 etree.SubElement(element, "note").text = tounicode(note)
719 etree.SubElement(element, "image", attrs)
748 etree.SubElement(element, "guideline", attrs)
788 etree.SubElement(element, "anchor", attrs)
803 etree.SubElement(element, "lib").append(e)
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/
D_result.py426 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', {})
/external/python/cpython2/Lib/test/
Dtest_xml_etree.py609 ET.SubElement(elem, "subtag").text = "subtext"
880 subelem = ET.SubElement(elem, ET.QName("uri", "tag1"))
881 subelem = ET.SubElement(elem, ET.QName("uri", "tag2"))
1397 s = ET.SubElement(e, "{default}elem")
1402 s = ET.SubElement(e, "{default}elem")
1403 s = ET.SubElement(e, "{not-default}elem")
1411 s = ET.SubElement(e, "{default}elem")
1412 s = ET.SubElement(e, "elem") # unprefixed name
1447 b = ET.SubElement(a, 'b')
1448 c = ET.SubElement(a, 'c')
[all …]
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py161 ElementTree.SubElement(self._elem, 'string').text = str(item)
434 pref = pref_cls(ElementTree.SubElement(
/external/deqp/external/openglcts/scripts/
Dmustpass.py240 packageElem = ElementTree.SubElement(mustpassElem, "TestPackage", name = mustpass.project.name)
244 configElem = ElementTree.SubElement(packageElem, "Configuration",
/external/python/cpython2/Doc/library/
Dxml.etree.elementtree.rst41 :func:`SubElement` factory function.
259 The :func:`SubElement` function also provides a convenient way to create new
263 >>> b = ET.SubElement(a, 'b')
264 >>> c = ET.SubElement(a, 'c')
265 >>> d = ET.SubElement(c, 'd')
529 .. function:: SubElement(parent, tag, attrib={}, **extra)
752 call this method, use the :func:`SubElement` factory function instead.
/external/python/cpython3/Doc/library/
Dxml.etree.elementtree.rst282 The :func:`SubElement` function also provides a convenient way to create new
286 >>> b = ET.SubElement(a, 'b')
287 >>> c = ET.SubElement(a, 'c')
288 >>> d = ET.SubElement(c, 'd')
580 .. function:: SubElement(parent, tag, attrib={}, **extra)
826 call this method, use the :func:`SubElement` factory function instead.
/external/fonttools/Lib/fontTools/misc/
Detree.py93 def SubElement(parent, tag, attrib=_Attrib(), **extra): function
Dplistlib.py330 k = etree.SubElement(el, "key")
/external/markdown/docs/
Dwriting_extensions.txt329 tr = etree.SubElement(table, "tr") # Add child tr to table
330 td1 = etree.SubElement(tr, "td") # Add child td1 to tr
332 td2 = etree.SubElement(tr, "td") # Add second td to tr

12