/system/tools/aidl/ |
D | aidl_typenames.cpp | 298 {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()
|
D | aidl_to_rust.h | 65 StorageMode ArgumentStorageMode(const AidlArgument& arg, const AidlTypenames& typenames); 67 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames);
|
D | aidl_language.h | 92 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 …]
|
D | aidl_language.cpp | 729 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 …]
|
D | aidl_language_y.yy | 79 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 …]
|
D | generate_rust.cpp | 60 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()
|
D | diagnostics.cpp | 136 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()
|
D | generate_java_binder.cpp | 412 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 …]
|
D | aidl_to_rust.cpp | 202 StorageMode ArgumentStorageMode(const AidlArgument& arg, const AidlTypenames& typenames) { in ArgumentStorageMode() 221 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames) { in ArgumentReferenceMode()
|
D | aidl_to_cpp_common.cpp | 106 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()
|
D | aidl_to_cpp_common.h | 55 string BuildVarName(const AidlArgument& a);
|
D | aidl.cpp | 681 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()
|
D | aidl_checkapi.cpp | 210 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()
|
D | generate_cpp.cpp | 105 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()
|
D | generate_ndk.cpp | 480 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateClientMethodDefinition() 561 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateServerCaseDefinition()
|