Home
last modified time | relevance | path

Searched refs:decl (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_physical_device_properties_gen.py67 decl: str
73 self.decl = ""
76 self.decl += "".join(element.itertext())
78 self.decl += re.sub(" +", " ", element.tail)
86 self.decl = self.decl.replace(self.name, self.actual_name)
95 def copy_property(dst, src, decl, length="1"): argument
96 assert "*" not in decl
98 if "[" in decl:
291 elif prop.decl != property_names[prop.actual_name].decl:
292 ….append("Declaration mismatch ('%s' vs. '%s')" % (prop.decl, property_names[prop.actual_name].decl
Dvk_cmd_queue_gen.py439 def to_field_decl(decl): argument
440 if 'const*' in decl:
441 decl = decl.replace('const*', '*')
443 decl = decl.replace('const ', '')
444 [decl, name] = decl.rsplit(' ', 1)
445 return decl + ' ' + to_field_name(name)
454 return param.decl[param.decl.find("[") + 1:param.decl.find("]")]
463 const_cast = remove_suffix(param.decl.replace("const", ""), param.name)
474 const_cast = remove_suffix(member.decl.replace("const", ""), member.name)
531 const_cast = remove_suffix(param.decl.replace("const", ""), param.name)
[all …]
Dvk_entrypoints.py63 return ', '.join(p.decl for p in self.params[start:])
121 decl=''.join(p.itertext()),
/hardware/google/gfxstream/guest/mesa/src/util/perf/
Du_trace.py163 def __init__(self, decl): argument
164 assert isinstance(decl, str)
165 self.decl = decl
/hardware/google/gfxstream/guest/mesa/src/util/
Du_memory.h103 #define EXCLUSIVE_CACHELINE(decl) \ argument
105 decl; }
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dgenerator.py664 decl = self.genRequirements(name, mustBeFound = False)
672 decl += "#define {} {}\n".format(name, strVal)
674 decl += "static constexpr {} {} {{{}}};\n".format(flagTypeName, name, strVal)
685 decl += "static const {} {} = {};\n".format(flagTypeName, name, strVal)
688 body += decl
690 aliasText += decl
758 decl = ''
762 decl += '#ifdef {}\n'.format(protect)
768 decl += requirements
769 decl += ' {} = {},'.format(name, strVal)
[all …]