Home | History | Annotate | Download | only in gen

Lines Matching refs:enums

39 		# "enums" is a set of lists.  The element in the set is the
45 self.enums = {}
48 # is a list of index to "enums" that have that number of
57 # Fill self.count and self.enums using the dictionary of enums
75 raise RuntimeError("Not all enums for %s have the same mode." % (func_name))
79 if self.enums.has_key( e.value ):
80 if e.name not in self.enums[ e.value ]:
81 self.enums[ e.value ].append( e )
86 self.enums[ e.value ] = [ e ]
128 for a in self.enums:
135 # that will generate unique values for all of the enums.
142 for a in self.enums:
143 for b in self.enums:
164 enum_obj = self.enums[e][0]
197 # There may be multiple enums with the same
205 for enum_obj in self.enums[e]:
354 if len(ef.enums) == 0:
392 if len(ef.enums) == 0:
481 if len(ef.enums) == 0: continue