Searched refs:AidlArgument (Results 1 – 14 of 14) sorted by relevance
/system/tools/aidl/ |
D | aidl_language_y.yy | 52 AidlArgument* arg; 53 AidlArgument::Direction direction; 56 std::vector<std::unique_ptr<AidlArgument>>* arg_list; 334 { $$ = new std::vector<std::unique_ptr<AidlArgument>>(); } 336 $$ = new std::vector<std::unique_ptr<AidlArgument>>(); 337 $$->push_back(std::unique_ptr<AidlArgument>($1)); 341 $$->push_back(std::unique_ptr<AidlArgument>($3)); 346 $$ = new AidlArgument(loc(@3), $1, $2, $3->GetText()); 350 $$ = new AidlArgument(loc(@2), $1, $2->GetText()); 417 { $$ = AidlArgument::IN_DIR; } [all …]
|
D | aidl_language.h | 293 class AidlArgument : public AidlVariableDeclaration { 297 AidlArgument(const AidlLocation& location, AidlArgument::Direction direction, 299 AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, const std::string& name); 300 virtual ~AidlArgument() = default; 315 DISALLOW_COPY_AND_ASSIGN(AidlArgument); 401 const std::string& name, std::vector<std::unique_ptr<AidlArgument>>* args, 404 const std::string& name, std::vector<std::unique_ptr<AidlArgument>>* args, 425 const std::vector<std::unique_ptr<AidlArgument>>& GetArguments() const { in GetArguments() 431 const std::vector<const AidlArgument*>& GetInArguments() const { in GetInArguments() 434 const std::vector<const AidlArgument*>& GetOutArguments() const { in GetOutArguments() [all …]
|
D | aidl_language.cpp | 284 AidlArgument::AidlArgument(const AidlLocation& location, AidlArgument::Direction direction, in AidlArgument() function in AidlArgument 290 AidlArgument::AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type, in AidlArgument() function in AidlArgument 293 direction_(AidlArgument::IN_DIR), in AidlArgument() 296 string AidlArgument::GetDirectionSpecifier() const { in GetDirectionSpecifier() 300 case AidlArgument::IN_DIR: in GetDirectionSpecifier() 303 case AidlArgument::OUT_DIR: in GetDirectionSpecifier() 306 case AidlArgument::INOUT_DIR: in GetDirectionSpecifier() 314 string AidlArgument::ToString() const { in ToString() 318 std::string AidlArgument::Signature() const { in Signature() 561 const std::string& name, std::vector<std::unique_ptr<AidlArgument>>* args, in AidlMethod() [all …]
|
D | type_namespace.cpp | 123 const ValidatableType* TypeNamespace::GetArgType(const AidlArgument& a, int arg_index, in GetArgType() 143 if (a.GetDirection() != AidlArgument::IN_DIR && !can_be_out) { in GetArgType()
|
D | aidl_to_cpp_common.h | 51 string BuildVarName(const AidlArgument& a);
|
D | aidl_to_cpp_common.cpp | 81 string BuildVarName(const AidlArgument& a) { in BuildVarName() 83 if (a.GetDirection() & AidlArgument::IN_DIR) { in BuildVarName() 207 void WriteLogForArguments(CodeWriterPtr& writer, const AidlArgument& a, bool isServer, in WriteLogForArguments()
|
D | generate_java_binder.cpp | 410 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_interface_method() 440 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code() 447 if (arg->GetDirection() & AidlArgument::IN_DIR) { in generate_stub_code() 529 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_stub_code() 532 if (arg->GetDirection() & AidlArgument::OUT_DIR) { in generate_stub_code() 602 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method() 646 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_proxy_method() 649 AidlArgument::Direction dir = arg->GetDirection(); in generate_proxy_method() 650 if (dir == AidlArgument::OUT_DIR && arg->GetType().IsArray()) { in generate_proxy_method() 659 } else if (dir & AidlArgument::IN_DIR) { in generate_proxy_method() [all …]
|
D | type_cpp.h | 102 const ValidatableType* GetArgType(const AidlArgument& a, int arg_index,
|
D | aidl_apicheck.cpp | 102 const AidlArgument& old_a = *(old_args.at(i)); in are_compatible_interfaces() 103 const AidlArgument& new_a = *(new_args.at(i)); in are_compatible_interfaces()
|
D | generate_cpp.cpp | 99 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList() 199 bool DeclareLocalVariable(const AidlArgument& a, StatementBlock* b) { in DeclareLocalVariable() 361 for (const AidlArgument* a : method.GetOutArguments()) { in DefineClientTransaction() 489 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in HandleServerTransaction() 594 for (const AidlArgument* a : method.GetOutArguments()) { in HandleServerTransaction()
|
D | aidl.cpp | 670 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
|
D | type_namespace.h | 114 virtual const ValidatableType* GetArgType(const AidlArgument& a, int arg_index,
|
D | generate_ndk.cpp | 321 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateClientMethodDefinition() 394 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateServerCaseDefinition()
|
D | type_cpp.cpp | 520 const ValidatableType* TypeNamespace::GetArgType(const AidlArgument& a, int arg_index, in GetArgType()
|