Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_language.cpp540 AidlArgument::AidlArgument(const AidlLocation& location, AidlArgument::Direction direction, in AidlArgument() function in AidlArgument
546 AidlArgument::AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, in AidlArgument() function in AidlArgument
549 direction_(AidlArgument::IN_DIR), in AidlArgument()
552 string AidlArgument::GetDirectionSpecifier() const { in GetDirectionSpecifier()
556 case AidlArgument::IN_DIR: in GetDirectionSpecifier()
559 case AidlArgument::OUT_DIR: in GetDirectionSpecifier()
562 case AidlArgument::INOUT_DIR: in GetDirectionSpecifier()
570 string AidlArgument::ToString() const { in ToString()
574 std::string AidlArgument::Signature() const { in Signature()
616 const std::string& name, std::vector<std::unique_ptr<AidlArgument>>* args, in AidlMethod()
[all …]
Daidl_language.h358 class AidlArgument : public AidlVariableDeclaration {
362 AidlArgument(const AidlLocation& location, AidlArgument::Direction direction,
364 AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, const std::string& name);
365 virtual ~AidlArgument() = default;
380 DISALLOW_COPY_AND_ASSIGN(AidlArgument);
549 vector<unique_ptr<AidlArgument>>* args, const string& comments);
551 vector<unique_ptr<AidlArgument>>* args, const string& comments, int id,
572 const std::vector<std::unique_ptr<AidlArgument>>& GetArguments() const { in GetArguments()
578 const std::vector<const AidlArgument*>& GetInArguments() const { in GetInArguments()
581 const std::vector<const AidlArgument*>& GetOutArguments() const { in GetOutArguments()
[all …]
Daidl_language_y.yy78 AidlArgument* arg;
79 AidlArgument::Direction direction;
85 std::vector<std::unique_ptr<AidlArgument>>* arg_list;
574 $$ = new std::vector<std::unique_ptr<AidlArgument>>();
575 $$->push_back(std::unique_ptr<AidlArgument>($1));
579 $$->push_back(std::unique_ptr<AidlArgument>($3));
584 { $$ = new std::vector<std::unique_ptr<AidlArgument>>(); }
590 $$ = new AidlArgument(loc(@3), $1, $2, $3->GetText());
594 $$ = new AidlArgument(loc(@2), $1, $2->GetText());
703 { $$ = 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.cpp422 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_interface_method()
453 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code()
458 if (arg->GetDirection() & AidlArgument::IN_DIR) { in generate_stub_code()
542 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code()
545 if (arg->GetDirection() & AidlArgument::OUT_DIR) { in generate_stub_code()
613 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method()
659 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method()
661 AidlArgument::Direction dir = arg->GetDirection(); in generate_proxy_method()
662 if (dir == AidlArgument::OUT_DIR && arg->GetType().IsArray()) { in generate_proxy_method()
673 } else if (dir & AidlArgument::IN_DIR) { in generate_proxy_method()
[all …]
Daidl_to_cpp_common.h52 string BuildVarName(const AidlArgument& a);
Daidl.cpp637 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
648 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
Daidl_checkapi.cpp128 const AidlArgument& old_a = *(old_args.at(i)); in are_compatible_interfaces()
129 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()
633 for (const AidlArgument* a : method.GetOutArguments()) { in HandleServerTransaction()
Dgenerate_ndk.cpp390 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateClientMethodDefinition()
463 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateServerCaseDefinition()