Home
last modified time | relevance | path

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

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Djson_parser.py758 …def generateStructMembercode(self, param, str1, str2, str3, str4, memberName, typeName, isCommaNee… argument
767 …code += " %s%s) = (%s*)s_globalMem.allocate(%s, sizeof(%s));\n" %(str2, memberName, typeName, …
768 code += " Json::Value& obj_%s = obj[\"%s\"];\n" %(memberName, memberName)
769 … code += " if (obj_%s.size() == 0) %s%s) = nullptr;\n" %(memberName, str2, memberName)
772 …_%s[i], const_cast<%s&>(%s%s[i])));\n" %(typeName, memberName, memberName, typeName, str2, memberN…
778 code += " Json::Value& obj_%s = obj[\"%s\"];\n" %(memberName, memberName)
779 code += " const int sz = obj_%s.size();\n" %(memberName)
780 code += " if (obj_%s.size() == 0) {\n" %(memberName)
781 code += " %s%s) = nullptr;\n"%(str2, memberName)
783 … %s%s) = (%s*)s_globalMem.allocate(1, sizeof(%s));\n" %(str2, memberName, typeName, typeN…
[all …]
Djson_generator.py717 …def generateStructMembercode(self, param, str1, str2, str3, str4, memberName, typeName, isCommaNee… argument
728 code += " _OUT << \"\\\"%s\\\": \" << std::endl;\n" %(memberName)
730 if self.paramIsPointer(param): code += str4 + memberName + ") {\n"
739 … code += " print_%s(%s%s[i], \"%s\", 0);\n" %(typeName, str2, memberName, memberName)
741 … code += " print_%s(%s%s[i], \"%s\", 1);\n" %(typeName, str2, memberName, memberName)
751 …+= " print_%s(*%s%s, \"%s\", %s);\n" %(typeName, str2, memberName, memberName, str(isCom…
753 … += " print_%s(%s%s, \"%s\", %s);\n" %(typeName, str2, memberName, memberName, str(isCom…
779 def genEmptyCode(self, memberName, str2, isCommaNeeded): argument
787 …if self.isCTS and (memberName == "module" or memberName == "layout" or memberName == "renderPass" …
788 …\"\\\"\" << \" : \" << %s%s.getInternal() << \",\" << std::endl;\n" %(memberName, str2, memberName)
[all …]
Djson_c_generator.py402 …def generateStructMembercode(self, param, str1, str2, str3, str4, memberName, typeName, isCommaNee… argument
415 code += " vk_json_printf(_OUT, \"\\\"%s\\\" :\");\n" %(memberName)
417 if self.paramIsPointer(param): code += str4 + memberName + ") {\n"
428 …ode += " print_%s(%s%s[i], \"%s\", 0);\n" %(typeName, str2, memberName, memberName)
430 …ode += " print_%s(%s%s[i], \"%s\", 1);\n" %(typeName, str2, memberName, memberName)
436 …+= " print_%s(*(%s%s), \"%s\", %s);\n" %(typeName, str2, memberName, memberName, str(isCom…
440 …de += " print_%s(%s%s, \"%s\", %s);\n" %(typeName, str2, memberName, memberName, str(isCom…
507 def genEmptyCode(self, memberName, isCommaNeeded): argument
512 code += " vk_json_printf(_OUT, \"\\\"%s\\\" : \\\"\\\"%s\\n\");\n" %(memberName, comma)
518 memberName = ""
[all …]
Dxml_consistency.py437 memberName = member.findtext('name')
438 if memberName in ['sType', 'pNext']:
444 badFields[info.elem.get('name')].missing.append(memberName)
452 badFields[info.elem.get('name')].invalid.append(memberName)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/common/
Dvulkantypes.py832 def getMember(self, memberName) -> Optional[VulkanType]: argument
834 if m.paramName == memberName:
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/
DChangeLog.adoc12037 * Fix several cases of stext::VkStructName.memberName markup to
12038 stext::VkStructName::pname:memberName, to match other usage in the