Searched refs:LiteralStatement (Results 1 – 4 of 4) sorted by relevance
154 write_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class()169 write_method->statements->Add(new LiteralStatement(code)); in generate_parcel_class()178 write_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class()195 read_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class()200 LiteralStatement* sizeCheck = nullptr; in generate_parcel_class()218 read_method->statements->Add(new LiteralStatement(code)); in generate_parcel_class()219 if (!sizeCheck) sizeCheck = new LiteralStatement(out.str()); in generate_parcel_class()228 read_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class()237 describe_contents_method->statements->Add(new LiteralStatement("return 0;\n")); in generate_parcel_class()
132 struct LiteralStatement : public Statement { struct134 LiteralStatement(const std::string& value);135 virtual ~LiteralStatement() = default;
385 addTo->Add(new LiteralStatement(code)); in generate_write_to_parcel()458 statements->Add(new LiteralStatement(code)); in generate_stub_code()682 tryStatement->statements->Add(new LiteralStatement( in generate_proxy_method()714 tryStatement->statements->Add(new LiteralStatement(code)); in generate_proxy_method()730 tryStatement->statements->Add(new LiteralStatement(code)); in generate_proxy_method()805 c->statements->Add(new LiteralStatement(code.str())); in generate_methods()930 new LiteralStatement(StringPrintf("return %s;\n", defaultValue.c_str()))); in generate_default_impl_method()
134 LiteralStatement::LiteralStatement(const std::string& value) : value_(value) {} in LiteralStatement() function in android::aidl::java::LiteralStatement136 void LiteralStatement::Write(CodeWriter* to) const { in Write()