Lines Matching refs:groupName

46 		for groupName, values in enumGroups:
48 yield "const char*\tget%sName\t(int value);" % groupName
50 print "Warning: Empty value set for %s, skipping" % groupName
53 for groupName, values in bitfieldGroups:
55 yield "tcu::Format::Bitfield<16>\tget%sStr\t(int value);" % groupName
57 print "Warning: Empty value set for %s, skipping" % groupName
60 for groupName, values in enumGroups:
62 …\t(int value)\t{ return tcu::Format::Enum<int, 2>(get%(name)sName, value); }" % {"name": groupName}
70 def genEnumStrImpl (groupName, values, definitions): argument
75 yield "const char* get%sName (int value)" % groupName
94 def genBitfieldStrImpl (groupName, values, definitions): argument
99 yield "tcu::Format::Bitfield<16> get%sStr (int value)" % groupName
121 for groupName, values in enumGroups:
122 for line in genEnumStrImpl(groupName, values, definitions):
124 for groupName, values in bitfieldGroups:
125 for line in genBitfieldStrImpl(groupName, values, definitions):
128 def genQueryEnumUtilImpl (groupName, groupQueries, allEnums): argument
130 yield "int get%sQueryNumArgsOut (int pname)" % groupName
152 for groupName, groupQueries in queryGroups:
153 for line in genQueryEnumUtilImpl(groupName, groupQueries, allEnums):
156 def genSetEnumUtilImpl (groupName, groupQueries, allEnums): argument
158 yield "int get%sNumArgs (int pname)" % groupName
180 for groupName, groupQueries in queryGroups:
181 for line in genSetEnumUtilImpl(groupName, groupQueries, allEnums):
185 return [(groupName, [prefix + value for value in values]) for groupName, values in groups]