Lines Matching refs:format

37 from khr_util.format import indentLines, writeInlFile
1255 yield line.format(h.name)
1257 yield line.format(h.alias)
1433 yield pattern.format(function.returnType, getFunctionTypeName(function.name), argList)
1435 yield pattern.format(function.returnType, getFunctionTypeName(alias), argList)
2316 specializedLines = [line.format(apiVersion) for line in functionLines]
2708 memberCopying += "\tfeatureType.{0} = allFeaturesBlobs.vk{1}.{0};\n".format(member.name, blobName)
2713 "}}".format(structureType.name, memberCopying)
2722 emptyInitDefinitions.append(emptyFunction.format(structureType.name))
2729 extensionNameDefinition = 'DECL{0}_{1}_EXTENSION_NAME'.format((sExtSuffix if sExtSuffix else ''), sType)
2732 sTypeName = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_{0}_FEATURES{1}".format(sType, sVerSuffix + sExtSuffix)
2734 "{{ return FeatureDesc{{{1}, {2}, {3}, {4}}}; }}".format(extStruct, sTypeName, extensionNameDefinition, specVersionDef, len(dfDefs)-idx))
2736 featureStructWrappers.append("\t{{ createFeatureStructWrapper<{0}>, {1}, {2} }},".format(extStruct, extensionNameDefinition, specVersionDef))
2743 blobChecker += "\t\t// Vulkan{0}\n".format(blobName)
2760 sTypeName = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_{0}_FEATURES{1}".format(sType, sSuffix)
2762 blobChecker += "\t\t{{ {0},{1}VK_API_VERSION_{2}_{3} }},\n".format(sTypeName, tabs, blobName[0], blobName[1])
2804 items.append(" FEATURE_ITEM ({0}, {1}),".format(structureType.name, member.name))
2849 featureItems.append(testBlock.format(structureType.name, "\n".join(items), len(items), ("DE_NULL" if coreFeaturesPattern.match(structureType.name) else "&extensionNames"), structureType.name[len('VkPhysicalDevice'):], additionalParams, additionalDefs))
2909 memberCopying += "\tpropertyType.{0} = allPropertiesBlobs.vk{1}.{2};\n".format(member.name, blobName, blobMemberName)
2912 memberCopying += "\tpropertyType.{0} = allPropertiesBlobs.vk{1}.{0};\n".format(member.name, blobName)
2914 memberCopying += "\tmemcpy(propertyType.{0}, allPropertiesBlobs.vk{1}.{0}, sizeof({2}) * {3});\n".format(member.name, blobName, member.type, member.arraySizeList[0])
2919 "}}".format(structureType.name, memberCopying)
2928 emptyInitDefinitions.append(emptyFunction.format(structureType.name))
2935 extensionNameDefinition = 'DECL{0}_{1}_EXTENSION_NAME'.format((sExtSuffix if sExtSuffix else ''), sType)
2938 sTypeName = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_{0}_PROPERTIES{1}".format(sType, sVerSuffix + sExtSuffix)
2940 "{{ return PropertyDesc{{{1}, {2}, {3}, {4}}}; }}".format(extStruct, sTypeName, extensionNameDefinition, specVersionDef, len(dpDefs)-idx))
2942 propertyStructWrappers.append("\t{{ createPropertyStructWrapper<{0}>, {1}, {2} }},".format(extStruct, extensionNameDefinition, specVersionDef))
2949 blobChecker += "\t\t// Vulkan{0}\n".format(blobName)
2968 sTypeName = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_{0}_PROPERTIES{1}".format(sType, sSuffix)
2970 blobChecker += "\t\t{{ {0},{1}VK_API_VERSION_{2}_{3} }},\n".format(sTypeName, tabs, blobName[0], blobName[1])
3044 stream.append(pattern.format(extStruct, nameSubStr))
3063 stream.append(pattern.format(extStruct, nameSubStr))
3367 stream.append('static const char* s_allowed{0}KhrExtensions[] =\n{{'.format(extensionType.title()))
3480 yield 'static const DependencyCheckVect {}ExtensionDependencies'.format(extType)
3495 yield '\tstd::make_tuple({}, {}, {}, {}),'.format(version, apiVariant, major, minor)
3559 yield '\tstd::make_tuple({}, {}, "{}"),'.format(major, minor, ext.name)