Home
last modified time | relevance | path

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

/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java24 final private boolean isEnum; field in CppSimpleType
26 CppSimpleType(String name, String rawParsingExpression, boolean list, boolean isEnum) { in CppSimpleType() argument
31 this.isEnum = isEnum; in CppSimpleType()
82 if (isEnum) { in getWritingExpression()
96 if (isEnum) { in getWritingExpression()
/system/tools/hidl/
DTypeDef.h39 bool isEnum() const override;
DTypeDef.cpp46 bool TypeDef::isEnum() const { in isEnum() function in android::TypeDef
DEnumType.cpp159 bool EnumType::isEnum() const { in isEnum() function in android::EnumType
626 if (superType != nullptr && superType->isEnum()) { in typeChain()
638 if (superType == nullptr || !superType->isEnum()) { in superTypeChain()
842 CHECK(mElementType.get() != nullptr && mElementType->isEnum()); in getElementEnumType()
851 return elementType->isEnum(); in isCompatibleElementType()
918 CHECK(mElementType->isEnum()); in getEnumType()
Dhidl-gen_y.yy1038 CHECK((*scope)->isEnum());
1077 CHECK((*scope)->isEnum());
1082 CHECK((*scope)->isEnum());
1089 CHECK((*scope)->isEnum());
1096 CHECK((*scope)->isEnum());
DEnumType.h52 bool isEnum() const override;
DType.h47 virtual bool isEnum() const;
DConstantExpression.cpp363 if (!mReference->isEnum()) { in validate()
380 CHECK(mReference->isEnum()); in evaluate()
DVectorType.cpp41 if (elementType->isEnum()) { in isCompatibleElementType()
DType.cpp53 bool Type::isEnum() const { in isEnum() function in android::Type
DAST.cpp558 if(!type->isEnum()) { in lookupEnumValue()
DCompoundType.cpp1425 std::string condition = (field->type().isScalar() || field->type().isEnum()) in emitJavaTypeDeclarations()
/system/tools/hidl/hidl2aidl/
DAidlType.cpp54 } else if (type.isEnum()) { in getAidlType()
DAidlNamedType.cpp181 } else if (namedType.isEnum()) { in emitAidl()
/system/tools/hidl/lint/lints/
DenumMaxAndAll.cpp38 if (!t->isEnum()) return OK; in enumValueNames()
DnamingConventions.cpp76 } else if (namedType->isEnum()) { in namingConventions()
/system/tools/aidl/
Dgenerate_cpp.cpp117 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in BuildArgList() local
122 if (!(isPrimitive || isEnum || nonCopyable) || a->GetType().IsArray()) { in BuildArgList()