Home
last modified time | relevance | path

Searched refs:storageType (Results 1 – 4 of 4) sorted by relevance

/system/tools/hidl/
DEnumType.cpp32 const Reference<Type>& storageType, Scope* parent) in EnumType() argument
33 : Scope(localName, fullName, location, parent), mValues(), mStorageType(storageType) {} in EnumType()
35 const Type *EnumType::storageType() const { in storageType() function in android::EnumType
300 const std::string storageType = scalarType->getCppStackType(); in emitTypeDeclarations() local
302 out << "enum class " << definedName() << " : " << storageType << " {\n"; in emitTypeDeclarations()
345 const std::string storageType = scalarType->getCppStackType(); in emitTypeForwardDeclaration() local
347 out << "enum class " << definedName() << " : " << storageType << ";\n"; in emitTypeForwardDeclaration()
384 const std::string storageType = scalarType->getCppStackType(); in emitEnumBitwiseOperator() local
387 << storageType in emitEnumBitwiseOperator()
391 << (lhsIsEnum ? fullName() : storageType) in emitEnumBitwiseOperator()
[all …]
DEnumType.h35 const Reference<Type>& storageType, Scope* parent);
37 const Type *storageType() const;
Dhidl-gen_y.yy1022 auto storageType = $3;
1024 if (storageType == nullptr) {
1029storageType = new Reference<Type>(scalar->definedName(), scalar, convertYYLoc(@2, ast));
1033 $2, ast->makeFullName($2, *scope), convertYYLoc(@2, ast), *storageType, *scope);
/system/tools/hidl/hidl2aidl/
DAidlNamedType.cpp42 const ScalarType* scalar = enumType.storageType()->resolveToScalarType(); in emitEnumAidlDefinition()