Home | History | Annotate | Download | only in hidl

Lines Matching defs:EnumType

17 #include "EnumType.h"
28 EnumType::EnumType(
39 const Type *EnumType::storageType() const {
43 const std::vector<EnumValue *> &EnumType::values() const {
47 void EnumType::addValue(EnumValue *value) {
51 std::vector<const EnumType *> chain;
65 bool EnumType::isElidableType() const {
69 const ScalarType *EnumType::resolveToScalarType() const {
73 std::string EnumType::typeName() const {
77 bool EnumType::isEnum() const {
81 bool EnumType::canCheckEquality() const {
85 std::string EnumType::getCppType(StorageMode,
90 std::string EnumType::getJavaType(bool forInitializer) const {
94 std::string EnumType::getJavaSuffix() const {
98 std::string EnumType::getJavaWrapperType() const {
102 std::string EnumType::getVtsType() const {
106 BitFieldType *EnumType::getBitfieldType() const {
110 LocalIdentifier *EnumType::lookupIdentifier(const std::string &name) const {
111 std::vector<const EnumType *> chain;
124 void EnumType::emitReaderWriter(
144 void EnumType::emitJavaFieldReaderWriter(
156 status_t EnumType::emitTypeDeclarations(Formatter &out) const {
170 std::vector<const EnumType *> chain;
200 void EnumType::emitEnumBitwiseOperator(
246 void EnumType::emitBitFieldBitwiseAssignmentOperator(
265 status_t EnumType::emitGlobalTypeDeclarations(Formatter &out) const {
294 status_t EnumType::emitTypeDefinitions(Formatter &out, const std::string /* prefix */) const {
352 status_t EnumType::emitJavaTypeDeclarations(Formatter &out, bool atTopLevel) const {
367 std::vector<const EnumType *> chain;
438 status_t EnumType::emitVtsTypeDeclarations(Formatter &out) const {
449 std::vector<const EnumType *> chain;
476 status_t EnumType::emitVtsAttributeType(Formatter &out) const {
482 void EnumType::emitJavaDump(
490 void EnumType::getTypeChain(std::vector<const EnumType *> *out) const {
492 const EnumType *type = this;
501 type = static_cast<const EnumType *>(superType);
505 void EnumType::getAlignmentAndSize(size_t *align, size_t *size) const {
509 const Annotation *EnumType::findExportAnnotation() const {
519 void EnumType::appendToExportedTypesVector(
526 status_t EnumType::emitExportedHeader(Formatter &out, bool forJava) const {
558 std::vector<const EnumType *> chain;
796 EnumType *BitFieldType::getEnumType() const {
798 return static_cast<EnumType *>(mElementType);