Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_cpp.cpp70 ret->OnTrue()->AddLiteral("break"); in BreakOnStatusNotOk()
78 ret->OnTrue()->AddLiteral(StringPrintf("goto %s", kErrorLabel)); in GotoErrorOnBadStatus()
87 ret->OnTrue()->AddLiteral(StringPrintf("return %s", kAndroidStatusVarName)); in ReturnOnStatusNotOk()
205 b->AddLiteral(type + " " + BuildVarName(a)); in DeclareLocalVariable()
263 b->AddLiteral(StringPrintf("%s %s", kAndroidParcelLiteral, kDataVarName)); in DefineClientTransaction()
265 b->AddLiteral(StringPrintf("%s %s", kAndroidParcelLiteral, kReplyVarName)); in DefineClientTransaction()
268 b->AddLiteral(StringPrintf("%s %s = %s", kAndroidStatusLiteral, in DefineClientTransaction()
272 b->AddLiteral(StringPrintf("%s %s", kBinderStatusLiteral, kStatusVarName)); in DefineClientTransaction()
338 exception_check->OnTrue()->AddLiteral( in DefineClientTransaction()
377 b->AddLiteral(StringPrintf("%s:\n", kErrorLabel), false /* no semicolon */); in DefineClientTransaction()
[all …]
Dast_cpp_unittest.cpp213 s.OnTrue()->AddLiteral("on true1"); in TEST_F()
214 s.OnFalse()->AddLiteral("on false"); in TEST_F()
218 s2.OnTrue()->AddLiteral("on true1"); in TEST_F()
239 b->AddLiteral("foo"); in TEST_F()
240 b->AddLiteral("bar"); in TEST_F()
Dast_cpp.h199 void AddLiteral(const std::string& expression, bool add_semicolon = true);
Dast_cpp.cpp219 void StatementBlock::AddLiteral(const std::string& expression_str, in AddLiteral() function in android::aidl::cpp::StatementBlock