Lines Matching refs:AddLiteral
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()
320 b->AddLiteral(StringPrintf("if (UNLIKELY(_aidl_ret_status == ::android::UNKNOWN_TRANSACTION && " in DefineClientTransaction()
342 exception_check->OnTrue()->AddLiteral( in DefineClientTransaction()
381 b->AddLiteral(StringPrintf("%s:\n", kErrorLabel), false /* no semicolon */); in DefineClientTransaction()
382 b->AddLiteral( in DefineClientTransaction()
387 b->AddLiteral(GenLogAfterExecute(bp_name, interface, method, kStatusVarName, kReturnVarName, in DefineClientTransaction()
392 b->AddLiteral(StringPrintf("return %s", kStatusVarName)); in DefineClientTransaction()
498 b->AddLiteral(StringPrintf( in HandleServerTransaction()
511 interface_check->OnTrue()->AddLiteral("break"); in HandleServerTransaction()
548 b->AddLiteral(GenLogBeforeExecute(bn_name, method, true /* isServer */, false /* isNdk */), in HandleServerTransaction()
566 b->AddLiteral(GenLogAfterExecute(bn_name, interface, method, kStatusVarName, kReturnVarName, in HandleServerTransaction()
580 exception_check->OnTrue()->AddLiteral("break"); in HandleServerTransaction()
622 b->AddLiteral(code.str()); in HandleServerMetaTransaction()
652 on_transact->GetStatementBlock()->AddLiteral( in BuildServerSource()
679 b->AddLiteral(StringPrintf( in BuildServerSource()
697 on_transact->GetStatementBlock()->AddLiteral( in BuildServerSource()
752 getter->GetStatementBlock()->AddLiteral( in BuildInterfaceSource()
755 getter->GetStatementBlock()->AddLiteral("return value"); in BuildInterfaceSource()
1050 read_block->AddLiteral( in BuildParcelSource()
1053 read_block->AddLiteral( in BuildParcelSource()
1066 read_block->AddLiteral(StringPrintf( in BuildParcelSource()
1073 read_block->AddLiteral(StringPrintf("return %s", kAndroidStatusVarName)); in BuildParcelSource()
1079 write_block->AddLiteral( in BuildParcelSource()
1082 write_block->AddLiteral( in BuildParcelSource()
1095 write_block->AddLiteral( in BuildParcelSource()
1100 write_block->AddLiteral(StringPrintf("return %s", kAndroidStatusVarName)); in BuildParcelSource()