Lines Matching refs:make_shared
132 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
140 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
162 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
164 auto flag_variable = std::make_shared<Variable>("int", "_aidl_flag"); in generate_parcel_class()
165 auto parcel_variable = std::make_shared<Variable>("android.os.Parcel", "_aidl_parcel"); in generate_parcel_class()
167 auto write_method = std::make_shared<Method>(); in generate_parcel_class()
173 write_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
178 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
193 write_method->statements->Add(std::make_shared<LiteralStatement>(code)); in generate_parcel_class()
202 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
207 auto constructor = std::make_shared<Method>(); in generate_parcel_class()
210 constructor->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
212 constructor->parameters.push_back(std::make_shared<Variable>( in generate_parcel_class()
226 constructor->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
233 auto read_or_create_method = std::make_shared<Method>(); in generate_parcel_class()
235 auto constructor = std::make_shared<Method>(); in generate_parcel_class()
239 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
245 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
264 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
296 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(code)); in generate_parcel_class()
297 if (!sizeCheck) sizeCheck = std::make_shared<LiteralStatement>(out.str()); in generate_parcel_class()
318 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
345 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class()
348 auto describe_contents_method = std::make_shared<Method>(); in generate_parcel_class()
352 describe_contents_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
353 describe_contents_method->statements->Add(std::make_shared<LiteralStatement>("return 0;\n")); in generate_parcel_class()