Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_cpp.cpp262 b->AddStatement(new Assignment( in DefineClientTransaction()
267 b->AddStatement(GotoErrorOnBadStatus()); in DefineClientTransaction()
279 b->AddStatement(new Assignment( in DefineClientTransaction()
283 b->AddStatement(GotoErrorOnBadStatus()); in DefineClientTransaction()
288 b->AddStatement(new Assignment( in DefineClientTransaction()
292 b->AddStatement(GotoErrorOnBadStatus()); in DefineClientTransaction()
306 b->AddStatement(new Assignment( in DefineClientTransaction()
328 b->AddStatement(GotoErrorOnBadStatus()); in DefineClientTransaction()
335 b->AddStatement(new Assignment( in DefineClientTransaction()
338 b->AddStatement(GotoErrorOnBadStatus()); in DefineClientTransaction()
[all …]
Dast_cpp_unittest.cpp180 block.AddStatement(unique_ptr<AstNode>(new Statement("foo"))); in TEST_F()
181 block.AddStatement(unique_ptr<AstNode>(new Statement("bar"))); in TEST_F()
228 case2->AddStatement(unique_ptr<AstNode>{new Statement{"baz"}}); in TEST_F()
230 case1->AddStatement(unique_ptr<AstNode>{new Statement{"foo"}}); in TEST_F()
231 case1->AddStatement(unique_ptr<AstNode>{new Statement{"bar"}}); in TEST_F()
Dast_cpp.h211 void AddStatement(std::unique_ptr<AstNode> statement);
212 void AddStatement(AstNode* statement); // Takes ownership
Dast_cpp.cpp229 void StatementBlock::AddStatement(unique_ptr<AstNode> statement) { in AddStatement() function in android::aidl::cpp::StatementBlock
233 void StatementBlock::AddStatement(AstNode* statement) { in AddStatement() function in android::aidl::cpp::StatementBlock