Lines Matching refs:map
945 return ':'.join(map(lambda x: '%02x' % x, bytes))
1309 if 'map' in init_dict:
1310 if not isinstance(cls.map, dict):
1311 raise TypeError("Enum-derived class attribute 'map' " \
1313 # build list of value strings from map
1314 cls.vals = list(cls.map.keys())
1320 # build string->value map from vals sequence
1321 cls.map = {}
1323 cls.map[val] = idx
1326 "attribute 'map' or 'vals'")
1361 code('$val = ${{cls.map[val]}},')
1469 if value not in self.map:
1485 for elem_name in cls.map.keys():
1500 return e(self.map[self.value])