Home
last modified time | relevance | path

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

/system/tools/aidl/
Dgenerate_cpp.cpp76 ret->OnTrue()->AddLiteral("break"); in BreakOnStatusNotOk()
84 ret->OnTrue()->AddLiteral(StringPrintf("goto %s", kErrorLabel)); in GotoErrorOnBadStatus()
91 ret->OnTrue()->AddLiteral(StringPrintf("return %s", kAndroidStatusVarName)); in ReturnOnStatusNotOk()
205 b->AddLiteral(type + " " + BuildVarName(a)); in DeclareLocalVariable()
239 b->AddLiteral(StringPrintf("%s %s", kAndroidParcelLiteral, kDataVarName)); in DefineClientTransaction()
241 b->AddLiteral(StringPrintf("%s %s", kAndroidParcelLiteral, kReplyVarName)); in DefineClientTransaction()
244 b->AddLiteral(StringPrintf("%s %s = %s", kAndroidStatusLiteral, in DefineClientTransaction()
248 b->AddLiteral(StringPrintf("%s %s", kBinderStatusLiteral, kStatusVarName)); in DefineClientTransaction()
251 b->AddLiteral( in DefineClientTransaction()
257 b->AddLiteral(GenLogBeforeExecute(bp_name, method, false /* isServer */, false /* isNdk */), in DefineClientTransaction()
[all …]
Dast_cpp_unittest.cpp214 s.OnTrue()->AddLiteral("on true1"); in TEST_F()
215 s.OnFalse()->AddLiteral("on false"); in TEST_F()
219 s2.OnTrue()->AddLiteral("on true1"); in TEST_F()
240 b->AddLiteral("foo"); in TEST_F()
241 b->AddLiteral("bar"); in TEST_F()
Dast_cpp.h213 void AddLiteral(const std::string& expression, bool add_semicolon = true);
Dast_cpp.cpp237 void StatementBlock::AddLiteral(const std::string& expression_str, in AddLiteral() function in android::aidl::cpp::StatementBlock