Home
last modified time | relevance | path

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

12

/system/tools/hidl/
DReference.h35 struct Reference { struct
36 Reference() = default;
37 virtual ~Reference() {} in ~Reference() argument
39 Reference(const std::string& localName, const FQName& fqName, const Location& location,
47 Reference(const std::string& localName, T* type, const Location& location, argument
57 Reference(const Reference<OtherT>& ref) in Reference() argument
65 Reference(const Reference<OtherT>& ref, const Location& location) in Reference() function
149 friend struct Reference; argument
153 struct NamedReference : public Reference<T>, DocCommentable {
154 NamedReference(const std::string& name, const Reference<T>& reference, const Location& location) in NamedReference()
[all …]
DConstantExpression.h76 std::vector<Reference<LocalIdentifier>*> getReferences();
77 virtual std::vector<const Reference<LocalIdentifier>*> getReferences() const;
79 std::vector<Reference<Type>*> getTypeReferences();
80 virtual std::vector<const Reference<Type>*> getTypeReferences() const;
217 ReferenceConstantExpression(const Reference<LocalIdentifier>& value, const std::string& expr);
222 std::vector<const Reference<LocalIdentifier>*> getReferences() const override;
225 Reference<LocalIdentifier> mReference;
230 AttributeConstantExpression(const Reference<Type>& value, const std::string& fqname,
237 std::vector<const Reference<Type>*> getTypeReferences() const override;
240 Reference<Type> mReference;
DTypeDef.h29 Scope* parent, const Reference<Type>& type);
46 std::vector<const Reference<Type>*> getReferences() const override;
52 Reference<Type> mReferencedType;
DMethod.cpp77 std::vector<Reference<Type>*> Method::getReferences() { in getReferences()
79 std::vector<Reference<Type>*> ret(constRet.size()); in getReferences()
81 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getReferences()
85 std::vector<const Reference<Type>*> Method::getReferences() const { in getReferences()
86 std::vector<const Reference<Type>*> ret; in getReferences()
92 std::vector<Reference<Type>*> Method::getStrongReferences() { in getStrongReferences()
94 std::vector<Reference<Type>*> ret(constRet.size()); in getStrongReferences()
96 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getStrongReferences()
100 std::vector<const Reference<Type>*> Method::getStrongReferences() const { in getStrongReferences()
101 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.h70 std::vector<Reference<Type>*> getReferences();
71 virtual std::vector<const Reference<Type>*> getReferences() const;
79 std::vector<Reference<Type>*> getStrongReferences();
80 virtual std::vector<const Reference<Type>*> getStrongReferences() const;
131 status_t checkForwardReferenceRestrictions(const Reference<Type>& ref) const;
362 void setElementType(const Reference<Type>& elementType);
372 std::vector<const Reference<Type>*> getReferences() const override;
381 Reference<Type> mElementType;
DType.cpp121 std::vector<Reference<Type>*> Type::getReferences() { in getReferences()
123 std::vector<Reference<Type>*> ret(constRet.size()); in getReferences()
125 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getReferences()
129 std::vector<const Reference<Type>*> Type::getReferences() const { in getReferences()
145 std::vector<Reference<Type>*> Type::getStrongReferences() { in getStrongReferences()
147 std::vector<Reference<Type>*> ret(constRet.size()); in getStrongReferences()
149 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getStrongReferences()
153 std::vector<const Reference<Type>*> Type::getStrongReferences() const { in getStrongReferences()
154 std::vector<const Reference<Type>*> ret; in getStrongReferences()
283 status_t Type::checkForwardReferenceRestrictions(const Reference<Type>& ref) const { in checkForwardReferenceRestrictions()
[all …]
DTypeDef.cpp26 Scope* parent, const Reference<Type>& type) in TypeDef()
62 std::vector<const Reference<Type>*> TypeDef::getReferences() const { in getReferences()
DInterface.h43 Scope* parent, const Reference<Type>& superType, const Hash* fileHash);
103 std::vector<const Reference<Type>*> getReferences() const override;
104 std::vector<const Reference<Type>*> getStrongReferences() const override;
142 Reference<Type> mSuperType;
DArrayType.h31 ArrayType(const Reference<Type>& elementType, ConstantExpression* size, Scope* parent);
43 std::vector<const Reference<Type>*> getReferences() const override;
119 Reference<Type> mElementType;
DConstantExpression.cpp528 std::vector<Reference<LocalIdentifier>*> ConstantExpression::getReferences() { in getReferences()
530 std::vector<Reference<LocalIdentifier>*> ret(constRet.size()); in getReferences()
532 [](const auto* ce) { return const_cast<Reference<LocalIdentifier>*>(ce); }); in getReferences()
536 std::vector<const Reference<LocalIdentifier>*> ConstantExpression::getReferences() const { in getReferences()
540 std::vector<Reference<Type>*> ConstantExpression::getTypeReferences() { in getTypeReferences()
542 std::vector<Reference<Type>*> ret(constRet.size()); in getTypeReferences()
544 [](const auto* ce) { return const_cast<Reference<Type>*>(ce); }); in getTypeReferences()
548 std::vector<const Reference<Type>*> ConstantExpression::getTypeReferences() const { in getTypeReferences()
721 ReferenceConstantExpression::ReferenceConstantExpression(const Reference<LocalIdentifier>& value, in ReferenceConstantExpression()
736 std::vector<const Reference<LocalIdentifier>*> ReferenceConstantExpression::getReferences() const { in getReferences()
[all …]
Dhidl-gen_y.yy319 android::Reference<android::Type>* referenceToType;
510 $$ = new Reference<Type>($1->string(), *$1, convertYYLoc(@1, ast));
514 $$ = new Reference<Type>($1->definedName(), $1, convertYYLoc(@1, ast));
673 Reference<Type>* superType = $3;
683 superType = new Reference<Type>();
694 … superType = new Reference<Type>(gIBaseFqName.string(), gIBaseFqName, convertYYLoc(@$, ast));
769 Reference<LocalIdentifier>($1->string(), *$1, convertYYLoc(@1, ast)), $1->string());
774 Reference<Type>($1->string(), *$1, convertYYLoc(@1, ast)), $1->string(), $3);
1029 … storageType = new Reference<Type>(scalar->definedName(), scalar, convertYYLoc(@2, ast));
1106 $$ = new Reference<Type>($1->definedName(), $1, convertYYLoc(@1, ast));
[all …]
DEnumType.h35 const Reference<Type>& storageType, Scope* parent);
72 std::vector<const Reference<Type>*> getReferences() const override;
146 Reference<Type> mStorageType;
DInterface.cpp51 Scope* parent, const Reference<Type>& superType, const Hash* fileHash) in Interface()
425 std::vector<const Reference<Type>*> Interface::getReferences() const { in getReferences()
426 std::vector<const Reference<Type>*> ret; in getReferences()
440 std::vector<const Reference<Type>*> Interface::getStrongReferences() const { in getStrongReferences()
445 std::vector<const Reference<Type>*> ret; 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()
63 std::vector<const Reference<Type>*> ArrayType::getReferences() const { in getReferences()
DCompoundType.h50 std::vector<const Reference<Type>*> getReferences() const override;
DEnumType.cpp32 const Reference<Type>& storageType, Scope* parent) in EnumType()
87 std::vector<const Reference<Type>*> EnumType::getReferences() const { in getReferences()
832 Reference<LocalIdentifier>(prevValue->mName, prevValue, mLocation), description); in autofill()
DAST.h77 LocalIdentifier* lookupLocalIdentifier(const Reference<LocalIdentifier>& ref,
DAST.cpp368 for (const Reference<Type>* ref : type->getReferences()) { in checkForwardReferenceRestrictions()
523 LocalIdentifier* AST::lookupLocalIdentifier(const Reference<LocalIdentifier>& ref, in lookupLocalIdentifier()
DVectorType.cpp85 std::vector<const Reference<Type>*> VectorType::getStrongReferences() const { in getStrongReferences()
/system/extras/perf2cfg/
Dpylintrc1 # Reference: https://pylint.pycqa.org/en/latest/technical_reference/features.html
/system/libhidl/transport/memory/1.0/
DIMapper.hal24 * @param mem Reference to shared memory.
/system/tools/hidl/hidl2aidl/
DAidlHelper.cpp129 for (const Reference<Type>* ref : method->getReferences()) { in emitFileHeader()
147 for (const Reference<Type>* ref : type.getReferences()) { in emitFileHeader()
/system/chre/
DREADME.md63 - ``host/``: Reference code which supports the CHRE implementation, but runs on

12