Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_cpp.cpp187 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()
200 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in BuildMetaMethodDecl()
447 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()
471 return unique_ptr<Declaration>(new LiteralDecl(code.str())); in DefineClientMetaTransaction()
508 file_decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildClientSource()
760 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
767 decls.emplace_back(new LiteralDecl(code.str())); in BuildServerSource()
777 decls.push_back(unique_ptr<Declaration>(new LiteralDecl(code))); in BuildServerSource()
859 new LiteralDecl{"static std::function<void(const Json::Value&)> logFunc;\n"}); in BuildClientHeader()
865 privates.emplace_back(new LiteralDecl("int32_t cached_version_ = -1;\n")); in BuildClientHeader()
[all …]
Dast_cpp.h54 class LiteralDecl : public Declaration {
56 explicit LiteralDecl(const std::string& expression);
57 ~LiteralDecl() = default;
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.cpp263 LiteralDecl decl(literal); in TEST_F()