Lines Matching defs:enum
42 import enum
183 appear to be defined as constants nor enum values. Created with
442 Parse all enum value constants that are declared.
451 self.log.debug("Looking for enum consts in {} files".format(len(files)))
453 # Emulate a finite state machine to parse enum declarations.
454 # OUTSIDE_KEYWORD = outside the enum keyword
455 # IN_BRACES = inside enum opening braces
456 # IN_BETWEEN = between enum keyword and opening braces
457 states = enum.Enum("FSM", ["OUTSIDE_KEYWORD", "IN_BRACES", "IN_BETWEEN"])
468 re.search(r"^(typedef +)?enum " + \
473 re.search(r"^(typedef +)?enum", line)):
554 r"(?:typedef +)?(?:struct|union|enum) +(\w+)(?: *{)?$",
561 r"(typedef +)?(struct|union|enum)( *{)?$",
570 Parse all lines of a header where a function/enum/struct/union/typedef
631 Parse all lines of a header where a function/enum/struct/union/typedef
867 either defined as macros, or as enum constants.