Home
last modified time | relevance | path

Searched refs:mElementType (Results 1 – 7 of 7) sorted by relevance

/system/tools/hidl/
DArrayType.cpp28 : Type(parent, elementType.localName()), mElementType(elementType) { in ArrayType()
48 return mElementType->canCheckEquality(visited); in deepCanCheckEquality()
52 return mElementType.get(); in getElementType()
57 return "array of " + mElementType->typeName(); in typeName()
60 return std::to_string(dimension()) + "d array of " + mElementType->typeName(); in typeName()
64 return {&mElementType}; in getReferences()
75 while (mElementType->isArray()) { in resolveInheritance()
76 ArrayType* innerArray = static_cast<ArrayType*>(mElementType.get()); in resolveInheritance()
78 mElementType = innerArray->mElementType; in resolveInheritance()
84 CHECK(!mElementType->isArray()); in validate()
[all …]
DVectorType.cpp78 return mElementType->isInterface(); in isVectorOfBinders()
82 return mElementType->canCheckEquality(visited); in deepCanCheckEquality()
94 + mElementType->getCppStackType( specifyNamespaces) in getCppType()
118 const std::string elementJavaType = mElementType->getJavaTypeClass(); in getJavaType()
148 std::string baseType = mElementType->getCppStackType(); in emitReaderWriter()
237 out << mElementType->getCppStackType(true /* specifyNamespaces */) in emitReaderWriterForVectorOfBinders()
240 mElementType->emitReaderWriter( in emitReaderWriterForVectorOfBinders()
271 mElementType->emitReaderWriter( in emitReaderWriterForVectorOfBinders()
315 if (!mElementType->needsEmbeddedReadWrite()) { in emitReaderWriterEmbedded()
321 baseType = mElementType->getCppStackType(); in emitReaderWriterEmbedded()
[all …]
DType.cpp740 return templatedTypeName() + " of " + mElementType->typeName(); in typeName()
745 CHECK(mElementType.isEmptyReference()); in setElementType()
748 mElementType = elementType; in setElementType()
749 mDefinedName = mDefinedName + "<" + mElementType.localName() + ">"; in setElementType()
753 return mElementType.get(); in getElementType()
761 return {&mElementType}; in getReferences()
765 if (!isCompatibleElementType(mElementType.get())) { in validate()
767 << " is not supported at " << mElementType.location() << "\n"; in validate()
778 mElementType->emitVtsTypeDeclarations(out); in emitVtsTypeDeclarations()
787 mElementType->emitVtsAttributeType(out); in emitVtsAttributeType()
DEnumType.cpp858 CHECK(mElementType.get() != nullptr && mElementType->isEnum()); in getElementEnumType()
859 return static_cast<const EnumType*>(mElementType.get()); in getElementEnumType()
871 return mElementType->resolveToScalarType(); in resolveToScalarType()
906 << mElementType->resolveToScalarType()->getVtsScalarType() in emitVtsAttributeType()
908 out << "predefined_type: \"" << static_cast<const NamedType*>(mElementType.get())->fullName() in emitVtsAttributeType()
934 CHECK(mElementType->isEnum()); in getEnumType()
935 return static_cast<const EnumType*>(mElementType.get()); in getEnumType()
DFmqType.cpp42 mName + "<" + mElementType->getCppStackType(true) + ">"; in fullName()
DArrayType.h119 Reference<Type> mElementType;
DType.h381 Reference<Type> mElementType; member