Searched refs:AddLiteral (Results 1 – 4 of 4) sorted by relevance
/system/tools/aidl/ |
D | generate_cpp.cpp | 76 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 …]
|
D | ast_cpp_unittest.cpp | 214 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()
|
D | ast_cpp.h | 213 void AddLiteral(const std::string& expression, bool add_semicolon = true);
|
D | ast_cpp.cpp | 237 void StatementBlock::AddLiteral(const std::string& expression_str, in AddLiteral() function in android::aidl::cpp::StatementBlock
|