Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_cpp.cpp175 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()
427 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()
464 file_decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildClientSource()
707 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
717 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()
764 new LiteralDecl(StringPrintf("::android::IBinder* %s::onAsBinder() {\n" in BuildInterfaceSource()
780 decls.emplace_back(new LiteralDecl(code.str())); in BuildInterfaceSource()
787 decls.emplace_back(new LiteralDecl(code.str())); in BuildInterfaceSource()
833 new LiteralDecl{"static std::function<void(const Json::Value&)> logFunc;\n"}); in BuildClientHeader()
839 privates.emplace_back(new LiteralDecl("int32_t cached_version_ = -1;\n")); in BuildClientHeader()
[all …]
Dast_cpp.h52 class LiteralDecl : public Declaration {
54 explicit LiteralDecl(const std::string& expression);
55 ~LiteralDecl() = default;
61 DISALLOW_COPY_AND_ASSIGN(LiteralDecl);
Dast_cpp.cpp38 LiteralDecl::LiteralDecl(const std::string& expression) : expression_(expression) {} in LiteralDecl() function in android::aidl::cpp::LiteralDecl
40 void LiteralDecl::Write(CodeWriter* to) const { in Write()
Dast_cpp_unittest.cpp247 LiteralDecl decl(literal); in TEST_F()