Searched refs:elementType (Results 1 – 11 of 11) sorted by relevance
/system/tools/hidl/ |
D | VectorType.cpp | 34 bool VectorType::isCompatibleElementType(const Type* elementType) const { in isCompatibleElementType() 35 if (elementType->isScalar()) { in isCompatibleElementType() 38 if (elementType->isString()) { in isCompatibleElementType() 41 if (elementType->isEnum()) { in isCompatibleElementType() 44 if (elementType->isBitField()) { in isCompatibleElementType() 47 if (elementType->isCompoundType()) { in isCompatibleElementType() 48 if (static_cast<const CompoundType*>(elementType)->containsInterface()) { in isCompatibleElementType() 53 if (elementType->isInterface()) { in isCompatibleElementType() 56 if (elementType->isHandle()) { in isCompatibleElementType() 59 if (elementType->isMemory()) { in isCompatibleElementType() [all …]
|
D | FmqType.cpp | 168 bool FmqType::isCompatibleElementType(const Type* elementType) const { in isCompatibleElementType() 169 return (!elementType->isInterface() && !elementType->needsEmbeddedReadWrite()); in isCompatibleElementType()
|
D | VectorType.h | 35 bool isCompatibleElementType(const Type* elementType) const override; 96 const Type *elementType,
|
D | ArrayType.cpp | 27 ArrayType::ArrayType(const Reference<Type>& elementType, ConstantExpression* size, Scope* parent) in ArrayType() argument 28 : Type(parent, elementType.localName()), mElementType(elementType) { in ArrayType() 29 CHECK(!elementType.isEmptyReference()); in ArrayType()
|
D | FmqType.h | 67 bool isCompatibleElementType(const Type* elementType) const override;
|
D | ArrayType.h | 31 ArrayType(const Reference<Type>& elementType, ConstantExpression* size, Scope* parent);
|
D | Type.h | 362 void setElementType(const Reference<Type>& elementType); 370 virtual bool isCompatibleElementType(const Type* elementType) const = 0;
|
D | Type.cpp | 743 void TemplatedType::setElementType(const Reference<Type>& elementType) { in setElementType() argument 746 CHECK(!elementType.isEmptyReference()); in setElementType() 748 mElementType = elementType; in setElementType()
|
D | EnumType.h | 184 bool isCompatibleElementType(const Type* elementType) const override;
|
D | EnumType.cpp | 866 bool BitFieldType::isCompatibleElementType(const Type* elementType) const { in isCompatibleElementType() 867 return elementType->isEnum(); in isCompatibleElementType()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlTranslate.cpp | 241 const Type* elementType; in containerTranslation() local 246 elementType = static_cast<const ArrayType*>(field.field->get())->getElementType(); in containerTranslation() 251 elementType = static_cast<const VectorType*>(field.field->get())->getElementType(); in containerTranslation() 259 if (elementType->isArray() || elementType->isVector()) { in containerTranslation() 265 if (elementType->isNamedType() && !elementType->isEnum()) { in containerTranslation() 275 out << "out." << field.field->name() << " = new " << elementType->getJavaType(true) in containerTranslation() 279 h2aScalarChecks(out, *elementType, inputAccess + javaElementAccess, backend); in containerTranslation() 293 h2aScalarChecks(out, *elementType, inputAccessElement, backend); in containerTranslation() 295 << wrapCppSource(inputAccessElement, *elementType, parent->fqName(), backend) in containerTranslation()
|