Home
last modified time | relevance | path

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

1234567891011

/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/vulkan-headers/registry/
Dreg.py162 return self.elem.findall('member')
200 return self.elem.findall('param')
406 for type_elem in self.reg.findall('types/type'):
419 for group in self.reg.findall('enums'):
432 for enums in self.reg.findall('enums'):
434 for enum in enums.findall('enum'):
450 for cmd in self.reg.findall('commands/command'):
485 for feature in self.reg.findall('feature'):
503 for elem in feature.findall('require'):
504 for enum in elem.findall('enum'):
[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/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/angle/scripts/
Dregistry_xml.py315 self.all_commands = self.root.findall('commands/command')
323 insertion_point = self.root.findall("./commands")[0]
327 insertion_point = self.root.findall("./extensions")[0]
337 commands = [cmd.attrib['name'] for cmd in self.root.findall(xpath)]
368 for extension in self.root.findall("extensions/extension"):
381 for require in extension.findall('require'):
390 extension_commands = require.findall('command')
426 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):
/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/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/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/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/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/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/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/fonttools/Lib/fontTools/designspaceLib/
D__init__.py517 self.root.findall('.rules')[0].append(ruleElement)
540 self.root.findall('.axes')[0].append(axisElement)
604 if instanceElement.findall('.glyphs') == []:
607 glyphsElement = instanceElement.findall('.glyphs')[0]
621 self.root.findall('.instances')[0].append(instanceElement)
668 self.root.findall('.sources')[0].append(sourceElement)
750 for ruleElement in self.root.findall(".rules/rule"):
765 for conditionSetElement in ruleElement.findall('.conditionset'):
772 for subElement in ruleElement.findall('.sub'):
781 for conditionElement in parentElement.findall('.condition'):
[all …]
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py247 check_method(element.findall)
1834 self.assertEqual(1+4*2, len(document.findall(".//p")))
1952 self.assertEqual(summarize_list(tree.findall(".//thead")), [])
1953 self.assertEqual(summarize_list(tree.findall(".//tbody")), ['tbody'])
2473 e.findall('.//grandchild')[0].set('attr', 'other value')
2705 e.findall(MutatingElementPath(e, 'x'))
2711 e.findall(BadElementPath('x'))
2767 found = list(e.findall('bar'))
2821 self.assertEqual(summarize_list(e.findall('.')), ['body'])
2822 self.assertEqual(summarize_list(e.findall('tag')), ['tag', 'tag'])
[all …]
/external/llvm-project/lld/test/MachO/tools/
Dvalidate-unwind-info.py29 re.findall(r"start:\s+0x%s+\s+(\w+)\s+" % hex +
42 re.findall(r"^%s(%s) g\s+F __TEXT,__text (x\1)$" % (hex8, hex8),
48 re.findall(r"^\s+encoding\[\d+\]: 0x(%s+)$" % hex,
55 re.findall(r"^\s+\[\d+\]: function offset=0x(%s+), " % hex +
/external/angle/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')]
/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/selinux/python/sepolicy/sepolicy/
Dinterface.py112 m = re.findall("(.*)%s" % USER_TRANSITION_INTERFACE, i)
147 for l in tree.findall("layer"):
148 for m in l.findall("module"):
150 for e in i.findall("param"):
155 for e in i.findall("param"):
/external/harfbuzz_ng/test/shaping/data/text-rendering-tests/
Dextract-tests.py32 for elt in html.findall(".//*[@class='expected'][@ft:id]", namespaces):
39 for use in elt.findall(".//use"):
51 for elt in html.findall(".//*[@class='expected-no-crash'][@ft:id]", namespaces):
/external/python/cpython2/Lib/xml/etree/
DElementPath.py74 for token in xpath_tokenizer_re.findall(pattern):
193 for e in elem.findall(tag):
218 elems = list(parent.findall(elem.tag))
292 def findall(elem, path, namespaces=None): function
/external/deqp/external/vulkancts/scripts/
Dgen_vulkan_header.py42 req = n.findall("require")
44 enum = req[0].findall("enum")
57 extroot = root.findall("extensions")
87 extroot = root.findall("extensions")

1234567891011