Home
last modified time | relevance | path

Searched refs:LiteralStatement (Results 1 – 4 of 4) sorted by relevance

/system/tools/aidl/
Dgenerate_java.cpp154 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()
Dast_java.h132 struct LiteralStatement : public Statement { struct
134 LiteralStatement(const std::string& value);
135 virtual ~LiteralStatement() = default;
Dgenerate_java_binder.cpp385 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()
Dast_java.cpp134 LiteralStatement::LiteralStatement(const std::string& value) : value_(value) {} in LiteralStatement() function in android::aidl::java::LiteralStatement
136 void LiteralStatement::Write(CodeWriter* to) const { in Write()