Home
last modified time | relevance | path

Searched refs:findall (Results 1 – 25 of 171) sorted by relevance

1234567

/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_isa.py68 return [cond.tag] + [parse_cond(x) for x in cond.findall('*')]
76 for deriv in obj.findall('derived'):
80 opts = [parse_cond(d) for d in deriv.findall('*')]
91 for mod in obj.findall('mod'):
102 opts = [x.text if x.tag == 'opt' else x.tag for x in mod.findall('*')]
119 for node in enc.findall('copy'):
145 for src in ins.findall('src'):
152 for imm in ins.findall('immediate'):
162 for swap in ins.findall('swap'):
164 cond = parse_cond(swap.findall('*')[0])
[all …]
/third_party/vulkan-headers/registry/
Dreg.py104 for child in parent.findall('*'):
126 … definitionVariants = parent.findall(f"{child.tag}[@name='{definitionName}']")
129 … definitionVariants = parent.findall(f"{child.tag}/name[.='{definitionName}']/..")
132 … definitionVariants = parent.findall(f"{child.tag}/name[.='{definitionName}']/..")
135 definitionVariants = parent.findall(f"{child.tag}[@name='{definitionName}']")
138 definitionVariants = parent.findall(f"{child.tag}[@feature='{definitionName}']")
141 … definitionVariants = parent.findall(f"{child.tag}/proto/name[.='{definitionName}']/../..")
182 for child in parent.findall('*'):
271 return self.elem.findall('member')
309 return self.elem.findall('param')
[all …]
/third_party/mesa3d/src/vulkan/util/
Dgen_enum_to_str.py351 for member in xml_node.findall('./member'):
352 name = member.findall('./name')
374 for enum_type in xml.findall('./enums[@type="enum"]'):
376 for value in enum_type.findall('./enum'):
380 for enum_type in xml.findall('./enums[@type="bitmask"]'):
383 for value in enum_type.findall('./enum'):
386 for value in xml.findall('./feature/require/enum[@extends]'):
395 for struct_type in xml.findall('./types/type[@category="struct"]'):
402 for platform in xml.findall('./platforms/platform'):
407 for ext_elem in xml.findall('./extensions/extension[@supported="vulkan"]'):
[all …]
Dvk_entrypoints.py105 for command in doc.findall('./commands/command'):
118 ) for p in command.findall('./param')]
124 for feature in doc.findall('./feature'):
127 for command in feature.findall('./require/command'):
132 for extension in doc.findall('.extensions/extension'):
141 for command in extension.findall('./require/command'):
154 for platform in doc.findall('./platforms/platform'):
159 for extension in doc.findall('./extensions/extension[@platform]'):
163 for entrypoint in extension.findall('./require/command'):
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dreg.py105 for child in parent.findall('*'):
193 return self.elem.findall('member')
231 return self.elem.findall('param')
471 for type_elem in self.reg.findall('types/type'):
484 for group in self.reg.findall('enums'):
497 for enums in self.reg.findall('enums'):
499 for enum in enums.findall('enum'):
515 for cmd in self.reg.findall('commands/command'):
550 for feature in self.reg.findall('feature'):
568 for elem in feature.findall('require'):
[all …]
Dlinkcheck.py22 for svg in tree.findall('//svg'):
26 hrefs = tree.findall('//*[@href]')
27 ids = tree.findall('//*[@id]')
/third_party/rust/crates/regex/tests/
Dapi.rs4 assert_eq!(vec![(0, 0)], findall!(re, "")); in empty_regex_empty_match()
10 assert_eq!(vec![(0, 0), (1, 1), (2, 2), (3, 3)], findall!(re, "abc")); in empty_regex_nonempty_match()
16 assert_eq!(vec![(0, 0), (1, 2), (3, 4)], findall!(re, "a1b2")); in one_zero_length_match()
24 findall!(re, "a1bbb2") in many_zero_length_match()
33 findall!(re, "a12b3c") in many_sequential_zero_length_match()
40 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in quoted_bracket_set()
42 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in quoted_bracket_set()
48 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in first_range_starts_with_left_bracket()
54 assert_eq!(vec![(0, 1), (1, 2)], findall!(re, "[]")); in range_ends_with_escape()
60 assert_eq!(vec![(0, 0), (1, 1), (2, 2), (3, 3)], findall!(re, "abc")); in empty_match_find_iter()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_physical_device_features.py146 for _type in doc.findall('./types/type'):
152 for p in _type.findall('./member'):
166 for _extension in doc.findall('./extensions/extension'):
169 for p in _extension.findall('./require/type'):
173 for _type in doc.findall('./types/type'):
189 for p in _type.findall('./member'):
/third_party/skia/third_party/externals/dawn/generator/
Dopengl_loader_generator.py78 for param in element.findall('./param'):
117 for command in root.findall('''commands[@namespace='GL']/command'''):
123 for enum in root.findall('''enums[@namespace='GL']/enum'''):
134 for proc in root.findall('''feature/remove[@profile='core']/command'''):
140 for section in root.findall('''feature[@api='{}']'''.format(api)):
142 for command in section.findall('./require/command'):
149 for enum in section.findall('./require/enum'):
166 for command in section.findall('./require/command'):
172 for enum in section.findall('./require/enum'):
/third_party/python/Lib/test/
Dtest_xml_etree.py262 check_method(element.findall)
1858 self.assertEqual(1+4*2, len(document.findall(".//p")))
1976 self.assertEqual(summarize_list(tree.findall(".//thead")), [])
1977 self.assertEqual(summarize_list(tree.findall(".//tbody")), ['tbody'])
2498 e.findall('.//grandchild')[0].set('attr', 'other value')
2730 e.findall(MutatingElementPath(e, 'x'))
2736 e.findall(BadElementPath('x'))
2792 found = list(e.findall('bar'))
2846 self.assertEqual(summarize_list(e.findall('.')), ['body'])
2847 self.assertEqual(summarize_list(e.findall('tag')), ['tag', 'tag'])
[all …]
/third_party/skia/third_party/externals/angle2/scripts/
Dregistry_xml.py449 self.all_commands = self.root.findall('commands/command')
457 insertion_point = self.root.findall("./commands")[0]
461 insertion_point = self.root.findall("./extensions")[0]
471 commands = [cmd.attrib['name'] for cmd in self.root.findall(xpath)]
504 for extension in self.root.findall("extensions/extension"):
517 for require in extension.findall('require'):
526 extension_commands = require.findall('command')
562 param_text = ["".join(param.itertext()) for param in command_node.findall('param')]
Dgen_gl_enum_utils.py141 for enums_node in xml.root.findall('enums'):
142 for enum in enums_node.findall('enum'):
150 for enums_group_node in xml.root.findall('groups/group'):
158 for enum_node in enums_group_node.findall('enum'):
167 for enum_tag in xml.root.findall(xpath):
174 for enum_tag in xml.root.findall(xpath):
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_extensions.py205 for cmd in vkxml.findall("commands/command"):
213 for typ in vkxml.findall("types/type"):
226 for platform in vkxml.findall("platforms/platform"):
231 for ext in vkxml.findall("extensions/extension"):
248 for cmd in ext.findall("require/command"):
259 for enum in ext.findall("require/enum"):
267 for ty in ext.findall("require/type"):
289 for field in vkxml.findall("./types/type[@name='{}']/member".format(struct_name)):
307 for field in vkxml.findall("./types/type[@name='{}']/member".format(struct_name)):
/third_party/mesa3d/src/compiler/isaspec/
Disa.py110 for param in xml.findall('param'):
192 for derived in xml.findall('derived'):
196 for assrt in xml.findall('assert'):
201 for field in xml.findall('field'):
208 for d in xml.findall('display'):
237 for map in xml.findall('map'):
270 for gen in xml.findall('gen'):
304 for override in xml.findall('override'):
316 for pattern in xml.findall('pattern'):
380 for value in xml.findall('value'):
[all …]
/third_party/mesa3d/src/util/
Ddriconf_static.py55 for option in xml.findall('option'):
65 for option in xml.findall('option'):
76 for application in xml.findall('application'):
79 for engine in xml.findall('engine'):
87 for device in root.findall('device'):
/third_party/skia/third_party/externals/harfbuzz/src/
Dcheck-includes.py18 first = re.findall (r'#.*include.*', content)[0]
26 includes = re.findall (r'#.*include.*', content)
28 if not len (re.findall (r'"hb.*\.hh"', includes[0])):
35 if re.findall ('#.*include.*<.*hb', content):
/third_party/mesa3d/src/mapi/glapi/gen/
Dgl_enums.py229 for enum in extension.findall('require/enum'):
235 for enum in xml.findall('enums/enum'):
250 for feature in xml.findall('feature'):
267 for enum in feature.findall('require/enum'):
270 for extension in xml.findall('extensions/extension'):
/third_party/skia/third_party/externals/opengl-registry/xml/
Dreg.py465 params = cmd.findall('param')
756 for type in self.reg.findall('types/type'):
768 for group in self.reg.findall('groups/group'):
778 for enum in self.reg.findall('enums/enum'):
788 for cmd in self.reg.findall('commands/command'):
800 for feature in self.reg.findall('feature'):
803 self.extensions = self.reg.findall('extensions/extension')
870 for typeElem in features.findall('type'):
872 for enumElem in features.findall('enum'):
880 for cmdElem in features.findall('command'):
[all …]
/third_party/EGL/api/
Dreg.py455 params = cmd.findall('param')
754 for type in self.reg.findall('types/type'):
766 for group in self.reg.findall('groups/group'):
776 for enum in self.reg.findall('enums/enum'):
786 for cmd in self.reg.findall('commands/command'):
798 for feature in self.reg.findall('feature'):
801 self.extensions = self.reg.findall('extensions/extension')
868 for typeElem in features.findall('type'):
870 for enumElem in features.findall('enum'):
878 for cmdElem in features.findall('command'):
[all …]
/third_party/openGLES/xml/
Dreg.py454 params = cmd.findall('param')
745 for type in self.reg.findall('types/type'):
757 for group in self.reg.findall('groups/group'):
767 for enum in self.reg.findall('enums/enum'):
777 for cmd in self.reg.findall('commands/command'):
789 for feature in self.reg.findall('feature'):
792 self.extensions = self.reg.findall('extensions/extension')
859 for typeElem in features.findall('type'):
861 for enumElem in features.findall('enum'):
869 for cmdElem in features.findall('command'):
[all …]
/third_party/skia/third_party/externals/egl-registry/api/
Dreg.py466 params = cmd.findall('param')
765 for type in self.reg.findall('types/type'):
777 for group in self.reg.findall('groups/group'):
787 for enum in self.reg.findall('enums/enum'):
797 for cmd in self.reg.findall('commands/command'):
809 for feature in self.reg.findall('feature'):
812 self.extensions = self.reg.findall('extensions/extension')
879 for typeElem in features.findall('type'):
881 for enumElem in features.findall('enum'):
889 for cmdElem in features.findall('command'):
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py286 for core_removed_ep in xml_root.findall('feature/remove'):
288 for command in core_removed_ep.findall('./command'):
291 for feature in xml_root.findall('feature'):
300 for command in feature.findall('./require/command'):
308 for extension in xml_root.findall('extensions/extension'):
311 for command in extension.findall('./require/command'):
463 for command in xml_root.findall('commands/command'):
470 param_text = [format_param(param) for param in command.findall('param')]
/third_party/mesa3d/src/intel/genxml/
Dgen_sort_tags.py111 enums = sorted(genxml.findall('enum'), key=get_name)
114 values = e.findall('./value')
121 structs = sorted(xml.findall('./struct'), key=get_name)
136 instructions = sorted(xml.findall('./instruction'), key=get_name)
140 registers = sorted(xml.findall('./register'), key=get_name)
/third_party/vulkan-loader/scripts/
Dloader_versioning_generator.py98 for elem in self.registry.reg.find('types').findall('type'):
104 version_major = re.findall("[0-9]+", ''.join(elem.itertext()))[1]
105 version_minor = re.findall("[0-9]+", ''.join(elem.itertext()))[2]
109 version_patch = re.findall("[0-9]+", ''.join(elem.itertext()))[0]
/third_party/mesa3d/src/mapi/new/
DgenCommon.py112 for featElem in root.findall("feature"):
115 for featElem in root.findall("extensions/extension"):
119 for commandElem in featElem.findall("require/command"):
167 for elem in root.findall("commands/command"):
175 for ch in elem.findall("param"):

1234567