Home
last modified time | relevance | path

Searched refs:findall (Results 1 - 25 of 159) sorted by relevance

1234567

/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Djson_h_generator.py96 for feature in self.registry.reg.findall('feature'):
99 requiredList = feature.findall("require")
102 typeList = requiredItem.findall("type")
108 removeItemList = feature.findall("remove")
110 removeTypes = removeItem.findall("type")
115 allExtensions = self.registry.reg.findall('extensions')
117 extensionList = extensions.findall("extension")
120 requiredList = extension.findall("require")
122 typeList = requiredItem.findall("type")
131 typesList = self.registry.reg.findall('type
[all...]
H A 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('para
[all...]
H A Djson_generator.py390 allExtensions = self.registry.reg.findall('extensions')
392 extensionList = extensions.findall("extension")
396 requiredList = extension.findall("require")
398 typeList = requiredItem.findall("type")
407 typesList = self.registry.reg.findall('types')
409 typeList = types.findall("type")
426 for feature in self.registry.reg.findall('feature'):
429 requiredList = feature.findall("require")
432 typeList = requiredItem.findall("type")
437 removeItemList = feature.findall("remov
[all...]
H A Djson_c_generator.py163 typesList = self.registry.reg.findall('types')
166 typeList = types.findall("type")
169 members = type.findall('member')
193 for feature in self.registry.reg.findall('feature'):
196 requiredList = feature.findall("require")
199 typeList = requiredItem.findall("type")
205 removeItemList = feature.findall("remove")
207 removeTypes = removeItem.findall("type")
212 allExtensions = self.registry.reg.findall('extensions')
214 extensionList = extensions.findall("extensio
[all...]
H A Djson_parser.py399 for feature in self.registry.reg.findall('feature'):
402 requiredList = feature.findall("require")
405 typeList = requiredItem.findall("type")
411 removeItemList = feature.findall("remove")
413 removeTypes = removeItem.findall("type")
418 allExtensions = self.registry.reg.findall('extensions')
420 extensionList = extensions.findall("extension")
423 requiredList = extension.findall("require")
425 typeList = requiredItem.findall("type")
431 for enums in self.registry.reg.findall('enum
[all...]
H A Dxml_consistency.py117 for cmd in ext.findall('./require/command[@name]'):
125 for val in result_elem.findall('./enum[@name]'):
301 params = [(getElemName(elt), elt) for elt in elem.findall('param')]
392 next_member = findNamedElem(info.elem.findall('member'), next_name)
511 for elt in info.elem.findall('member')
597 for req_elem in elem.findall('./require'):
608 check_names(req_elem.findall('./command'), author, alt_authors, name_exceptions)
609 check_names(req_elem.findall('./type'), author, alt_authors, name_exceptions)
610 check_names(req_elem.findall('./enum'), author, alt_authors, name_exceptions)
618 enums = elem.findall('
[all...]
H A Dlinkcheck.py22 for svg in tree.findall('//svg'):
26 hrefs = tree.findall('//*[@href]')
27 ids = tree.findall('//*[@id]')
/third_party/mesa3d/src/panfrost/bifrost/
H A 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('*')[
[all...]
/third_party/mesa3d/src/vulkan/util/
H A 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'):
H A 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('
[all...]
/third_party/vulkan-headers/registry/
H A 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('para
[all...]
/third_party/skia/third_party/externals/dawn/generator/
H A 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/mesa3d/src/vulkan/runtime/
H A 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/angle2/scripts/
H A 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')]
H A 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/rust/crates/regex/tests/
H A 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!(r in empty_match_find_iter()
[all...]
/third_party/mesa3d/src/compiler/isaspec/
H A 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('valu
[all...]
/third_party/python/Lib/test/
H A Dtest_xml_etree.py245 check_method(element.findall)
1856 self.assertEqual(1+4*2, len(document.findall(".//p")))
1974 self.assertEqual(summarize_list(tree.findall(".//thead")), [])
1975 self.assertEqual(summarize_list(tree.findall(".//tbody")), ['tbody'])
2490 e.findall('.//grandchild')[0].set('attr', 'other value')
2735 e.findall(MutatingElementPath(e, 'x'))
2741 e.findall(BadElementPath('x'))
2797 found = list(e.findall('bar'))
2851 self.assertEqual(summarize_list(e.findall('.')), ['body'])
2852 self.assertEqual(summarize_list(e.findall('ta
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A 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/gallium/drivers/zink/
H A 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/mapi/glapi/gen/
H A 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/mesa3d/src/util/
H A 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/angle2/src/libANGLE/renderer/gl/
H A 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/
H A 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/EGL/api/
H A 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('comman
[all...]

Completed in 21 milliseconds

1234567