Lines Matching refs:shared_ptr
51 std::shared_ptr<Variable> Get(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in Get()
59 std::shared_ptr<Variable> Get(int index) { return vars_[index]; } in Get()
62 std::vector<std::shared_ptr<Variable>> vars_;
79 std::shared_ptr<Variable> transact_code;
80 std::shared_ptr<Variable> transact_data;
81 std::shared_ptr<Variable> transact_reply;
82 std::shared_ptr<Variable> transact_flags;
83 std::shared_ptr<SwitchStatement> transact_switch;
84 std::shared_ptr<StatementBlock> transact_statements;
85 std::shared_ptr<SwitchStatement> code_to_method_name_switch;
97 std::shared_ptr<Expression> get_transact_descriptor(const AidlMethod* method);
102 std::shared_ptr<Variable> transact_descriptor;
133 std::vector<std::shared_ptr<Expression>>{THIS_VALUE, in StubClass()
175 std::vector<std::shared_ptr<Expression>>{code2}))); in StubClass()
204 std::vector<std::shared_ptr<Expression>>{this->transact_code, this->transact_data, in finish()
225 std::shared_ptr<Expression> StubClass::get_transact_descriptor(const AidlMethod* method) { in get_transact_descriptor()
307 std::shared_ptr<Variable> mRemote;
354 std::shared_ptr<StatementBlock> addTo, std::shared_ptr<Variable> v, in generate_new_array()
355 std::shared_ptr<Variable> parcel) { in generate_new_array()
370 std::shared_ptr<StatementBlock> addTo, in generate_write_to_parcel()
371 std::shared_ptr<Variable> v, std::shared_ptr<Variable> parcel, in generate_write_to_parcel()
400 static std::shared_ptr<Method> generate_interface_method(const AidlMethod& method, in generate_interface_method()
421 std::shared_ptr<Variable> transact_data, in generate_stub_code()
422 std::shared_ptr<Variable> transact_reply, in generate_stub_code()
424 std::shared_ptr<StatementBlock> statement_block, in generate_stub_code()
425 std::shared_ptr<StubClass> stubClass, const Options& options) { in generate_stub_code()
437 std::vector<std::shared_ptr<Expression>>{ in generate_stub_code()
443 std::vector<std::shared_ptr<Expression>>{ in generate_stub_code()
452 std::vector<std::shared_ptr<Expression>>{stubClass->get_transact_descriptor(&method)})); in generate_stub_code()
461 std::shared_ptr<Variable> v = stubArgs.Get(arg->GetType(), typenames); in generate_stub_code()
519 std::shared_ptr<Variable> v = stubArgs.Get(i++); in generate_stub_code()
532 std::shared_ptr<StubClass> stubClass, const AidlTypenames& typenames, in generate_stub_case()
544 std::shared_ptr<StubClass> stubClass, in generate_stub_case_outline()
571 std::vector<std::shared_ptr<Expression>>{ in generate_stub_case_outline()
579 static std::shared_ptr<Method> generate_proxy_method( in generate_proxy_method()
581 bool oneway, std::shared_ptr<ProxyClass> proxyClass, const AidlTypenames& typenames, in generate_proxy_method()
599 std::shared_ptr<Variable> _reply = nullptr; in generate_proxy_method()
607 std::shared_ptr<Variable> _result = nullptr; in generate_proxy_method()
622 std::vector<std::shared_ptr<Expression>>{ in generate_proxy_method()
632 std::vector<std::shared_ptr<Expression>>{std::make_shared<LiteralExpression>("DESCRIPTOR")})); in generate_proxy_method()
643 std::vector<std::shared_ptr<Expression>>{std::make_shared<LiteralExpression>("-1")})); in generate_proxy_method()
647 std::vector<std::shared_ptr<Expression>>{std::make_shared<FieldVariable>(v, "length")})); in generate_proxy_method()
658 std::vector<std::shared_ptr<Expression>>{ in generate_proxy_method()
731 std::vector<std::shared_ptr<Expression>>{ in generate_proxy_method()
743 std::shared_ptr<StubClass> stubClass, in generate_methods()
744 std::shared_ptr<ProxyClass> proxyClass, int index, in generate_methods()
767 std::shared_ptr<ClassElement> decl; in generate_methods()
820 std::shared_ptr<ClassElement> proxy = nullptr; in generate_methods()
891 Class* interface, std::shared_ptr<StubClass> stub, in generate_interface_descriptors()
892 std::shared_ptr<ProxyClass> proxy) { in generate_interface_descriptors()
897 std::vector<std::shared_ptr<Expression>>{stub->get_transact_descriptor(nullptr)})); in generate_interface_descriptors()
946 const std::shared_ptr<StubClass> stub, size_t outline_threshold, in compute_outline_methods()
972 static shared_ptr<ClassElement> generate_default_impl_method(const AidlMethod& method, in generate_default_impl_method()
994 static shared_ptr<Class> generate_default_impl_class(const AidlInterface& iface, in generate_default_impl_class()