Home
last modified time | relevance | path

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

/system/tools/hidl/
DArrayType.cpp28 : Type(parent), mElementType(elementType), mSizes{size} { in ArrayType()
45 return mElementType->canCheckEquality(visited); in deepCanCheckEquality()
49 return mElementType.get(); in getElementType()
54 return "array of " + mElementType->typeName(); in typeName()
57 return std::to_string(dimension()) + "d array of " + mElementType->typeName(); in typeName()
61 return {&mElementType}; in getReferences()
72 while (mElementType->isArray()) { in resolveInheritance()
73 ArrayType* innerArray = static_cast<ArrayType*>(mElementType.get()); in resolveInheritance()
75 mElementType = innerArray->mElementType; in resolveInheritance()
81 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()
116 const std::string elementJavaType = mElementType->isTemplatedType() in getJavaType()
117 ? mElementType->getJavaType() in getJavaType()
118 : mElementType->getJavaTypeClass(); in getJavaType()
149 std::string baseType = mElementType->getCppStackType(); in emitReaderWriter()
238 out << mElementType->getCppStackType(true /* specifyNamespaces */) in emitReaderWriterForVectorOfBinders()
241 mElementType->emitReaderWriter( in emitReaderWriterForVectorOfBinders()
272 mElementType->emitReaderWriter( in emitReaderWriterForVectorOfBinders()
[all …]
DRefType.cpp79 return mElementType->getCppStackType(specifyNamespaces) in getCppType()
130 std::string elementType = mElementType->getCppStackType(); in emitResolveReferencesEmbedded()
192 if(!mElementType->needsResolveReferences() && !mElementType->needsEmbeddedReadWrite()) in emitResolveReferencesEmbedded()
198 if(mElementType->needsEmbeddedReadWrite()) { in emitResolveReferencesEmbedded()
199 mElementType->emitReaderWriterEmbedded( in emitResolveReferencesEmbedded()
213 if(mElementType->needsResolveReferences()) { in emitResolveReferencesEmbedded()
214 mElementType->emitResolveReferencesEmbedded( in emitResolveReferencesEmbedded()
DType.cpp769 return templatedTypeName() + " of " + mElementType->typeName(); in typeName()
774 CHECK(mElementType.isEmptyReference()); in setElementType()
777 mElementType = elementType; in setElementType()
781 return mElementType.get(); in getElementType()
789 return {&mElementType}; in getReferences()
793 if (!isCompatibleElementType(mElementType.get())) { in validate()
795 << " is not supported at " << mElementType.location() << "\n"; in validate()
806 mElementType->emitVtsTypeDeclarations(out); in emitVtsTypeDeclarations()
815 mElementType->emitVtsAttributeType(out); in emitVtsAttributeType()
DEnumType.cpp803 CHECK(mElementType.get() != nullptr && mElementType->isEnum()); in getElementEnumType()
804 return static_cast<const EnumType*>(mElementType.get()); in getElementEnumType()
816 return mElementType->resolveToScalarType(); in resolveToScalarType()
851 << mElementType->resolveToScalarType()->getVtsScalarType() in emitVtsAttributeType()
853 out << "predefined_type: \"" << static_cast<const NamedType*>(mElementType.get())->fullName() in emitVtsAttributeType()
879 CHECK(mElementType->isEnum()); in getEnumType()
880 return static_cast<const EnumType*>(mElementType.get()); in getEnumType()
DFmqType.cpp36 mName + "<" + mElementType->getCppStackType(true) + ">"; in fullName()
DArrayType.h142 Reference<Type> mElementType;
DType.h403 Reference<Type> mElementType; member