Searched refs:AidlArgument (Results 1 – 9 of 9) sorted by relevance
/system/tools/aidl/ |
D | aidl_language.cpp | 51 AidlArgument::AidlArgument(AidlArgument::Direction direction, AidlType* type, in AidlArgument() function in AidlArgument 59 AidlArgument::AidlArgument(AidlType* type, std::string name, unsigned line) in AidlArgument() function in AidlArgument 61 direction_(AidlArgument::IN_DIR), in AidlArgument() 66 string AidlArgument::ToString() const { in ToString() 71 case AidlArgument::IN_DIR: in ToString() 74 case AidlArgument::OUT_DIR: in ToString() 77 case AidlArgument::INOUT_DIR: in ToString() 95 std::vector<std::unique_ptr<AidlArgument>>* args, in AidlMethod() 106 for (const unique_ptr<AidlArgument>& a : arguments_) { in AidlMethod() 113 std::vector<std::unique_ptr<AidlArgument>>* args, in AidlMethod()
|
D | aidl_language_y.yy | 28 AidlArgument* arg; 29 AidlArgument::Direction direction; 30 std::vector<std::unique_ptr<AidlArgument>>* arg_list; 213 { $$ = new std::vector<std::unique_ptr<AidlArgument>>(); } 215 $$ = new std::vector<std::unique_ptr<AidlArgument>>(); 216 $$->push_back(std::unique_ptr<AidlArgument>($1)); 220 $$->push_back(std::unique_ptr<AidlArgument>($3)); 225 $$ = new std::vector<std::unique_ptr<AidlArgument>>(); 230 $$ = new AidlArgument($1, $2, $3->GetText(), @3.begin.line); 234 $$ = new AidlArgument($1, $2->GetText(), @2.begin.line); [all …]
|
D | aidl_language.h | 98 class AidlArgument : public AidlNode { 102 AidlArgument(AidlArgument::Direction direction, AidlType* type, 104 AidlArgument(AidlType* type, std::string name, unsigned line); 105 virtual ~AidlArgument() = default; 126 DISALLOW_COPY_AND_ASSIGN(AidlArgument); 163 std::vector<std::unique_ptr<AidlArgument>>* args, 166 std::vector<std::unique_ptr<AidlArgument>>* args, 182 const std::vector<std::unique_ptr<AidlArgument>>& GetArguments() const { in GetArguments() 188 const std::vector<const AidlArgument*>& GetInArguments() const { in GetInArguments() 191 const std::vector<const AidlArgument*>& GetOutArguments() const { in GetOutArguments() [all …]
|
D | generate_java_binder.cpp | 291 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_method() 315 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_method() 322 if (arg->GetDirection() & AidlArgument::IN_DIR) { in generate_method() 368 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_method() 372 if (arg->GetDirection() & AidlArgument::OUT_DIR) { in generate_method() 391 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_method() 430 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) { in generate_method() 434 AidlArgument::Direction dir = arg->GetDirection(); in generate_method() 435 if (dir == AidlArgument::OUT_DIR && arg->GetType().IsArray()) { in generate_method() 444 } else if (dir & AidlArgument::IN_DIR) { in generate_method() [all …]
|
D | type_namespace.cpp | 116 const AidlArgument& a, int arg_index, const string& filename) const { in GetArgType() 137 if (a.GetDirection() != AidlArgument::IN_DIR && in GetArgType()
|
D | generate_cpp.cpp | 97 string BuildVarName(const AidlArgument& a) { in BuildVarName() 99 if (a.GetDirection() & AidlArgument::IN_DIR) { in BuildVarName() 110 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList() 197 bool DeclareLocalVariable(const TypeNamespace& types, const AidlArgument& a, in DeclareLocalVariable() 284 for (const AidlArgument* a : method.GetInArguments()) { in DefineClientTransaction() 345 for (const AidlArgument* a : method.GetOutArguments()) { in DefineClientTransaction() 412 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in HandleServerTransaction() 435 for (const AidlArgument* a : method.GetInArguments()) { in HandleServerTransaction() 482 for (const AidlArgument* a : method.GetOutArguments()) { in HandleServerTransaction()
|
D | type_cpp.h | 126 const ValidatableType* GetArgType(const AidlArgument& a,
|
D | type_namespace.h | 120 virtual const ValidatableType* GetArgType(const AidlArgument& a,
|
D | type_cpp.cpp | 580 const ValidatableType* TypeNamespace::GetArgType(const AidlArgument& a, in GetArgType()
|