Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_typenames.cpp298 {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::OUT_DIR, in GetArgumentAspect()
299 AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
305 {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::OUT_DIR, in GetArgumentAspect()
306 AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
310 return {name, {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
315 return {name, {AidlArgument::Direction::IN_DIR}}; in GetArgumentAspect()
325 return {"@JavaOnlyImmutable", {AidlArgument::Direction::IN_DIR}}; in GetArgumentAspect()
328 {AidlArgument::Direction::IN_DIR, AidlArgument::Direction::OUT_DIR, in GetArgumentAspect()
329 AidlArgument::Direction::INOUT_DIR}}; in GetArgumentAspect()
332 return {t->GetPreprocessDeclarationName(), {AidlArgument::Direction::IN_DIR}}; in GetArgumentAspect()
Daidl_to_rust.h65 StorageMode ArgumentStorageMode(const AidlArgument& arg, const AidlTypenames& typenames);
67 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames);
Daidl_language.h92 class AidlArgument;
113 virtual void Visit(const AidlArgument&) {}
521 class AidlArgument : public AidlVariableDeclaration {
525 AidlArgument(const AidlLocation& location, AidlArgument::Direction direction,
527 AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, const std::string& name);
528 virtual ~AidlArgument() = default;
531 AidlArgument(const AidlArgument&) = delete;
532 AidlArgument(AidlArgument&&) = delete;
533 AidlArgument& operator=(const AidlArgument&) = delete;
534 AidlArgument& operator=(AidlArgument&&) = delete;
[all …]
Daidl_language.cpp729 AidlArgument::AidlArgument(const AidlLocation& location, AidlArgument::Direction direction, in AidlArgument() function in AidlArgument
735 AidlArgument::AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, in AidlArgument() function in AidlArgument
738 direction_(AidlArgument::IN_DIR), in AidlArgument()
741 static std::string to_string(AidlArgument::Direction direction) { in to_string()
743 case AidlArgument::IN_DIR: in to_string()
745 case AidlArgument::OUT_DIR: in to_string()
747 case AidlArgument::INOUT_DIR: in to_string()
752 string AidlArgument::GetDirectionSpecifier() const { in GetDirectionSpecifier()
760 string AidlArgument::ToString() const { in ToString()
768 static std::string FormatDirections(const std::set<AidlArgument::Direction>& directions) { in FormatDirections()
[all …]
Daidl_language_y.yy79 AidlArgument* arg;
80 AidlArgument::Direction direction;
85 std::vector<std::unique_ptr<AidlArgument>>* arg_list;
636 $$ = new std::vector<std::unique_ptr<AidlArgument>>();
637 $$->push_back(std::unique_ptr<AidlArgument>($1));
641 $$->push_back(std::unique_ptr<AidlArgument>($3));
646 { $$ = new std::vector<std::unique_ptr<AidlArgument>>(); }
652 $$ = new AidlArgument(loc(@3), $1, $2, $3->GetText());
656 $$ = new AidlArgument(loc(@2), $1, $2->GetText());
781 { $$ = AidlArgument::IN_DIR; }
[all …]
Dgenerate_rust.cpp60 string BuildArg(const AidlArgument& arg, const AidlTypenames& typenames) { in BuildArg()
72 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in BuildMethod()
120 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in GenerateClientMethod()
149 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in GenerateClientMethod()
189 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateClientMethod()
245 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateServerTransaction()
285 for (const std::unique_ptr<AidlArgument>& arg : method->GetArguments()) { in GenerateServerItems()
Ddiagnostics.cpp136 void Visit(const AidlArgument& a) override { in Visit()
137 if (a.GetDirection() == AidlArgument::INOUT_DIR) { in Visit()
239 void Visit(const AidlArgument& a) override { in Visit()
Dgenerate_java_binder.cpp412 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_interface_method()
463 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code()
468 if (arg->GetDirection() & AidlArgument::IN_DIR) { in generate_stub_code()
521 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code()
524 if (arg->GetDirection() & AidlArgument::OUT_DIR) { in generate_stub_code()
592 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method()
643 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method()
645 AidlArgument::Direction dir = arg->GetDirection(); in generate_proxy_method()
646 if (dir == AidlArgument::OUT_DIR && arg->GetType().IsArray()) { in generate_proxy_method()
657 } else if (dir & AidlArgument::IN_DIR) { in generate_proxy_method()
[all …]
Daidl_to_rust.cpp202 StorageMode ArgumentStorageMode(const AidlArgument& arg, const AidlTypenames& typenames) { in ArgumentStorageMode()
221 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames) { in ArgumentReferenceMode()
Daidl_to_cpp_common.cpp106 string BuildVarName(const AidlArgument& a) { in BuildVarName()
108 if (a.GetDirection() & AidlArgument::IN_DIR) { in BuildVarName()
114 void WriteLogForArgument(CodeWriter& w, const AidlArgument& a, bool is_server, in WriteLogForArgument()
Daidl_to_cpp_common.h55 string BuildVarName(const AidlArgument& a);
Daidl.cpp681 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
692 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
Daidl_checkapi.cpp210 const AidlArgument& old_a = *(old_args.at(i)); in are_compatible_interfaces()
211 const AidlArgument& new_a = *(new_args.at(i)); in are_compatible_interfaces()
Dgenerate_cpp.cpp105 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList()
372 for (const AidlArgument* a : method.GetOutArguments()) { in DefineClientTransaction()
587 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in HandleServerTransaction()
680 for (const AidlArgument* a : method.GetOutArguments()) { in HandleServerTransaction()
Dgenerate_ndk.cpp480 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateClientMethodDefinition()
561 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateServerCaseDefinition()