Home
last modified time | relevance | path

Searched refs:Reference (Results 1 – 25 of 31) sorted by relevance

12

/system/tools/hidl/
DReference.h33 struct Reference { struct
34 Reference() = default;
35 virtual ~Reference() {} in ~Reference() argument
37 Reference(const FQName& fqName, const Location& location) in Reference() function
40 Reference(T* type, const Location& location) : mResolved(type), mLocation(location) { in Reference() argument
45 Reference(const Reference<OtherT>& ref) in Reference() function
49 Reference(const Reference<OtherT>& ref, const Location& location) in Reference() argument
120 friend struct Reference; argument
124 struct NamedReference : public Reference<T>, DocCommentable {
125 NamedReference(const std::string& name, const Reference<T>& reference, const Location& location) in NamedReference()
[all …]
DConstantExpression.h73 std::vector<Reference<LocalIdentifier>*> getReferences();
74 virtual std::vector<const Reference<LocalIdentifier>*> getReferences() const;
76 std::vector<Reference<Type>*> getTypeReferences();
77 virtual std::vector<const Reference<Type>*> getTypeReferences() const;
214 ReferenceConstantExpression(const Reference<LocalIdentifier>& value, const std::string& expr);
219 std::vector<const Reference<LocalIdentifier>*> getReferences() const override;
222 Reference<LocalIdentifier> mReference;
227 AttributeConstantExpression(const Reference<Type>& value, const std::string& fqname,
234 std::vector<const Reference<Type>*> getTypeReferences() const override;
237 Reference<Type> mReference;
DTypeDef.h27 const Reference<Type>& type);
44 std::vector<const Reference<Type>*> getReferences() const override;
49 Reference<Type> mReferencedType;
DMethod.cpp72 std::vector<Reference<Type>*> Method::getReferences() { in getReferences()
74 std::vector<Reference<Type>*> ret(constRet.size()); in getReferences()
76 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getReferences()
80 std::vector<const Reference<Type>*> Method::getReferences() const { in getReferences()
81 std::vector<const Reference<Type>*> ret; in getReferences()
87 std::vector<Reference<Type>*> Method::getStrongReferences() { in getStrongReferences()
89 std::vector<Reference<Type>*> ret(constRet.size()); in getStrongReferences()
91 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getStrongReferences()
95 std::vector<const Reference<Type>*> Method::getStrongReferences() const { in getStrongReferences()
96 std::vector<const Reference<Type>*> ret; in getStrongReferences()
DMethod.h70 std::vector<Reference<Type>*> getReferences();
71 std::vector<const Reference<Type>*> getReferences() const;
73 std::vector<Reference<Type>*> getStrongReferences();
74 std::vector<const Reference<Type>*> getStrongReferences() const;
DType.h69 std::vector<Reference<Type>*> getReferences();
70 virtual std::vector<const Reference<Type>*> getReferences() const;
78 std::vector<Reference<Type>*> getStrongReferences();
79 virtual std::vector<const Reference<Type>*> getStrongReferences() const;
130 status_t checkForwardReferenceRestrictions(const Reference<Type>& ref) const;
384 void setElementType(const Reference<Type>& elementType);
394 std::vector<const Reference<Type>*> getReferences() const override;
403 Reference<Type> mElementType;
DTypeDef.cpp25 Scope* parent, const Reference<Type>& type) in TypeDef()
62 std::vector<const Reference<Type>*> TypeDef::getReferences() const { in getReferences()
DInterface.h38 Scope* parent, const Reference<Type>& superType, const Hash* fileHash);
96 std::vector<const Reference<Type>*> getReferences() const override;
97 std::vector<const Reference<Type>*> getStrongReferences() const override;
137 Reference<Type> mSuperType;
DType.cpp115 std::vector<Reference<Type>*> Type::getReferences() { in getReferences()
117 std::vector<Reference<Type>*> ret(constRet.size()); in getReferences()
119 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getReferences()
123 std::vector<const Reference<Type>*> Type::getReferences() const { in getReferences()
139 std::vector<Reference<Type>*> Type::getStrongReferences() { in getStrongReferences()
141 std::vector<Reference<Type>*> ret(constRet.size()); in getStrongReferences()
143 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getStrongReferences()
147 std::vector<const Reference<Type>*> Type::getStrongReferences() const { in getStrongReferences()
148 std::vector<const Reference<Type>*> ret; in getStrongReferences()
277 status_t Type::checkForwardReferenceRestrictions(const Reference<Type>& ref) const { in checkForwardReferenceRestrictions()
[all …]
DConstantExpression.cpp526 std::vector<Reference<LocalIdentifier>*> ConstantExpression::getReferences() { in getReferences()
528 std::vector<Reference<LocalIdentifier>*> ret(constRet.size()); in getReferences()
530 [](const auto* ce) { return const_cast<Reference<LocalIdentifier>*>(ce); }); in getReferences()
534 std::vector<const Reference<LocalIdentifier>*> ConstantExpression::getReferences() const { in getReferences()
538 std::vector<Reference<Type>*> ConstantExpression::getTypeReferences() { in getTypeReferences()
540 std::vector<Reference<Type>*> ret(constRet.size()); in getTypeReferences()
542 [](const auto* ce) { return const_cast<Reference<Type>*>(ce); }); in getTypeReferences()
546 std::vector<const Reference<Type>*> ConstantExpression::getTypeReferences() const { in getTypeReferences()
709 ReferenceConstantExpression::ReferenceConstantExpression(const Reference<LocalIdentifier>& value, in ReferenceConstantExpression()
725 std::vector<const Reference<LocalIdentifier>*> ReferenceConstantExpression::getReferences() const { in getReferences()
[all …]
DArrayType.h31 ArrayType(const Reference<Type>& elementType, ConstantExpression* size, Scope* parent);
43 std::vector<const Reference<Type>*> getReferences() const override;
142 Reference<Type> mElementType;
Dhidl-gen_y.yy315 android::Reference<android::Type>* referenceToType;
525 $$ = new Reference<Type>(*$1, convertYYLoc(@1));
529 $$ = new Reference<Type>($1, convertYYLoc(@1));
669 Reference<Type>* superType = $3;
679 superType = new Reference<Type>();
690 superType = new Reference<Type>(gIBaseFqName, convertYYLoc(@$));
761 Reference<LocalIdentifier>(*$1, convertYYLoc(@1)), $1->string());
766 Reference<Type>(*$1, convertYYLoc(@1)), $1->string(), $3);
1019 storageType = new Reference<Type>(
1096 $$ = new Reference<Type>($1, convertYYLoc(@1));
[all …]
DEnumType.h34 const Reference<Type>& storageType, Scope* parent);
71 std::vector<const Reference<Type>*> getReferences() const override;
138 Reference<Type> mStorageType;
DRefType.h35 std::vector<const Reference<Type>*> getStrongReferences() const override;
DInterface.cpp75 Scope* parent, const Reference<Type>& superType, const Hash* fileHash) in Interface()
463 std::vector<const Reference<Type>*> Interface::getReferences() const { in getReferences()
464 std::vector<const Reference<Type>*> ret; in getReferences()
487 std::vector<const Reference<Type>*> Interface::getStrongReferences() const { in getStrongReferences()
492 std::vector<const Reference<Type>*> ret; in getStrongReferences()
DRefType.cpp33 std::vector<const Reference<Type>*> RefType::getStrongReferences() const { in getStrongReferences()
DVectorType.h37 std::vector<const Reference<Type>*> getStrongReferences() const override;
DArrayType.cpp27 ArrayType::ArrayType(const Reference<Type>& elementType, ConstantExpression* size, Scope* parent) in ArrayType()
60 std::vector<const Reference<Type>*> ArrayType::getReferences() const { in getReferences()
DCompoundType.h48 std::vector<const Reference<Type>*> getReferences() const override;
DEnumType.cpp31 const Reference<Type>& storageType, Scope* parent) in EnumType()
86 std::vector<const Reference<Type>*> EnumType::getReferences() const { in getReferences()
777 Reference<LocalIdentifier>(prevValue, mLocation), description); in autofill()
DAST.h68 LocalIdentifier* lookupLocalIdentifier(const Reference<LocalIdentifier>& ref, Scope* scope);
DAST.cpp354 for (const Reference<Type>* ref : type->getReferences()) { in checkForwardReferenceRestrictions()
482 LocalIdentifier* AST::lookupLocalIdentifier(const Reference<LocalIdentifier>& ref, Scope* scope) { in lookupLocalIdentifier()
DVectorType.cpp85 std::vector<const Reference<Type>*> VectorType::getStrongReferences() const { in getStrongReferences()
/system/libhidl/transport/memory/1.0/
DIMapper.hal24 * @param mem Reference to shared memory.
/system/tools/xsdc/tests/
Dmain.cpp171 TEST_F(XmlTest, Reference) { in TEST_F() argument

12