Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_language_y.yy52 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 …]
Daidl_language.h293 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 …]
Daidl_language.cpp284 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 …]
Dtype_namespace.cpp123 const ValidatableType* TypeNamespace::GetArgType(const AidlArgument& a, int arg_index, in GetArgType()
143 if (a.GetDirection() != AidlArgument::IN_DIR && !can_be_out) { in GetArgType()
Daidl_to_cpp_common.h51 string BuildVarName(const AidlArgument& a);
Daidl_to_cpp_common.cpp81 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()
Dgenerate_java_binder.cpp410 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 …]
Dtype_cpp.h102 const ValidatableType* GetArgType(const AidlArgument& a, int arg_index,
Daidl_apicheck.cpp102 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()
Dgenerate_cpp.cpp99 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()
Daidl.cpp670 vector<unique_ptr<AidlArgument>>* args = new vector<unique_ptr<AidlArgument>>(); in load_and_validate_aidl()
Dtype_namespace.h114 virtual const ValidatableType* GetArgType(const AidlArgument& a, int arg_index,
Dgenerate_ndk.cpp321 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateClientMethodDefinition()
394 for (const AidlArgument* arg : method.GetOutArguments()) { in GenerateServerCaseDefinition()
Dtype_cpp.cpp520 const ValidatableType* TypeNamespace::GetArgType(const AidlArgument& a, int arg_index, in GetArgType()