Home
last modified time | relevance | path

Searched refs:ENUM (Results 1 – 17 of 17) sorted by relevance

/system/tools/hidl/c2hal/
DCompositeDeclaration.cpp73 mQualifier == Type::Qualifier::ENUM); in generateSource()
77 if (mQualifier == Type::Qualifier::ENUM) { in generateSource()
168 CHECK(mQualifier == Type::Qualifier::ENUM); in setEnumTypeName()
Dc2hal_y.yy80 * both start with STRUCT/UNION/ENUM opt_id
90 %token ENUM
117 %right STRUCT ENUM
309 : ENUM
310 | ENUM CLASS /* c++11 */
311 | ENUM STRUCT /* c++11 */
326 $$ = new CompositeDeclaration(Type::Qualifier::ENUM, $2, $6);
522 | enum_key { $$ = new Type::Qualifier(Type::Qualifier::ENUM); }
DType.h45 ENUM enumerator
74 case Qualifier::ENUM: return "enum"; in qualifierText()
DType.cpp132 case Type::Qualifier::ENUM: in getHidlType()
DAST.cpp225 Type::Qualifier::ENUM, in isolateConstants()
Dc2hal_l.ll194 "enum" { return ENUM; }
/system/security/keystore/include/keystore/
Dkeymaster_types.h99 constexpr int32_t KM_TAG_DIGEST_OLD = static_cast<int32_t>(TagType::ENUM) | 5;
100 constexpr int32_t KM_TAG_PADDING_OLD = static_cast<int32_t>(TagType::ENUM) | 7;
/system/libvintf/
Dparse_string.cpp86 #define DEFINE_PARSE_STREAMIN_FOR_ENUM(ENUM) \ argument
87 bool parse(const std::string &s, ENUM *hf) { \
88 return parseEnum(s, hf, g##ENUM##Strings); \
90 std::ostream &operator<<(std::ostream &os, ENUM hf) { \
91 return os << g##ENUM##Strings.at(static_cast<size_t>(hf)); \
/system/security/keystore/
Dkeystore_aidl_hidl_marshalling_utils.cpp76 case TagType::ENUM: in readKeyParameterFromParcel()
109 case TagType::ENUM: in writeKeyParameterToParcel()
/system/tools/hidl/docs/src/parser/elements/declarations/
DEnumDeclarationParser.kt41 assert(token.identifier == TokenGrammar.ENUM) in parseTokens()
DCompoundDeclarationParser.kt88 TokenGrammar.ENUM -> { in parseTokens()
/system/tools/hidl/docs/src/parser/elements/
DEntryParser.kt155 TokenGrammar.ENUM -> EnumDeclarationParser(iter) in parseTokens()
/system/tools/hidl/docs/src/parser/files/
DAbstractFileParser.kt66 TokenGrammar.ENUM,
/system/keymaster/ng/include/
Dkeymaster_tags.h94 static const int32_t KM_TAG_DIGEST_OLD = static_cast<int32_t>(TagType::ENUM) | 5;
95 static const int32_t KM_TAG_PADDING_OLD = static_cast<int32_t>(TagType::ENUM) | 7;
/system/tools/hidl/docs/src/lexer/
DToken.kt40 ENUM("enum", TokenCategory.TypeDef),
/system/tools/hidl/
Dhidl-gen_l.ll103 "enum" { return token::ENUM; }
Dhidl-gen_y.yy231 %token<void> ENUM "keyword `enum`"
1011 : ENUM valid_type_name enum_storage_type