Home
last modified time | relevance | path

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

/system/tools/xsdc/src/main/java/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()
42 boolean isEnum() { in isEnum() method in CppSimpleType
43 return isEnum; in isEnum()
89 if (isEnum) { in getWritingExpression()
103 if (isEnum) { in getWritingExpression()
DCppCodeGenerator.java544 if (type.isEnum()) { in printParser()
/system/tools/hidl/hidl2aidl/
DAidlTranslate.cpp76 CHECK(namedType.isEnum()); in emitEnumStaticAssert()
100 if (namedType->isEnum()) { in emitStaticAsserts()
164 if (scalarType != nullptr && !type.isEnum()) { in h2aScalarChecks()
214 if (type.isEnum()) { in wrapStaticCast()
272 if (elementType->isNamedType() && !elementType->isEnum()) { in containerTranslation()
382 if (field.field->type().isNamedType() && !field.field->type().isEnum()) { in h2aFieldTranslation()
386 } else if (field.field->type().isEnum() || field.field->type().isScalar() || in h2aFieldTranslation()
455 if (it == processedTypes.end() && !type->isEnum()) { in emitCppTranslateHeader()
DAidlType.cpp90 } else if (type.isEnum()) { in getAidlType()
DAidlNamedType.cpp121 } else if (namedType.isEnum()) { in emitAidl()
/system/tools/hidl/
DTypeDef.h39 bool isEnum() const override;
DTypeDef.cpp46 bool TypeDef::isEnum() const { in isEnum() function in android::TypeDef
DEnumType.cpp175 bool EnumType::isEnum() const { in isEnum() function in android::EnumType
659 if (superType != nullptr && superType->isEnum()) { in typeChain()
671 if (superType == nullptr || !superType->isEnum()) { in superTypeChain()
875 CHECK(mElementType.get() != nullptr && mElementType->isEnum()); in getElementEnumType()
884 return elementType->isEnum(); in isCompatibleElementType()
951 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.cpp369 if (!mReference->isEnum()) { in validate()
386 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.cpp1400 std::string condition = (field->type().isScalar() || field->type().isEnum()) in emitJavaTypeDeclarations()
/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/
Daidl_to_rust.cpp300 const bool isEnum = definedType && definedType->AsEnumDeclaration() != nullptr; in ArgumentStorageMode() local
304 } else if (!(isPrimitive || isEnum) || arg.GetType().IsFixedSizeArray()) { in ArgumentStorageMode()