Home
last modified time | relevance | path

Searched refs:cmdinfo (Results 1 – 9 of 9) sorted by relevance

/external/vulkan-validation-layers/scripts/
Dlayer_dispatch_table_generator.py164 def genCmd(self, cmdinfo, name, alias): argument
165 OutputGenerator.genCmd(self, cmdinfo, name, alias)
168 params = cmdinfo.elem.findall('param')
174 self.AddCommandToDispatchList(self.currentExtension, self.type, name, cmdinfo, info[0])
199 def AddCommandToDispatchList(self, extension_name, extension_type, name, cmdinfo, handle_type): argument
202 return_type = cmdinfo.elem.find('proto/type')
210 params = cmdinfo.elem.findall('param')
236 cdecl=self.makeCDecls(cmdinfo.elem)[0]))
246 cdecl=self.makeCDecls(cmdinfo.elem)[0]))
258 cdecl=self.makeCDecls(cmdinfo.elem)[0]))
[all …]
Dlayer_chassis_generator.py1453 def genCmd(self, cmdinfo, name, alias): argument
1463 self.appendSection('command', self.makeCDecls(cmdinfo.elem)[0])
1468 self.layer_factory += self.BaseClassCdecl(cmdinfo.elem, name)
1487 OutputGenerator.genCmd(self, cmdinfo, name, alias)
1489 decls = self.makeCDecls(cmdinfo.elem)
1493 dispatchable_type = cmdinfo.elem.find('param/type').text
1494 dispatchable_name = cmdinfo.elem.find('param/name').text
1503 api_function_name = cmdinfo.elem.attrib.get('name')
1504 params = cmdinfo.elem.findall('param/name')
1517 resulttype = cmdinfo.elem.find('proto/type')
Ddispatch_table_helper_generator.py155 def genCmd(self, cmdinfo, name, alias): argument
156 OutputGenerator.genCmd(self, cmdinfo, name, alias)
161 params = cmdinfo.elem.findall('param')
165 self.AddCommandToDispatchList(name, info[0], self.featureExtraProtect, cmdinfo)
169 def AddCommandToDispatchList(self, name, handle_type, protect, cmdinfo): argument
183 decl = self.makeCDecls(cmdinfo.elem)[1]
Dthread_safety_generator.py903 def genCmd(self, cmdinfo, name, alias): argument
924 startthreadsafety = self.makeThreadUseBlock(cmdinfo.elem, 'Start')
927 finishthreadsafety = self.makeThreadUseBlock(cmdinfo.elem, 'Finish')
929 OutputGenerator.genCmd(self, cmdinfo, name, alias)
933 dispatchable_type = cmdinfo.elem.find('param/type').text
934 dispatchable_name = cmdinfo.elem.find('param/name').text
936 decls = self.makeCDecls(cmdinfo.elem)
938 result_type = cmdinfo.elem.find('proto/type')
Dlayer_chassis_dispatch_generator.py1669 def genCmd(self, cmdinfo, cmdname, alias): argument
1672 OutputGenerator.genCmd(self, cmdinfo, cmdname, alias)
1673 members = cmdinfo.elem.findall('.//param')
1719 self.cmd_info_data.append(self.CmdInfoData(name=cmdname, cmdinfo=cmdinfo))
1723 def GenDispatchFunctionPrototype(self, cmdinfo, ifdef_text): argument
1724 decls = self.makeCDecls(cmdinfo.elem)
1746 cmdinfo = cmd_info_dict[api_call.name]
1750 …self.appendSection('header_file', self.GenDispatchFunctionPrototype(cmdinfo, feature_extra_protect…
1753 decls = self.makeCDecls(cmdinfo.elem)
1759 (api_decls, api_pre, api_post) = self.generate_wrapping_code(cmdinfo.elem)
[all …]
Dobject_tracker_generator.py844 def genCmd(self, cmdinfo, cmdname, alias): argument
847 OutputGenerator.genCmd(self, cmdinfo, cmdname, alias)
848 members = cmdinfo.elem.findall('.//param')
901 …self.cmd_info_dict[cmdname] =self.CmdInfoData(name=cmdname, cmdinfo=cmdinfo, members=membersInfo, …
907 cmdinfo = cmddata.cmdinfo
915 … (pre_call_validate, pre_call_record, post_call_record) = self.generate_wrapping_code(cmdinfo.elem)
926 decls = self.makeCDecls(cmdinfo.elem)
929 params = cmdinfo.elem.findall('param/name')
933 … fcn_call = cmdinfo.elem.attrib.get('name').replace('vk', 'TOKEN', 1) + '(' + paramstext + ');'
938 result_type = cmdinfo.elem.find('proto/type')
Dparameter_validation_generator.py604 def genCmd(self, cmdinfo, name, alias): argument
608 OutputGenerator.genCmd(self, cmdinfo, name, alias)
609 decls = self.makeCDecls(cmdinfo.elem)
622 params = cmdinfo.elem.findall('param')
653 resultinfo = cmdinfo.elem.find('proto/type')
656 …end(self.CommandData(name=name, params=paramsInfo, cdecl=self.makeCDecls(cmdinfo.elem)[0], extensi…
/external/linux-kselftest/tools/testing/selftests/tc-testing/
Dtdc.py153 for cmdinfo in cmdlist:
154 if isinstance(cmdinfo, list):
155 exit_codes = cmdinfo[1:]
156 cmd = cmdinfo[0]
159 cmd = cmdinfo
/external/vulkan-headers/registry/
Dcgenerator.py405 def genCmd(self, cmdinfo, name, alias): argument
406 OutputGenerator.genCmd(self, cmdinfo, name, alias)
414 decls = self.makeCDecls(cmdinfo.elem)