Home
last modified time | relevance | path

Searched refs:EchoResponse (Results 1 – 25 of 63) sorted by relevance

123

/third_party/grpc/src/proto/grpc/testing/
Decho.proto24 rpc Echo(EchoRequest) returns (EchoResponse);
25 rpc Echo1(EchoRequest) returns (EchoResponse);
26 rpc Echo2(EchoRequest) returns (EchoResponse);
32 rpc RequestStream(stream EchoRequest) returns (EchoResponse);
33 rpc ResponseStream(EchoRequest) returns (stream EchoResponse);
34 rpc BidiStream(stream EchoRequest) returns (stream EchoResponse);
35 rpc Unimplemented(EchoRequest) returns (EchoResponse);
39 rpc Echo(EchoRequest) returns (EchoResponse);
40 rpc Echo1(EchoRequest) returns (EchoResponse);
41 rpc Echo2(EchoRequest) returns (EchoResponse);
[all …]
/third_party/grpc/test/cpp/end2end/
Dasync_end2end_test.cc53 using grpc::testing::EchoResponse;
311 EchoResponse send_response; in SendRpc()
312 EchoResponse recv_response; in SendRpc()
317 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in SendRpc()
320 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in SendRpc()
359 EchoResponse send_response; in TEST_P()
360 EchoResponse recv_response; in TEST_P()
365 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in TEST_P()
373 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in TEST_P()
468 EchoResponse send_response; in TEST_P()
[all …]
Dmock_test.cc47 using grpc::testing::EchoResponse;
72 EchoResponse response; in DoEcho()
81 EchoResponse response; in DoRequestStream()
107 EchoResponse response; in DoResponseStream()
111 std::unique_ptr<ClientReaderInterface<EchoResponse>> cstream = in DoResponseStream()
130 EchoResponse response; in DoBidiStream()
134 std::unique_ptr<ClientReaderWriterInterface<EchoRequest, EchoResponse>> in DoBidiStream()
170 EchoResponse* response) override { in Echo()
196 EchoResponse resp; in TEST_F()
225 EchoResponse resp; in TEST_F()
[all …]
Dmessage_allocator_end2end_test.cc59 const EchoRequest* req, EchoResponse* resp)> in SetAllocatorMutator()
66 EchoResponse* response) override { in Echo()
78 const EchoRequest* req, EchoResponse* resp)>
114 experimental::MessageAllocator<EchoRequest, EchoResponse>* allocator) { in CreateServer()
166 EchoResponse response; in SendRpcs()
213 : public experimental::MessageAllocator<EchoRequest, EchoResponse> {
216 : public experimental::MessageHolder<EchoRequest, EchoResponse> {
223 set_response(new EchoResponse); in MessageHolderImpl()
247 experimental::MessageHolder<EchoRequest, EchoResponse>* AllocateMessages() in AllocateMessages()
277 const EchoRequest* req, EchoResponse* resp) { in TEST_P()
[all …]
Dend2end_test.cc61 using grpc::testing::EchoResponse;
253 EchoResponse* response) override { in Echo()
267 EchoResponse* response) override { in Echo()
472 EchoResponse response; in SendRpc()
511 EchoResponse response; in TestRequestStreamServerCancel()
589 EchoResponse response; in TestResponseStreamServerCancel()
670 EchoResponse response; in TestBidiStreamServerCancel()
744 EchoResponse response; in TEST_P()
811 EchoResponse response; in TEST_P()
865 EchoResponse response; in TEST_P()
[all …]
Dstreaming_throughput_test.cc44 using grpc::testing::EchoResponse;
91 ServerReaderWriter<EchoResponse, EchoRequest>* stream, in BidiStream_Sender() argument
93 EchoResponse response; in BidiStream_Sender()
110 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument
159 static void Drainer(ClientReaderWriter<EchoRequest, EchoResponse>* reader) { in Drainer()
160 EchoResponse response; in Drainer()
Dhybrid_end2end_test.cc70 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in HandleEcho()
72 EchoResponse send_response; in HandleEcho()
98 EchoResponse send_response; in HandleRawEcho()
109 EchoResponse send_response; in HandleClientStreaming()
110 ServerAsyncReader<EchoResponse, EchoRequest> srv_stream(&srv_ctx); in HandleClientStreaming()
128 EchoResponse send_response; in HandleRawClientStreaming()
151 EchoResponse send_response; in HandleServerStreaming()
152 ServerAsyncWriter<EchoResponse> srv_stream(&srv_ctx); in HandleServerStreaming()
176 EchoResponse send_response; in HandleGenericEcho()
189 EchoResponse send_response; in HandleGenericRequestStream()
[all …]
Dinterceptors_util.cc35 EchoResponse resp; in MakeCall()
48 EchoResponse resp; in MakeClientStreamingCall()
68 EchoResponse resp; in MakeServerStreamingCall()
84 EchoResponse resp; in MakeBidiStreamingCall()
103 EchoResponse recv_response; in MakeAsyncCQCall()
109 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in MakeAsyncCQCall()
125 EchoResponse recv_response; in MakeAsyncCQServerStreamingCall()
131 std::unique_ptr<ClientAsyncReader<EchoResponse>> cli_stream( in MakeAsyncCQServerStreamingCall()
163 EchoResponse resp; in MakeCallbackCall()
Dtest_service_impl.h64 const EchoRequest* request, EchoResponse* response);
126 EchoResponse* response) { in Echo()
235 EchoResponse* response) { in Echo1()
240 EchoResponse* response) { in Echo2()
260 EchoResponse* response) { in RequestStream()
309 ServerWriter<EchoResponse>* writer) { in ResponseStream()
333 EchoResponse response; in ResponseStream()
364 ServerReaderWriter<EchoResponse, EchoRequest>* stream) { in BidiStream() argument
377 EchoResponse response; in BidiStream()
445 EchoResponse* response) override;
[all …]
Dserver_crash_test.cc38 using grpc::testing::EchoResponse;
54 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument
57 EchoResponse response; in BidiStream()
70 ServerWriter<EchoResponse>* writer) override { in ResponseStream()
71 EchoResponse response; in ResponseStream()
Dexception_test.cc43 EchoResponse* /*response*/) override { in Echo() argument
48 EchoResponse* /*response*/) override { in RequestStream() argument
88 EchoResponse response; in TEST_F()
101 EchoResponse response; in TEST_F()
Dtest_service_impl.cc42 const EchoRequest* request, EchoResponse* response) { in MaybeEchoDeadline()
129 EchoResponse* response) { in Echo()
134 const EchoRequest* request, EchoResponse* response) in Echo()
310 EchoResponse* const resp_; in Echo()
348 experimental::CallbackServerContext* context, EchoResponse* response) { in RequestStream()
367 Reactor(experimental::CallbackServerContext* ctx, EchoResponse* response, in RequestStream()
418 EchoResponse* const response_; in RequestStream()
432 experimental::ServerWriteReactor<EchoResponse>*
450 : public ::grpc::experimental::ServerWriteReactor<EchoResponse> { in ResponseStream()
523 EchoResponse response_; in ResponseStream()
[all …]
Dserver_interceptors_end2end_test.cc121 EchoResponse* resp = in Intercept()
122 static_cast<EchoResponse*>(methods->GetRecvMessage()); in Intercept()
216 EchoResponse resp; in MakeBidiStreamingCall()
371 EchoResponse send_response; in TEST_F()
372 EchoResponse recv_response; in TEST_F()
377 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in TEST_F()
381 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in TEST_F()
444 EchoResponse send_response; in TEST_F()
445 EchoResponse recv_response; in TEST_F()
450 grpc::ServerAsyncReaderWriter<EchoResponse, EchoRequest> srv_stream(&srv_ctx); in TEST_F()
[all …]
Dclient_crash_test_server.cc35 using grpc::testing::EchoResponse;
50 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument
52 EchoResponse response; in BidiStream()
Dserver_early_return_test.cc53 EchoResponse* response) override { in RequestStream()
77 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument
86 EchoResponse response; in BidiStream()
142 EchoResponse response; in DoBidiStream()
180 EchoResponse response; in DoRequestStream()
Dgeneric_end2end_test.cc43 using grpc::testing::EchoResponse;
118 EchoResponse send_response; in SendRpc()
119 EchoResponse recv_response; in SendRpc()
272 EchoResponse send_response; in TEST_F()
273 EchoResponse recv_response; in TEST_F()
331 EchoResponse send_response; in TEST_F()
332 EchoResponse recv_response; in TEST_F()
403 EchoResponse response; in TEST_F()
Dthread_stress_test.cc44 using grpc::testing::EchoResponse;
61 EchoResponse* response) override { in Echo()
225 EchoResponse send_response; in ProcessRpcs()
244 new grpc::ServerAsyncResponseWriter<EchoResponse>( in RefreshContext()
254 std::unique_ptr<grpc::ServerAsyncResponseWriter<EchoResponse>>
281 EchoResponse response; in SendRpc()
360 EchoResponse response;
363 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader;
/third_party/grpc/doc/
Dunit_testing.md12 rpc Echo(EchoRequest) returns (EchoResponse);
13 rpc BidiStream(stream EchoRequest) returns (stream EchoResponse);
23 …context, const ::grpc::testing::EchoRequest& request, ::grpc::testing::EchoResponse* response) = 0;
25 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>> BidiStream(::…
26 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>>(BidiStreamRaw…
30 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>* BidiStreamRaw…
46 …t* context, const ::grpc::testing::EchoRequest& request, ::grpc::testing::EchoResponse* response));
47 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>*(::grpc::Clien…
94 EchoResponse response;
103 EchoResponse response;
[all …]
/third_party/grpc/test/cpp/ios/CronetTests/
DCppCronetEnd2EndTests.mm99 EchoResponse response;
148 EchoResponse response;
187 EchoResponse response;
208 EchoResponse response;
223 EchoResponse response;
238 EchoResponse response;
253 EchoResponse response;
271 EchoResponse response;
295 EchoResponse response;
328 EchoResponse response;
[all …]
DTestHelper.h66 grpc::testing::EchoResponse* response);
70 grpc::testing::EchoResponse* response);
73 grpc::ServerWriter<grpc::testing::EchoResponse>* writer);
77 grpc::ServerReaderWriter<grpc::testing::EchoResponse,
DTestHelper.mm26 using grpc::testing::EchoResponse;
77 void MaybeEchoDeadline(ServerContext* context, const EchoRequest* request, EchoResponse* response) {
88 EchoResponse* response) {
126 EchoResponse* response) {
138 grpc::ServerWriter<EchoResponse>* writer) {
139 EchoResponse response;
155 grpc::ServerReaderWriter<EchoResponse, EchoRequest>* stream) {
157 EchoResponse response;
/third_party/grpc/test/cpp/microbenchmarks/
Dcallback_test_service.cc51 const EchoRequest* /*request*/, EchoResponse* response) { in Echo()
64 experimental::ServerBidiReactor<EchoRequest, EchoResponse>*
68 : public experimental::ServerBidiReactor<EchoRequest, EchoResponse> { in BidiStream()
104 EchoResponse response_; in BidiStream()
Dfullstack_streaming_ping_pong.h55 EchoResponse send_response; in BM_StreamingPingPong()
56 EchoResponse recv_response; in BM_StreamingPingPong()
71 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_StreamingPingPong()
148 EchoResponse send_response; in BM_StreamingPingPongMsgs()
149 EchoResponse recv_response; in BM_StreamingPingPongMsgs()
163 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_StreamingPingPongMsgs()
252 EchoResponse send_response; in BM_StreamingPingPongWithCoalescingApi()
253 EchoResponse recv_response; in BM_StreamingPingPongWithCoalescingApi()
268 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_StreamingPingPongWithCoalescingApi()
Dcallback_streaming_ping_pong.h38 : public grpc::experimental::ClientBidiReactor<EchoRequest, EchoResponse> {
42 EchoResponse* response) in BidiClient()
112 EchoResponse* response_;
130 EchoResponse response; in BM_CallbackBidiStreaming()
Dfullstack_unary_ping_pong.h45 EchoResponse send_response; in BM_UnaryPingPong()
46 EchoResponse recv_response; in BM_UnaryPingPong()
57 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer; in BM_UnaryPingPong()
79 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in BM_UnaryPingPong()

123