Home
last modified time | relevance | path

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

12345678910>>...14

/external/mesa3d/src/panfrost/bifrost/
Disa_parse.py38 return [cond.tag] + [parse_cond(x) for x in cond.findall('*')]
46 for deriv in obj.findall('derived'):
50 opts = [parse_cond(d) for d in deriv.findall('*')]
61 for mod in obj.findall('mod'):
69 opts = [x.text if x.tag == 'opt' else x.tag for x in mod.findall('*')]
86 for node in enc.findall('copy'):
105 for src in ins.findall('src'):
109 for imm in ins.findall('immediate'):
115 for swap in ins.findall('swap'):
117 cond = parse_cond(swap.findall('*')[0])
[all …]
/external/mesa3d/bin/
Dpost_version_test.py91 assert len(parsed.findall('.//tr')) == 3
94 tr = parsed.findall('.//tr')[1]
95 tds = tr.findall('.//td')
137 assert len(two_releases.findall('.//tr')) == 4
140 tr = two_releases.findall('.//tr')[2]
141 tds = tr.findall('.//td')
151 assert len(two_releases.findall('.//tr')) == 4
154 tr = two_releases.findall('.//tr')[1]
155 tds = tr.findall('.//td')
/external/angle/scripts/
Dgen_gl_enum_utils.py203 for feature in xml.root.findall('feature'):
204 for require in feature.findall('require'):
207 for enum in require.findall('enum'):
210 for enum in require.findall('enum'):
213 for extensions in xml.root.findall('extensions'):
214 for extension in extensions.findall('extension'):
216 for require in extension.findall('require'):
220 for enum in require.findall('enum'):
224 for enum in require.findall('enum'):
238 for enums_node in xml.root.findall('enums'):
[all …]
Dregistry_xml.py503 self.all_commands = self.root.findall('commands/command')
511 insertion_point = self.root.findall("./commands")[0]
515 insertion_point = self.root.findall("./extensions")[0]
525 commands = [cmd.attrib['name'] for cmd in self.root.findall(xpath)]
563 for extension in self.root.findall("extensions/extension"):
576 for require in extension.findall('require'):
585 extension_commands = require.findall('command')
630 param_text = ["".join(param.itertext()) for param in command_node.findall('param')]
/external/angle/third_party/vulkan-deps/vulkan-headers/src/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 …]
/external/mesa3d/src/vulkan/util/
Dgen_enum_to_str.py339 for member in xml_node.findall('./member'):
340 name = member.findall('./name')
355 for enum_type in xml.findall('./enums[@type="enum"]'):
357 for value in enum_type.findall('./enum'):
360 for value in xml.findall('./feature/require/enum[@extends]'):
365 for command in xml.findall('./commands/command'):
373 for struct_type in xml.findall('./types/type[@category="struct"]'):
380 for platform in xml.findall('./platforms/platform'):
385 for ext_elem in xml.findall('./extensions/extension[@supported="vulkan"]'):
393 for value in ext_elem.findall('./require/enum[@extends]'):
[all …]
/external/gfxstream-protocols/registry/vulkan/scripts/
Dreg.py162 return self.elem.findall('member')
200 return self.elem.findall('param')
418 for type_elem in self.reg.findall('types/type'):
431 for group in self.reg.findall('enums'):
444 for enums in self.reg.findall('enums'):
446 for enum in enums.findall('enum'):
462 for cmd in self.reg.findall('commands/command'):
497 for feature in self.reg.findall('feature'):
515 for elem in feature.findall('require'):
516 for enum in elem.findall('enum'):
[all …]
Dlinkcheck.py22 for svg in tree.findall('//svg'):
26 hrefs = tree.findall('//*[@href]')
27 ids = tree.findall('//*[@id]')
/external/vulkan-headers/registry/
Dreg.py106 for child in parent.findall('*'):
195 return self.elem.findall('member')
233 return self.elem.findall('param')
469 for type_elem in self.reg.findall('types/type'):
485 for group in self.reg.findall('enums'):
498 for enums in self.reg.findall('enums'):
500 for enum in enums.findall('enum'):
516 for cmd in self.reg.findall('commands/command'):
555 for feature in self.reg.findall('feature'):
573 for elem in feature.findall('require'):
[all …]
/external/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()
/external/mesa3d/src/freedreno/vulkan/
Dtu_entrypoints_gen.py381 for command in doc.findall('./commands/command'):
393 ) for p in command.findall('./param')]
399 for feature in doc.findall('./feature'):
405 for command in feature.findall('./require/command'):
412 for extension in doc.findall('.extensions/extension'):
420 for command in extension.findall('./require/command'):
441 for extension in doc.findall('./extensions/extension[@protect]'):
444 for entrypoint in extension.findall('./require/command'):
449 for platform in doc.findall('./platforms/platform'):
454 for extension in doc.findall('./extensions/extension[@platform]'):
[all …]
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py262 check_method(element.findall)
1875 self.assertEqual(1+4*2, len(document.findall(".//p")))
1993 self.assertEqual(summarize_list(tree.findall(".//thead")), [])
1994 self.assertEqual(summarize_list(tree.findall(".//tbody")), ['tbody'])
2509 e.findall('.//grandchild')[0].set('attr', 'other value')
2741 e.findall(MutatingElementPath(e, 'x'))
2747 e.findall(BadElementPath('x'))
2803 found = list(e.findall('bar'))
2857 self.assertEqual(summarize_list(e.findall('.')), ['body'])
2858 self.assertEqual(summarize_list(e.findall('tag')), ['tag', 'tag'])
[all …]
/external/mesa3d/.gitlab-ci/tracie/tests/
Dtest.py106 ocurrencies = re.findall(e, content)
225 testsuites = junit_xml.findall("./testsuite")
226 testcases_gl = junit_xml.findall("./testsuite[@name='traces.yml:gl-test-device']/testcase")
227 testcases_vk = junit_xml.findall("./testsuite[@name='traces.yml:vk-test-device']/testcase")
247 … failures_gl = junit_xml.findall("./testsuite[@name='traces.yml:gl-test-device']/testcase/failure")
248 … failures_vk = junit_xml.findall("./testsuite[@name='traces.yml:vk-test-device']/testcase/failure")
/external/harfbuzz_ng/src/
Dcheck-includes.py30 first = re.findall (r'#.*include.*', content)[0]
38 includes = re.findall (r'#.*include.*', content)
40 if not len (re.findall (r'".*\.hh"', includes[0])):
47 if re.findall ('#.*include.*<.*hb', content):
/external/python/cpython2/Tools/scripts/
Dtexcheck.py121 for begend, name, punct in delimiters.findall(line):
136 for open, close in braces.findall(line):
150 for cmd in falsetexcmd.findall(line):
157 for cmd in spacingmarkup.findall(line):
166 for cmd in texcmd.findall(line):
185 for dw in doubledwords.findall(line):
/external/mesa3d/src/intel/vulkan/
Danv_entrypoints_gen.py693 for command in doc.findall('./commands/command'):
705 ) for p in command.findall('./param')]
711 for feature in doc.findall('./feature'):
717 for command in feature.findall('./require/command'):
724 for extension in doc.findall('.extensions/extension'):
732 for command in extension.findall('./require/command'):
746 for platform in doc.findall('./platforms/platform'):
751 for extension in doc.findall('./extensions/extension[@platform]'):
755 for entrypoint in extension.findall('./require/command'):
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_entrypoints_gen.py651 for command in doc.findall('./commands/command'):
663 ) for p in command.findall('./param')]
669 for feature in doc.findall('./feature'):
675 for command in feature.findall('./require/command'):
682 for extension in doc.findall('.extensions/extension'):
690 for command in extension.findall('./require/command'):
704 for platform in doc.findall('./platforms/platform'):
709 for extension in doc.findall('./extensions/extension[@platform]'):
713 for entrypoint in extension.findall('./require/command'):
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_entrypoints_gen.py662 for command in doc.findall('./commands/command'):
674 ) for p in command.findall('./param')]
680 for feature in doc.findall('./feature'):
686 for command in feature.findall('./require/command'):
693 for extension in doc.findall('.extensions/extension'):
701 for command in extension.findall('./require/command'):
723 for platform in doc.findall('./platforms/platform'):
728 for extension in doc.findall('./extensions/extension[@platform]'):
732 for entrypoint in extension.findall('./require/command'):
/external/mesa3d/src/amd/vulkan/
Dradv_entrypoints_gen.py662 for command in doc.findall('./commands/command'):
674 ) for p in command.findall('./param')]
680 for feature in doc.findall('./feature'):
686 for command in feature.findall('./require/command'):
693 for extension in doc.findall('.extensions/extension'):
701 for command in extension.findall('./require/command'):
723 for platform in doc.findall('./platforms/platform'):
728 for extension in doc.findall('./extensions/extension[@platform]'):
732 for entrypoint in extension.findall('./require/command'):
/external/mesa3d/src/mapi/glapi/gen/
Dgl_enums.py231 for enum in extension.findall('require/enum'):
237 for enum in xml.findall('enums/enum'):
252 for feature in xml.findall('feature'):
269 for enum in feature.findall('require/enum'):
272 for extension in xml.findall('extensions/extension'):
/external/angle/src/libANGLE/renderer/gl/
Dgenerate_gl_dispatch_table.py287 for core_removed_ep in xml_root.findall('feature/remove'):
289 for command in core_removed_ep.findall('./command'):
292 for feature in xml_root.findall('feature'):
301 for command in feature.findall('./require/command'):
309 for extension in xml_root.findall('extensions/extension'):
312 for command in extension.findall('./require/command'):
464 for command in xml_root.findall('commands/command'):
471 param_text = [format_param(param) for param in command.findall('param')]
/external/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)
/external/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"):
/external/python/cpython2/Lib/test/
Dtest_xml_etree.py214 check_method(element.findall)
1271 self.assertEqual(summarize_list(tree.findall(".//thead")), [])
1272 self.assertEqual(summarize_list(tree.findall(".//tbody")), ['tbody'])
1791 e.findall(MutatingElementPath(e, 'x'))
1797 e.findall(BadElementPath('x'))
1859 self.assertEqual(summarize_list(e.findall('tag')), ['tag', 'tag'])
1860 self.assertEqual(summarize_list(e.findall('.//tag')), ['tag', 'tag', 'tag'])
1865 self.assertEqual(summarize_list(e.findall('section/tag')), [])
1910 self.assertEqual(summarize_list(e.findall('.')), ['body'])
1911 self.assertEqual(summarize_list(e.findall('tag')), ['tag', 'tag'])
[all …]
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py1440 self.root.findall('.rules')[0].append(ruleElement)
1468 self.root.findall('.axes')[0].append(axisElement)
1609 if instanceElement.findall('.glyphs') == []:
1612 glyphsElement = instanceElement.findall('.glyphs')[0]
1623 self.root.findall('.instances')[0].append(instanceElement)
1685 self.root.findall('.sources')[0].append(sourceElement)
1806 for ruleElement in self.root.findall(".rules/rule"):
1821 for conditionSetElement in ruleElement.findall('.conditionset'):
1828 for subElement in ruleElement.findall('.sub'):
1837 for conditionElement in parentElement.findall('.condition'):
[all …]

12345678910>>...14