Lines Matching refs:definitions
26 def isValueDefined (definitions, value): argument
27 return value in definitions
29 def allValuesUndefined (definitions, values): argument
31 if isValueDefined(definitions, value):
35 def anyValueDefined (definitions, values): argument
36 return not allValuesUndefined(definitions, values)
43 definitions = makeDefSet(iface)
47 if anyValueDefined(definitions, values):
54 if anyValueDefined(definitions, values):
61 if anyValueDefined(definitions, values):
65 if anyValueDefined(definitions, ["GL_TRUE", "GL_FALSE"]):
70 def genEnumStrImpl (groupName, values, definitions): argument
71 if allValuesUndefined(definitions, values):
82 if isValueDefined(definitions, value):
94 def genBitfieldStrImpl (groupName, values, definitions): argument
95 if allValuesUndefined(definitions, values):
106 if isValueDefined(definitions, value):
119 definitions = makeDefSet(iface)
122 for line in genEnumStrImpl(groupName, values, definitions):
125 for line in genBitfieldStrImpl(groupName, values, definitions):