Home
last modified time | relevance | path

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

/third_party/grpc/test/cpp/end2end/
Dasync_end2end_test.cc310 EchoRequest recv_request; in SendRpc() local
323 service_->RequestEcho(&srv_ctx, &recv_request, &response_writer, in SendRpc()
329 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
331 send_response.set_message(recv_request.message()); in SendRpc()
358 EchoRequest recv_request; in TEST_P() local
377 service_->RequestEcho(&srv_ctx, &recv_request, &response_writer, cq_.get(), in TEST_P()
383 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_P()
385 send_response.set_message(recv_request.message()); in TEST_P()
389 static_cast<StatusCode>(recv_request.param().expected_error().code()), in TEST_P()
390 recv_request.param().expected_error().error_message()), in TEST_P()
[all …]
Dgeneric_end2end_test.cc117 EchoRequest recv_request; in SendRpc() local
169 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in SendRpc()
170 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
172 send_response.set_message(recv_request.message()); in SendRpc()
271 EchoRequest recv_request; in TEST_F() local
304 EXPECT_TRUE(ParseFromByteBuffer(&srv_recv_buffer, &recv_request)); in TEST_F()
305 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_F()
307 send_response.set_message(recv_request.message()); in TEST_F()
330 EchoRequest recv_request; in TEST_F() local
361 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in TEST_F()
[all …]
Dhybrid_end2end_test.cc71 EchoRequest recv_request; in HandleEcho() local
73 service->RequestEcho(&srv_ctx, &recv_request, &response_writer, cq, cq, in HandleEcho()
76 send_response.set_message(recv_request.message()); in HandleEcho()
96 EchoRequest recv_request; in HandleRawEcho() local
97 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in HandleRawEcho()
99 send_response.set_message(recv_request.message()); in HandleRawEcho()
108 EchoRequest recv_request; in HandleClientStreaming() local
116 send_response.mutable_message()->append(recv_request.message()); in HandleClientStreaming()
117 srv_stream.Read(&recv_request, tag(i)); in HandleClientStreaming()
127 EchoRequest recv_request; in HandleRawClientStreaming() local
[all …]
Dfilter_end2end_test.cc176 EchoRequest recv_request; in SendRpc() local
209 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in SendRpc()
210 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
212 send_response.set_message(recv_request.message()); in SendRpc()
271 EchoRequest recv_request; in TEST_F() local
302 EXPECT_TRUE(ParseFromByteBuffer(&recv_buffer, &recv_request)); in TEST_F()
303 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_F()
305 send_response.set_message(recv_request.message()); in TEST_F()
Dserver_interceptors_end2end_test.cc370 EchoRequest recv_request; in TEST_F() local
384 service.RequestEcho(&srv_ctx, &recv_request, &response_writer, cq.get(), in TEST_F()
390 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_F()
395 send_response.set_message(recv_request.message()); in TEST_F()
443 EchoRequest recv_request; in TEST_F() local
465 srv_stream.Read(&recv_request, tag(4)); in TEST_F()
467 EXPECT_EQ(send_request.message(), recv_request.message()); in TEST_F()
469 send_response.set_message(recv_request.message()); in TEST_F()
476 srv_stream.Read(&recv_request, tag(8)); in TEST_F()
526 EchoRequest recv_request; in TEST_F() local
[all …]
Dnonblocking_test.cc127 EchoRequest recv_request; in SendRpc() local
143 service_->RequestEcho(&srv_ctx, &recv_request, &response_writer, in SendRpc()
151 EXPECT_EQ(send_request.message(), recv_request.message()); in SendRpc()
153 send_response.set_message(recv_request.message()); in SendRpc()
Dthread_stress_test.cc226 send_response.set_message(contexts_[i].recv_request.message()); in ProcessRpcs()
247 &contexts_[i].recv_request, in RefreshContext()
256 EchoRequest recv_request; member
/third_party/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.cc369 EchoRequest recv_request; in BM_PumpUnbalancedUnary_Trickle() member
379 service.RequestEcho(&server_env[0]->ctx, &server_env[0]->recv_request, in BM_PumpUnbalancedUnary_Trickle()
382 service.RequestEcho(&server_env[1]->ctx, &server_env[1]->recv_request, in BM_PumpUnbalancedUnary_Trickle()
414 service.RequestEcho(&senv->ctx, &senv->recv_request, &senv->response_writer, in BM_PumpUnbalancedUnary_Trickle()
/third_party/grpc/test/cpp/performance/
Dwrites_per_rpc_test.cc169 EchoRequest recv_request; in UnaryPingPong() member
179 service.RequestEcho(&server_env[0]->ctx, &server_env[0]->recv_request, in UnaryPingPong()
182 service.RequestEcho(&server_env[1]->ctx, &server_env[1]->recv_request, in UnaryPingPong()
212 service.RequestEcho(&senv->ctx, &senv->recv_request, &senv->response_writer, in UnaryPingPong()