Home
last modified time | relevance | path

Searched refs:recv_request (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc/test/cpp/end2end/
Dasync_end2end_test.cc306 EchoRequest recv_request; in SendRpc() local
319 service_->RequestEcho(&srv_ctx, &recv_request, &response_writer, in SendRpc()
325 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
327 send_response.set_message(recv_request.message()); in SendRpc()
416 EchoRequest recv_request; in TEST_P() local
436 service_->RequestEcho(&srv_ctx, &recv_request, &response_writer, cq_.get(), in TEST_P()
441 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_P()
443 send_response.set_message(recv_request.message()); in TEST_P()
457 EchoRequest recv_request; in TEST_P() local
479 service_->RequestEcho(&srv_ctx, &recv_request, resp_writer_ptr, cq_.get(), in TEST_P()
[all …]
Dgeneric_end2end_test.cc110 EchoRequest recv_request; in SendRpc() local
154 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in SendRpc()
155 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
157 send_response.set_message(recv_request.message()); in SendRpc()
205 EchoRequest recv_request; in TEST_F() local
237 EXPECT_TRUE(ParseFromByteBuffer(&srv_recv_buffer, &recv_request)); in TEST_F()
238 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_F()
240 send_response.set_message(recv_request.message()); in TEST_F()
263 EchoRequest recv_request; in TEST_F() local
294 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in TEST_F()
[all …]
Dhybrid_end2end_test.cc64 EchoRequest recv_request; in HandleEcho() local
66 service->RequestEcho(&srv_ctx, &recv_request, &response_writer, cq, cq, in HandleEcho()
69 send_response.set_message(recv_request.message()); in HandleEcho()
89 EchoRequest recv_request; in HandleRawEcho() local
90 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in HandleRawEcho()
92 send_response.set_message(recv_request.message()); in HandleRawEcho()
101 EchoRequest recv_request; in HandleClientStreaming() local
109 send_response.mutable_message()->append(recv_request.message()); in HandleClientStreaming()
110 srv_stream.Read(&recv_request, tag(i)); in HandleClientStreaming()
120 EchoRequest recv_request; in HandleRawClientStreaming() local
[all …]
Dfilter_end2end_test.cc165 EchoRequest recv_request; in SendRpc() local
198 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in SendRpc()
199 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
201 send_response.set_message(recv_request.message()); in SendRpc()
260 EchoRequest recv_request; in TEST_F() local
291 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in TEST_F()
292 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_F()
294 send_response.set_message(recv_request.message()); in TEST_F()
Dnonblocking_test.cc117 EchoRequest recv_request; in SendRpc() local
133 service_->RequestEcho(&srv_ctx, &recv_request, &response_writer, in SendRpc()
141 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
143 send_response.set_message(recv_request.message()); in SendRpc()
Dthread_stress_test.cc219 send_response.set_message(contexts_[i].recv_request.message()); in ProcessRpcs()
240 &contexts_[i].recv_request, in RefreshContext()
249 EchoRequest recv_request; member
/external/grpc-grpc/test/cpp/microbenchmarks/
Dfullstack_unary_ping_pong.h56 EchoRequest recv_request; in BM_UnaryPingPong() member
66 service.RequestEcho(&server_env[0]->ctx, &server_env[0]->recv_request, in BM_UnaryPingPong()
69 service.RequestEcho(&server_env[1]->ctx, &server_env[1]->recv_request, in BM_UnaryPingPong()
102 service.RequestEcho(&senv->ctx, &senv->recv_request, &senv->response_writer, in BM_UnaryPingPong()
Dfullstack_streaming_ping_pong.h58 EchoRequest recv_request; in BM_StreamingPingPong() local
95 response_rw.Read(&recv_request, tag(1)); // Start server recv in BM_StreamingPingPong()
151 EchoRequest recv_request; in BM_StreamingPingPongMsgs() local
186 response_rw.Read(&recv_request, tag(1)); // Start server recv in BM_StreamingPingPongMsgs()
255 EchoRequest recv_request; in BM_StreamingPingPongWithCoalescingApi() local
310 response_rw.Read(&recv_request, tag(3)); // Start server recv in BM_StreamingPingPongWithCoalescingApi()
Dfullstack_streaming_pump.h46 EchoRequest recv_request; in BM_PumpStreamClientToServer() local
69 response_rw.Read(&recv_request, tag(0)); in BM_PumpStreamClientToServer()
76 response_rw.Read(&recv_request, tag(0)); in BM_PumpStreamClientToServer()
Dbm_fullstack_trickle.cc371 EchoRequest recv_request; in BM_PumpUnbalancedUnary_Trickle() member
381 service.RequestEcho(&server_env[0]->ctx, &server_env[0]->recv_request, in BM_PumpUnbalancedUnary_Trickle()
384 service.RequestEcho(&server_env[1]->ctx, &server_env[1]->recv_request, in BM_PumpUnbalancedUnary_Trickle()
416 service.RequestEcho(&senv->ctx, &senv->recv_request, &senv->response_writer, in BM_PumpUnbalancedUnary_Trickle()
/external/grpc-grpc/test/cpp/performance/
Dwrites_per_rpc_test.cc185 EchoRequest recv_request; in UnaryPingPong() member
195 service.RequestEcho(&server_env[0]->ctx, &server_env[0]->recv_request, in UnaryPingPong()
198 service.RequestEcho(&server_env[1]->ctx, &server_env[1]->recv_request, in UnaryPingPong()
228 service.RequestEcho(&senv->ctx, &senv->recv_request, &senv->response_writer, in UnaryPingPong()