Searched refs:NamedReference (Results 1 – 15 of 15) sorted by relevance
/system/tools/hidl/ |
D | Method.h | 55 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);
|
D | Method.cpp | 35 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 …]
|
D | CompoundType.h | 41 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;
|
D | AST.h | 45 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,
|
D | Reference.h | 153 struct NamedReference : public Reference<T>, DocCommentable { struct 154 NamedReference(const std::string& name, const Reference<T>& reference, const Location& location) in NamedReference() argument
|
D | generateJava.cpp | 32 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()
|
D | generateCpp.cpp | 306 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() 731 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStubHeader() 943 void AST::declareCppReaderLocals(Formatter& out, const std::vector<NamedReference<Type>*>& args, in declareCppReaderLocals() 962 const NamedReference<Type>* arg, bool isReader, Type::ErrorMode mode, in emitCppReaderWriter() 990 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateProxyMethodSource() 1055 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStaticProxyMethodSource() 1498 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStaticStubMethodSource()
|
D | generateCppImpl.cpp | 55 const NamedReference<Type>* elidedReturn = method->canElideCallback(); in generateStubImplMethod()
|
D | hidl-gen_y.yy | 324 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));
|
D | CompoundType.cpp | 42 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() 1149 for (const NamedReference<Type>* field : mFields) { in emitSafeUnionTypeDefinitions()
|
/system/tools/hidl/lint/lints/ |
D | methodDocComment.cpp | 57 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()
|
D | namingConventions.cpp | 65 for (const NamedReference<Type>* ref : compoundType->getFields()) { in namingConventions()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlInterface.cpp | 40 const std::vector<NamedReference<Type>*> args, in emitAidlMethodParams() 49 const NamedReference<Type>* arg = args[i]; in emitAidlMethodParams() 244 std::vector<NamedReference<Type>*> results; in emitAidl() 246 for (NamedReference<Type>* res : method->results()) { in emitAidl()
|
D | AidlHelper.h | 38 const NamedReference<Type>* field;
|
D | AidlHelper.cpp | 186 for (const NamedReference<Type>* field : compoundType.getFields()) { in processCompoundType()
|