Home
last modified time | relevance | path

Searched refs:alias (Results 1 – 25 of 112) sorted by relevance

12345

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dscriptgenerator.py69 self.alias = {}
191 def genType(self, typeinfo, name, alias): argument
207 OutputGenerator.genType(self, typeinfo, name, alias)
218 self.genStruct(typeinfo, name, alias)
220 if alias:
222 self.addName(self.alias, name, alias)
263 def genStruct(self, typeinfo, typeName, alias): argument
268 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
270 if alias:
272 self.addName(self.alias, typeName, alias)
[all …]
Dmakemanaliases.py40 for key in api.alias:
46 alias = key + '.html' variable
47 src = api.alias[key] + '.html'
55 if os.access(alias, os.R_OK):
60 print('Unexpected alias file "' + alias + '" exists, skipping',
64 os.symlink(src, alias)
Ddocgenerator.py330 def genType(self, typeinfo, name, alias): argument
332 OutputGenerator.genType(self, typeinfo, name, alias)
341 self.genStruct(typeinfo, name, alias)
348 if alias:
350 body += 'typedef ' + alias + ' ' + name + ';\n'
386 def genStruct(self, typeinfo, typeName, alias): argument
388 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
391 if alias:
394 body += '// {} is an alias for {}\n'.format(typeName, alias)
395 alias_info = self.registry.typedict[alias]
[all …]
Dcgenerator.py313 def genType(self, typeinfo, name, alias): argument
315 OutputGenerator.genType(self, typeinfo, name, alias)
333 self.genStruct(typeinfo, name, alias)
338 if alias:
340 body = 'typedef ' + alias + ' ' + name + ';\n'
402 def genStruct(self, typeinfo, typeName, alias): argument
414 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
421 if alias:
422 body = 'typedef ' + alias + ' ' + typeName + ';\n'
453 def genGroup(self, groupinfo, groupName, alias=None): argument
[all …]
Dcerealgenerator.py826 def genType(self, typeinfo: TypeInfo, name, alias): argument
827 OutputGenerator.genType(self, typeinfo, name, alias)
832 self.typeInfo.onGenType(typeinfo, name, alias)
838 self.typeInfo.onGenType(typeinfo, name, alias)
839 self.forEachWrapper(lambda w: w.onGenType(typeinfo, name, alias), self.supportedModules)
841 def genStruct(self, typeinfo, typeName, alias): argument
842 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
846 self.typeInfo.onGenStruct(typeinfo, typeName, alias)
847 … self.forEachWrapper(lambda w: w.onGenStruct(typeinfo, typeName, alias), self.supportedModules)
849 def genGroup(self, groupinfo: GroupInfo, groupName, alias = None): argument
[all …]
Dschema_generator.py167 def genType(self, typeinfo, name, alias): argument
168 OutputGenerator.genType(self, typeinfo, name, alias)
179 self.genStruct(typeinfo, name, alias)
254 def genStruct(self, typeinfo, typeName, alias): argument
255 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
259 if alias:
285 def genGroup(self, groupinfo, groupName, alias=None): argument
286 OutputGenerator.genGroup(self, groupinfo, groupName, alias)
Djson_h_generator.py188 def genType(self, typeinfo, name, alias): argument
189 OutputGenerator.genType(self, typeinfo, name, alias)
191 def genStruct(self, typeinfo, typeName, alias): argument
192 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
194 def genGroup(self, groupinfo, groupName, alias=None): argument
195 OutputGenerator.genGroup(self, groupinfo, groupName, alias)
Dreg.py639 alias = cmd.get('alias')
640 if alias:
641 cmdAlias.append([name, alias, cmd])
646 for (name, alias, cmd) in cmdAlias:
647 if alias in self.cmddict:
648 aliasInfo = self.cmddict[alias]
652 cmdElem.set('alias', alias)
661 cmd.get('name'), 'alias', alias)
1081 alias = elem.get('alias')
1082 if alias is None:
[all …]
Dspirvcapgenerator.py147 alias = subelem.get('alias')
151 if alias:
152 link_name = alias
228 def genSpirv(self, capinfo, name, alias): argument
235 OutputGenerator.genSpirv(self, capinfo, name, alias)
Djson_c_generator.py342 def genType(self, typeinfo, name, alias): argument
343 OutputGenerator.genType(self, typeinfo, name, alias)
358 self.genStruct(typeinfo, name, alias)
573 def genStruct(self, typeinfo, typeName, alias): argument
574 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
582 if alias:
583 body = 'typedef ' + alias + ' ' + typeName + ';\n'
617 def genGroup(self, groupinfo, groupName, alias=None): argument
618 OutputGenerator.genGroup(self, groupinfo, groupName, alias)
Dgenerator.py680 alias = self.registry.tree.find("enums/enum[@name='" + strVal + "']")
681 if alias is not None:
682 (numVal, strVal) = self.enumToValue(alias, True, bitwidth, True)
822 def buildConstantCDecl(self, enuminfo, name, alias): argument
831 if self.misracppstyle() and enuminfo.elem.get('type') and not alias:
842 elif enuminfo.elem.get('type') and not alias:
973 def genType(self, typeinfo, name, alias): argument
981 def genStruct(self, typeinfo, typeName, alias): argument
996 def genGroup(self, groupinfo, groupName, alias): argument
1005 def genEnum(self, enuminfo, typeName, alias): argument
[all …]
Dreflib.py148 self.alias = ''
471 alias = None
487 alias = value
504 if alias:
505 pi.alias = alias
509 'TYPE =', refpage_type, 'ALIAS =', alias,
DgenRef.py497 seeAlso=seeAlsoList(pi.name, pi.refs, pi.alias.split()),
548 seeAlso=seeAlsoList(pi.name, pi.refs, pi.alias.split()),
717 for alias in pi.alias.split():
718 pages[alias] = pi
788 if refPage not in api.alias:
806 'because it is an alias of', api.alias[refPage])
857 if req_name in api.alias:
1049 if page in api.alias:
1050 … logDiag('(Benign, is an alias) Ref page for', title, page, 'is aliased into', api.alias[page])
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_entrypoints.py37 self.alias = None
71 self.alias = entrypoint
75 return self.alias.is_physical_device_entrypoint()
78 return self.alias.is_device_entrypoint()
81 return self.alias.prefixed_name(prefix)
85 return self.alias.params
89 return self.alias.return_type
93 return self.alias.disp_table_index
96 return self.alias.decl_params()
99 return self.alias.call_params()
Dgen_enum_to_str.py327 extnum=None, offset=None, alias=None, argument
329 if alias is not None:
331 if alias not in self.name_to_value:
334 alias_list = self.name_to_alias_list.setdefault(alias, [])
339 value = self.name_to_value[alias]
355 for alias in self.name_to_alias_list[name]:
356 self.add_value(alias, value)
368 self.add_value(elem.attrib['name'], alias=elem.attrib['alias'])
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dunbox.py41 def onGenType(self, typeXml, name, alias): argument
42 VulkanWrapperGenerator.onGenType(self, typeXml, name, alias)
49 if category in ["struct", "union"] and alias:
52 self.unboxPrefix + "_" + alias))
54 if category in ["struct", "union"] and not alias:
77 def onGenCmd(self, cmdinfo, name, alias): argument
78 VulkanWrapperGenerator.onGenCmd(self, cmdinfo, name, alias)
Dhandlemap.py204 def onGenType(self, typeXml, name, alias): argument
205 VulkanWrapperGenerator.onGenType(self, typeXml, name, alias)
212 if category in ["struct", "union"] and alias:
215 self.handlemapPrefix + alias))
217 if category in ["struct", "union"] and not alias:
247 def onGenCmd(self, cmdinfo, name, alias): argument
248 VulkanWrapperGenerator.onGenCmd(self, cmdinfo, name, alias)
Dextensionstructs.py70 def onGenType(self, typeXml, name, alias): argument
71 VulkanWrapperGenerator.onGenType(self, typeXml, name, alias)
73 def onGenCmd(self, cmdinfo, name, alias): argument
74 VulkanWrapperGenerator.onGenCmd(self, cmdinfo, name, alias)
Dvkextensionstructuretype.py24 def onGenGroup(self, groupinfo, groupName, alias=None): argument
25 super().onGenGroup(groupinfo, groupName, alias)
Ddispatch.py363 def onGenType(self, typeXml, name, alias): argument
364 VulkanWrapperGenerator.onGenType(self, typeXml, name, alias)
366 def onGenCmd(self, cmdinfo, name, alias): argument
367 VulkanWrapperGenerator.onGenCmd(self, cmdinfo, name, alias)
497 def onGenType(self, typeXml, name, alias): argument
498 VulkanDispatch.onGenType(self, typeXml, name, alias);
500 def onGenCmd(self, cmdinfo, name, alias): argument
501 VulkanDispatch.onGenCmd(self, cmdinfo, name, alias);
Dtransform.py271 def onGenType(self, typeXml, name, alias): argument
272 VulkanWrapperGenerator.onGenType(self, typeXml, name, alias)
279 if category in ["struct", "union"] and alias:
283 self.transformPrefix + variant + "_" + alias))
285 if category in ["struct", "union"] and not alias:
328 def onGenCmd(self, cmdinfo, name, alias): argument
329 VulkanWrapperGenerator.onGenCmd(self, cmdinfo, name, alias)
Ddeepcopy.py306 def onGenType(self, typeXml, name, alias): argument
307 VulkanWrapperGenerator.onGenType(self, typeXml, name, alias)
314 if category in ["struct", "union"] and alias:
317 self.deepcopyPrefix + alias))
319 if category in ["struct", "union"] and not alias:
358 def onGenCmd(self, cmdinfo, name, alias): argument
359 VulkanWrapperGenerator.onGenCmd(self, cmdinfo, name, alias)
Dtesting.py339 def onGenType(self, typeXml, name, alias): argument
340 VulkanWrapperGenerator.onGenType(self, typeXml, name, alias)
347 if category in ["struct", "union"] and alias:
350 API_PREFIX_EQUALITY + alias))
352 if category in ["struct", "union"] and not alias:
379 def onGenCmd(self, cmdinfo, name, alias): argument
380 VulkanWrapperGenerator.onGenCmd(self, cmdinfo, name, alias)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dentity_db.py143 alias = info.elem.get('alias')
144 if alias:
145 self.addAlias(name, alias)
248 for alias in alias_set:
249 if alias in self._byEntity:
250 return self.findEntity(alias)
498 alias = elem.get('alias')
499 if alias:
500 self.addAlias(entityName, alias)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/
DextensionStubSource.py214 def genType(self, typeinfo, name, alias): argument
217 def genStruct(self, typeinfo, typeName, alias): argument
220 def genGroup(self, groupinfo, groupName, alias): argument
223 def genEnum(self, enuminfo, name, alias): argument
228 def genCmd(self, cmdinfo, name, alias): argument
229 OutputGenerator.genCmd(self, cmdinfo, name, alias)

12345