Home
last modified time | relevance | path

Searched refs:etree (Results 1 – 25 of 116) sorted by relevance

12345

/third_party/boost/tools/boostbook/test/more/
Drun-tests.py14 from lxml import etree
42 parser = etree.XMLParser()
45 boostbook_xsl = etree.XSLT(
46 etree.parse(os.path.join(boostbook_directory, "docbook.xsl"), parser)
48 except lxml.etree.XMLSyntaxError, error:
94 doc = boostbook_xsl(etree.parse(file, parser))
96 return etree.tostring(doc)
99 doc = boostbook_xsl(etree.parse(file, parser), **{
102 return etree.tostring(doc)
/third_party/flutter/skia/third_party/externals/angle2/scripts/
Dregistry_xml.py15 import xml.etree.ElementTree as etree namespace
184 tree = etree.parse(script_relative(xml_file))
193 angle_ext_tree = etree.parse(script_relative(ext_file))
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_mandatory_format_support_table.py15 import xml.etree.ElementTree as etree namespace
112 tree = etree.parse(script_relative(vk_xml_file))
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_mandatory_format_support_table.py14 import xml.etree.ElementTree as etree namespace
123 tree = etree.parse(script_relative(vk_xml_file))
/third_party/mesa3d/src/mapi/new/
Dgen_gldispatch_mapi.py36 import xml.etree.ElementTree as etree namespace
44 roots = [ etree.parse(filename).getroot() for filename in xmlFiles ]
DgenCommon.py31 import xml.etree.ElementTree as etree namespace
63 roots = [ etree.parse(xmlFile).getroot() for xmlFile in xmlFiles ]
/third_party/skia/third_party/externals/angle2/scripts/
Dregistry_xml.py16 import xml.etree.ElementTree as etree namespace
445 tree = etree.parse(script_relative(xml_file))
454 angle_ext_tree = etree.parse(script_relative(ext_file))
/third_party/flutter/skia/third_party/externals/spirv-tools/utils/
Dgenerate_registry_tables.py21 import xml.etree.ElementTree
65 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/third_party/skia/third_party/externals/spirv-tools/utils/
Dgenerate_registry_tables.py19 import xml.etree.ElementTree
82 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_registry_tables.py19 import xml.etree.ElementTree
82 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/third_party/spirv-tools/utils/
Dgenerate_registry_tables.py19 import xml.etree.ElementTree
82 registry = xml.etree.ElementTree.fromstring(xml_in.read())
/third_party/flutter/skia/third_party/externals/dawn/generator/
Dopengl_loader_generator.py18 import xml.etree.ElementTree as etree namespace
189 params = compute_params(etree.parse(args.gl_xml).getroot())
/third_party/python/Doc/tools/
Dsusp-ignored.csv345 library/xml.etree.elementtree,,:sometag,prefix:sometag
346 library/xml.etree.elementtree,,:fictional,"<actors xmlns:fictional=""http://characters.example.com"…
347 library/xml.etree.elementtree,,:character,<fictional:character>Lancelot</fictional:character>
348 library/xml.etree.elementtree,,:character,<fictional:character>Archie Leach</fictional:character>
349 library/xml.etree.elementtree,,:character,<fictional:character>Sir Robin</fictional:character>
350 library/xml.etree.elementtree,,:character,<fictional:character>Gunther</fictional:character>
351 library/xml.etree.elementtree,,:character,<fictional:character>Commander Clement</fictional:charact…
352 library/xml.etree.elementtree,,:actor,"for actor in root.findall('real_person:actor', ns):"
353 library/xml.etree.elementtree,,:name,"name = actor.find('real_person:name', ns)"
354 library/xml.etree.elementtree,,:character,"for char in actor.findall('role:character', ns):"
[all …]
/third_party/skia/third_party/externals/dawn/generator/
Dopengl_loader_generator.py18 import xml.etree.ElementTree as etree namespace
259 etree.parse(args.gl_xml).getroot(), supported_extensions)
/third_party/vulkan-headers/registry/
Dreg.py12 import xml.etree.ElementTree as etree namespace
386 self.tree = etree.parse(file)
683 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
687 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
691 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
695 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
699 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle)
703 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
707 etree.tostring(self.spirvextdict[key].elem)[0:maxlen], file=filehandle)
710 etree.tostring(self.spirvcapdict[key].elem)[0:maxlen], file=filehandle)
[all …]
/third_party/python/Lib/xml/etree/
DcElementTree.py3 from xml.etree.ElementTree import *
/third_party/skia/third_party/externals/egl-registry/api/
Dreg.py18 from lxml import etree
714 self.tree = etree.parse(file)
825 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
829 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
833 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
837 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
841 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle)
845 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
/third_party/skia/third_party/externals/opengl-registry/xml/
Dreg.py18 from lxml import etree
705 self.tree = etree.parse(file)
816 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
820 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
824 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
828 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
832 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle)
836 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
/third_party/EGL/api/
Dreg.py7 from lxml import etree
703 self.tree = etree.parse(file)
814 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
818 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
822 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
826 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
830 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle)
834 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
/third_party/openGLES/xml/
Dreg.py7 from lxml import etree
694 self.tree = etree.parse(file)
805 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
809 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
813 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
817 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
821 etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle)
825 etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle)
/third_party/skia/third_party/externals/abseil-cpp/absl/
Dabseil.podspec.gen.py16 import xml.etree.ElementTree
93 root = xml.etree.ElementTree.fromstring(result)
/third_party/abseil-cpp/absl/
Dabseil.podspec.gen.py16 import xml.etree.ElementTree
93 root = xml.etree.ElementTree.fromstring(result)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py13 import xml.etree.ElementTree as etree namespace
281 xml_root = etree.parse(gl_xml_path).getroot()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py13 import xml.etree.ElementTree as etree namespace
280 xml_root = etree.parse(gl_xml_path).getroot()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_generator_ids_h.py28 import xml.etree.ElementTree as ET

12345