Home
last modified time | relevance | path

Searched refs:NamedReference (Results 1 – 14 of 14) sorted by relevance

/system/tools/hidl/
DMethod.h55 Method(const std::string& name, std::vector<NamedReference<Type>*>* args,
56 std::vector<NamedReference<Type>*>* results, bool oneway,
60 const std::vector<NamedReference<Type>*>& args() const;
61 const std::vector<NamedReference<Type>*>& results() const;
105 const NamedReference<Type>* canElideCallback() const;
114 std::vector<NamedReference<Type>*>* mArgs;
115 std::vector<NamedReference<Type>*>* mResults;
130 struct TypedVarVector : public std::vector<NamedReference<Type>*> {
133 bool add(NamedReference<Type>* v);
DMethod.cpp35 Method::Method(const std::string& name, std::vector<NamedReference<Type>*>* args, in Method()
36 std::vector<NamedReference<Type>*>* results, bool oneway, in Method()
65 const std::vector<NamedReference<Type>*>& Method::args() const { in args()
69 const std::vector<NamedReference<Type>*>& Method::results() const { in results()
160 const NamedReference<Type>* elidedReturn = canElideCallback(); in generateCppReturnType()
189 const std::vector<NamedReference<Type>*>& args, in emitCppArgResultSignature()
199 const std::vector<NamedReference<Type>*>& args) { in emitJavaArgResultSignature()
211 const NamedReference<Type>* elidedReturn = canElideCallback(); in emitCppArgSignature()
254 static void fillHidlArgResultTokens(const std::vector<NamedReference<Type>*>& args, in fillHidlArgResultTokens()
257 const NamedReference<Type>* arg = args[i]; in fillHidlArgResultTokens()
[all …]
DCompoundType.h41 std::vector<const NamedReference<Type>*> getFields() const;
42 void addField(NamedReference<Type>* field);
150 std::vector<NamedReference<Type>*> mFields;
155 void emitFieldHidlDefinition(Formatter& out, const NamedReference<Type>& ref) const;
DAST.h45 struct NamedReference;
359 void declareCppReaderLocals(Formatter& out, const std::vector<NamedReference<Type>*>& arg,
363 const NamedReference<Type>* arg, bool isReader, Type::ErrorMode mode,
367 const NamedReference<Type>* arg, bool isReader,
DReference.h153 struct NamedReference : public Reference<T>, DocCommentable { struct
154 NamedReference(const std::string& name, const Reference<T>& reference, const Location& location) in NamedReference() function
DgenerateJava.cpp32 const NamedReference<Type>* arg, bool isReader, in emitJavaReaderWriter()
537 const NamedReference<Type>* returnArg = method->results()[0]; in generateJava()
598 const NamedReference<Type>* returnArg = method->results()[0]; in generateJava()
DgenerateCpp.cpp306 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateInterfaceHeader()
431 static std::string wrapPassthroughArg(Formatter& out, const NamedReference<Type>* arg, in wrapPassthroughArg()
473 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generatePassthroughMethod()
722 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStubHeader()
934 void AST::declareCppReaderLocals(Formatter& out, const std::vector<NamedReference<Type>*>& args, in declareCppReaderLocals()
953 const NamedReference<Type>* arg, bool isReader, Type::ErrorMode mode, in emitCppReaderWriter()
981 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateProxyMethodSource()
1046 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStaticProxyMethodSource()
1482 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStaticStubMethodSource()
DgenerateCppImpl.cpp55 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStubImplMethod()
DCompoundType.cpp42 void CompoundType::addField(NamedReference<Type>* field) { in addField()
46 std::vector<const NamedReference<Type>*> CompoundType::getFields() const { in getFields()
47 return std::vector<const NamedReference<Type>*>(mFields.begin(), mFields.end()); in getFields()
624 void CompoundType::emitFieldHidlDefinition(Formatter& out, const NamedReference<Type>& ref) const { in emitFieldHidlDefinition()
642 for (const NamedReference<Type>* ref : mFields) { in emitInlineHidlDefinition()
813 for (const NamedReference<Type>* field : mFields) { in emitPackageTypeHeaderDefinitions()
946 const NamedReference<Type>* field, in emitSafeUnionFieldConstructor()
958 const NamedReference<Type>* field, in emitSafeUnionSetterDefinition()
1174 for (const NamedReference<Type>* field : mFields) { in emitSafeUnionTypeDefinitions()
Dhidl-gen_y.yy324 android::NamedReference<android::Type>* field;
325 std::vector<android::NamedReference<android::Type>*>* fields;
329 android::NamedReference<android::Type>* typedVar;
832 new std::vector<NamedReference<Type>*> /* results */,
841 new std::vector<NamedReference<Type>*> /* results */,
901 $$ = new NamedReference<Type>($2, *$1, convertYYLoc(@2, ast));
905 $$ = new NamedReference<Type>("", *$1, convertYYLoc(@1, ast));
977 NamedReference<Type>* field = new NamedReference<Type>($2, *$1, convertYYLoc(@2, ast));
/system/tools/hidl/lint/lints/
DmethodDocComment.cpp57 static bool isNameInList(const std::string& name, const std::vector<NamedReference<Type>*>& refs) { in isNameInList()
58 return std::any_of(refs.begin(), refs.end(), [&](const NamedReference<Type>* namedRef) -> bool { in isNameInList()
63 static bool isSubsequence(const std::vector<NamedReference<Type>*>& refs, in isSubsequence()
69 for (const NamedReference<Type>* namedRef : refs) { in isSubsequence()
DnamingConventions.cpp65 for (const NamedReference<Type>* ref : compoundType->getFields()) { in namingConventions()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp40 const std::vector<NamedReference<Type>*> args, in emitAidlMethodParams()
49 const NamedReference<Type>* arg = args[i]; in emitAidlMethodParams()
215 std::vector<NamedReference<Type>*> results; in emitAidl()
217 for (NamedReference<Type>* res : method->results()) { in emitAidl()
DAidlNamedType.cpp27 const NamedReference<Type>* field;
77 for (const NamedReference<Type>* field : compoundType.getFields()) { in processCompoundType()
131 const std::vector<const NamedReference<Type>*>& latestFields = compoundType.getFields(); in emitCompoundTypeAidlDefinition()