Home
last modified time | relevance | path

Searched refs:AidlArgument (Results 1 – 10 of 10) sorted by relevance

/system/tools/aidl/
Daidl_language.h363 class AidlArgument : public AidlVariableDeclaration {
367 AidlArgument(const AidlLocation& location, AidlArgument::Direction direction,
369 AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, const std::string& name);
370 virtual ~AidlArgument() = default;
373 AidlArgument(const AidlArgument&) = delete;
374 AidlArgument(AidlArgument&&) = delete;
375 AidlArgument& operator=(const AidlArgument&) = delete;
376 AidlArgument& operator=(AidlArgument&&) = delete;
573 vector<unique_ptr<AidlArgument>>* args, const string& comments);
575 vector<unique_ptr<AidlArgument>>* args, const string& comments, int id,
[all …]
Daidl_language.cpp576 AidlArgument::AidlArgument(const AidlLocation& location, AidlArgument::Direction direction, in AidlArgument() function in AidlArgument
582 AidlArgument::AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, in AidlArgument() function in AidlArgument
585 direction_(AidlArgument::IN_DIR), in AidlArgument()
588 string AidlArgument::GetDirectionSpecifier() const { in GetDirectionSpecifier()
592 case AidlArgument::IN_DIR: in GetDirectionSpecifier()
595 case AidlArgument::OUT_DIR: in GetDirectionSpecifier()
598 case AidlArgument::INOUT_DIR: in GetDirectionSpecifier()
606 string AidlArgument::ToString() const { in ToString()
614 std::string AidlArgument::Signature() const { in Signature()
660 const std::string& name, std::vector<std::unique_ptr<AidlArgument>>* args, in AidlMethod()
[all …]
Daidl_language_y.yy79 AidlArgument* arg;
80 AidlArgument::Direction direction;
86 std::vector<std::unique_ptr<AidlArgument>>* arg_list;
604 $$ = new std::vector<std::unique_ptr<AidlArgument>>();
605 $$->push_back(std::unique_ptr<AidlArgument>($1));
609 $$->push_back(std::unique_ptr<AidlArgument>($3));
614 { $$ = new std::vector<std::unique_ptr<AidlArgument>>(); }
620 $$ = new AidlArgument(loc(@3), $1, $2, $3->GetText());
624 $$ = new AidlArgument(loc(@2), $1, $2->GetText());
733 { $$ = AidlArgument::IN_DIR; }
[all …]
Daidl_to_cpp_common.cpp85 string BuildVarName(const AidlArgument& a) { in BuildVarName()
87 if (a.GetDirection() & AidlArgument::IN_DIR) { in BuildVarName()
211 void WriteLogForArguments(CodeWriterPtr& writer, const AidlArgument& a, bool isServer, in WriteLogForArguments()
Dgenerate_java_binder.cpp409 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_interface_method()
460 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code()
465 if (arg->GetDirection() & AidlArgument::IN_DIR) { in generate_stub_code()
518 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code()
521 if (arg->GetDirection() & AidlArgument::OUT_DIR) { in generate_stub_code()
589 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method()
635 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method()
637 AidlArgument::Direction dir = arg->GetDirection(); in generate_proxy_method()
638 if (dir == AidlArgument::OUT_DIR && arg->GetType().IsArray()) { in generate_proxy_method()
649 } else if (dir & AidlArgument::IN_DIR) { in generate_proxy_method()
[all …]
Daidl_to_cpp_common.h52 string BuildVarName(const AidlArgument& a);
Daidl.cpp645 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
656 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
Daidl_checkapi.cpp133 const AidlArgument& old_a = *(old_args.at(i)); in are_compatible_interfaces()
134 const AidlArgument& new_a = *(new_args.at(i)); in are_compatible_interfaces()
Dgenerate_cpp.cpp100 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList()
224 bool DeclareLocalVariable(const AidlArgument& a, StatementBlock* b, in DeclareLocalVariable()
383 for (const AidlArgument* a : method.GetOutArguments()) { in DefineClientTransaction()
533 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in HandleServerTransaction()
627 for (const AidlArgument* a : method.GetOutArguments()) { in HandleServerTransaction()
Dgenerate_ndk.cpp429 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateClientMethodDefinition()
509 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateServerCaseDefinition()