Home
last modified time | relevance | path

Searched refs:RequestType (Results 1 – 25 of 33) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dmethod_handler.h79 template <class RequestType>
81 ::grpc::Status* status, RequestType* request) { in UnaryDeserializeHelper()
84 *status = ::grpc::SerializationTraits<RequestType>::Deserialize( in UnaryDeserializeHelper()
85 &buf, static_cast<RequestType*>(request)); in UnaryDeserializeHelper()
90 request->~RequestType(); in UnaryDeserializeHelper()
95 template <class ServiceType, class RequestType, class ResponseType,
96 class BaseRequestType = RequestType,
102 const RequestType*, ResponseType*)> in RpcMethodHandler() argument
114 static_cast<RequestType*>(param.request), &rsp); in RunHandler()
116 static_cast<RequestType*>(param.request)->~RequestType(); in RunHandler()
[all …]
Dserver_callback_handlers.h30 template <class RequestType, class ResponseType>
35 const RequestType*, ResponseType*)> in CallbackUnaryHandler() argument
40 ::grpc::experimental::MessageAllocator<RequestType, ResponseType>* in SetMessageAllocator() argument
49 ::grpc::experimental::MessageHolder<RequestType, ResponseType>*>( in RunHandler()
84 RequestType* request = nullptr; in Deserialize()
85 ::grpc::experimental::MessageHolder<RequestType, ResponseType>* in Deserialize()
92 call, sizeof(DefaultMessageHolder<RequestType, ResponseType>))) in Deserialize()
93 DefaultMessageHolder<RequestType, ResponseType>(); in Deserialize()
98 ::grpc::SerializationTraits<RequestType>::Deserialize(&buf, request); in Deserialize()
110 const RequestType*, ResponseType*)>
[all …]
Dbyte_buffer.h39 template <class RequestType, class ResponseType>
41 template <class RequestType, class ResponseType>
43 template <class RequestType>
45 RequestType*);
46 template <class ServiceType, class RequestType, class ResponseType>
166 template <class RequestType>
168 ::grpc::Status*, RequestType*);
169 template <class ServiceType, class RequestType, class ResponseType>
171 template <class RequestType, class ResponseType>
173 template <class RequestType, class ResponseType>
Dserver_context.h67 template <class ServiceType, class RequestType, class ResponseType>
69 template <class RequestType, class ResponseType>
71 template <class RequestType, class ResponseType>
73 template <class RequestType, class ResponseType>
75 template <class RequestType, class ResponseType>
77 template <class ServiceType, class RequestType, class ResponseType>
82 template <class ServiceType, class RequestType, class ResponseType,
89 template <class ServiceType, class RequestType, class ResponseType>
367 template <class ServiceType, class RequestType, class ResponseType,
370 template <class ServiceType, class RequestType, class ResponseType>
[all …]
Dsync_stream.h617 template <class ServiceType, class RequestType, class ResponseType>
692 template <class ServiceType, class RequestType, class ResponseType>
819 template <class RequestType, class ResponseType>
821 : public ServerReaderWriterInterface<ResponseType, RequestType> {
844 bool Read(RequestType* request) override { in Read()
870 internal::ServerReaderWriterBody<ResponseType, RequestType> body_;
875 ServerUnaryStreamer<RequestType, ResponseType>, true>;
885 template <class RequestType, class ResponseType>
887 : public ServerReaderWriterInterface<ResponseType, RequestType> {
910 bool Read(RequestType* request) override { in Read()
[all …]
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dmethod_handler.h79 template <class RequestType>
81 ::grpc::Status* status, RequestType* request) { in UnaryDeserializeHelper()
84 *status = ::grpc::SerializationTraits<RequestType>::Deserialize( in UnaryDeserializeHelper()
85 &buf, static_cast<RequestType*>(request)); in UnaryDeserializeHelper()
90 request->~RequestType(); in UnaryDeserializeHelper()
95 template <class ServiceType, class RequestType, class ResponseType,
96 class BaseRequestType = RequestType,
102 const RequestType*, ResponseType*)> in RpcMethodHandler() argument
114 static_cast<RequestType*>(param.request), &rsp); in RunHandler()
116 static_cast<RequestType*>(param.request)->~RequestType(); in RunHandler()
[all …]
Dserver_callback_handlers.h30 template <class RequestType, class ResponseType>
35 const RequestType*, ResponseType*)> in CallbackUnaryHandler() argument
40 ::grpc::experimental::MessageAllocator<RequestType, ResponseType>* in SetMessageAllocator() argument
49 ::grpc::experimental::MessageHolder<RequestType, ResponseType>*>( in RunHandler()
84 RequestType* request = nullptr; in Deserialize()
85 ::grpc::experimental::MessageHolder<RequestType, ResponseType>* in Deserialize()
92 call, sizeof(DefaultMessageHolder<RequestType, ResponseType>))) in Deserialize()
93 DefaultMessageHolder<RequestType, ResponseType>(); in Deserialize()
98 ::grpc::SerializationTraits<RequestType>::Deserialize(&buf, request); in Deserialize()
110 const RequestType*, ResponseType*)>
[all …]
Dbyte_buffer.h39 template <class RequestType, class ResponseType>
41 template <class RequestType, class ResponseType>
43 template <class RequestType>
45 RequestType*);
46 template <class ServiceType, class RequestType, class ResponseType>
166 template <class RequestType>
168 ::grpc::Status*, RequestType*);
169 template <class ServiceType, class RequestType, class ResponseType>
171 template <class RequestType, class ResponseType>
173 template <class RequestType, class ResponseType>
Dserver_context.h67 template <class ServiceType, class RequestType, class ResponseType>
69 template <class RequestType, class ResponseType>
71 template <class RequestType, class ResponseType>
73 template <class RequestType, class ResponseType>
75 template <class RequestType, class ResponseType>
77 template <class ServiceType, class RequestType, class ResponseType>
82 template <class ServiceType, class RequestType, class ResponseType,
89 template <class ServiceType, class RequestType, class ResponseType>
367 template <class ServiceType, class RequestType, class ResponseType,
370 template <class ServiceType, class RequestType, class ResponseType>
[all …]
Dsync_stream.h617 template <class ServiceType, class RequestType, class ResponseType>
692 template <class ServiceType, class RequestType, class ResponseType>
819 template <class RequestType, class ResponseType>
821 : public ServerReaderWriterInterface<ResponseType, RequestType> {
844 bool Read(RequestType* request) override { in Read()
870 internal::ServerReaderWriterBody<ResponseType, RequestType> body_;
875 ServerUnaryStreamer<RequestType, ResponseType>, true>;
885 template <class RequestType, class ResponseType>
887 : public ServerReaderWriterInterface<ResponseType, RequestType> {
910 bool Read(RequestType* request) override { in Read()
[all …]
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dmethod_handler_impl.h52 template <class ServiceType, class RequestType, class ResponseType>
56 const RequestType*, ResponseType*)> in RpcMethodHandler() argument
62 RequestType req; in RunHandler()
63 Status status = SerializationTraits<RequestType>::Deserialize( in RunHandler()
91 std::function<Status(ServiceType*, ServerContext*, const RequestType*,
99 template <class ServiceType, class RequestType, class ResponseType>
104 ServerReader<RequestType>*, ResponseType*)> in ClientStreamingHandler() argument
110 ServerReader<RequestType> reader(param.call, param.server_context); in RunHandler()
135 std::function<Status(ServiceType*, ServerContext*, ServerReader<RequestType>*,
142 template <class ServiceType, class RequestType, class ResponseType>
[all …]
Dserver_context.h58 template <class ServiceType, class RequestType, class ResponseType>
60 template <class ServiceType, class RequestType, class ResponseType>
62 template <class ServiceType, class RequestType, class ResponseType>
64 template <class ServiceType, class RequestType, class ResponseType>
260 template <class ServiceType, class RequestType, class ResponseType>
262 template <class ServiceType, class RequestType, class ResponseType>
264 template <class ServiceType, class RequestType, class ResponseType>
Dcompletion_queue.h73 template <class ServiceType, class RequestType, class ResponseType>
75 template <class ServiceType, class RequestType, class ResponseType>
77 template <class ServiceType, class RequestType, class ResponseType>
79 template <class ServiceType, class RequestType, class ResponseType>
261 template <class ServiceType, class RequestType, class ResponseType>
263 template <class ServiceType, class RequestType, class ResponseType>
265 template <class ServiceType, class RequestType, class ResponseType>
Dbyte_buffer.h44 template <class ServiceType, class RequestType, class ResponseType>
46 template <class ServiceType, class RequestType, class ResponseType>
145 template <class ServiceType, class RequestType, class ResponseType>
147 template <class ServiceType, class RequestType, class ResponseType>
Dsync_stream.h612 template <class ServiceType, class RequestType, class ResponseType>
686 template <class ServiceType, class RequestType, class ResponseType>
812 template <class RequestType, class ResponseType>
814 : public ServerReaderWriterInterface<ResponseType, RequestType> {
837 bool Read(RequestType* request) override { in Read()
862 internal::ServerReaderWriterBody<ResponseType, RequestType> body_;
867 ServerUnaryStreamer<RequestType, ResponseType>, true>;
877 template <class RequestType, class ResponseType>
879 : public ServerReaderWriterInterface<ResponseType, RequestType> {
902 bool Read(RequestType* request) override { in Read()
[all …]
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/generic/
Dgeneric_stub.h43 template <class RequestType, class ResponseType>
53 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>>
65 const RequestType& request, ::grpc::CompletionQueue* cq) { in PrepareUnaryCall()
80 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>> Call( in Call()
90 const RequestType* request, ResponseType* response, in UnaryCall()
101 const RequestType* request, ResponseType* response, in PrepareUnaryCall()
111 ClientBidiReactor<RequestType, ResponseType>* reactor) { in PrepareBidiStreamingCall() argument
126 const RequestType* request, ResponseType* response, in UnaryCall()
137 const RequestType* request, ResponseType* response, in PrepareUnaryCall()
148 ClientBidiReactor<RequestType, ResponseType>* reactor) { in PrepareBidiStreamingCall() argument
[all …]
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/generic/
Dgeneric_stub.h43 template <class RequestType, class ResponseType>
53 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>>
65 const RequestType& request, ::grpc::CompletionQueue* cq) { in PrepareUnaryCall()
80 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>> Call( in Call()
90 const RequestType* request, ResponseType* response, in UnaryCall()
101 const RequestType* request, ResponseType* response, in PrepareUnaryCall()
111 ClientBidiReactor<RequestType, ResponseType>* reactor) { in PrepareBidiStreamingCall() argument
126 const RequestType* request, ResponseType* response, in UnaryCall()
137 const RequestType* request, ResponseType* response, in PrepareUnaryCall()
148 ClientBidiReactor<RequestType, ResponseType>* reactor) { in PrepareBidiStreamingCall() argument
[all …]
/external/grpc-grpc/test/cpp/qps/
Dserver_async.cc47 template <class RequestType, class ResponseType, class ServiceType,
54 std::function<void(ServiceType*, ServerContextType*, RequestType*, in AsyncQpsServerTest() argument
59 ServerAsyncReaderWriter<ResponseType, RequestType>*, in AsyncQpsServerTest() argument
63 ServerAsyncReader<ResponseType, RequestType>*, in AsyncQpsServerTest()
66 std::function<void(ServiceType*, ServerContextType*, RequestType*, in AsyncQpsServerTest()
71 ServerAsyncReaderWriter<ResponseType, RequestType>*, in AsyncQpsServerTest()
74 std::function<grpc::Status(const PayloadConfig&, RequestType*, in AsyncQpsServerTest()
252 std::function<void(ServerContextType*, RequestType*, in ServerRpcContextUnaryImpl() argument
256 std::function<grpc::Status(RequestType*, ResponseType*)> invoke_method) in ServerRpcContextUnaryImpl() argument
269 req_ = RequestType(); in Reset()
[all …]
Dclient_async.cc63 template <class RequestType, class ResponseType>
67 BenchmarkService::Stub* stub, const RequestType& req, in ClientRpcContextUnaryImpl() argument
71 BenchmarkService::Stub*, grpc::ClientContext*, const RequestType&, in ClientRpcContextUnaryImpl()
123 const RequestType& req_;
130 BenchmarkService::Stub*, grpc::ClientContext*, const RequestType&,
149 template <class StubType, class RequestType>
150 class AsyncClient : public ClientImpl<StubType, RequestType> {
157 using ClientImpl<StubType, RequestType>::cores_;
158 using ClientImpl<StubType, RequestType>::channels_;
159 using ClientImpl<StubType, RequestType>::request_;
[all …]
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_grpc.h50 using RequestType = ::tensorflow::tpu::GetTpuProgramRequest;
74 const RequestType& request,
78 const RequestType& request, in AsyncGetTpuProgram()
86 const RequestType& request, in PrepareAsyncGetTpuProgram()
96 const RequestType& request,
100 const RequestType& request,
107 const RequestType& request,
111 const RequestType& request, in AsyncGetTpuProgram()
118 const RequestType& request, in PrepareAsyncGetTpuProgram()
127 ::grpc::ClientContext* context, const RequestType& request,
[all …]
Dtpu_compilation_cache_grpc.cc59 ::grpc::ClientContext* context, const RequestType& request, in GetTpuProgram()
68 ::grpc::ClientContext* context, const RequestType& request, in AsyncGetTpuProgramRaw()
78 ::grpc::ClientContext* context, const RequestType& request, in PrepareAsyncGetTpuProgramRaw()
90 grpc::TpuCompilationCacheService::Service, RequestType, ResponseType>( in Service()
99 ::grpc::ServerContext* context, const RequestType* request, in GetTpuProgram()
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/internal/
Dnanopb_method.h61 template <typename RequestType, typename ResponseType>
63 ServerContext&, const RequestType&, ResponseType&)> {
65 using Request = RequestType;
74 template <typename T, typename RequestType, typename ResponseType>
76 ServerContext&, const RequestType&, ResponseType&)>
78 ServerContext&, const RequestType&, ResponseType&)> {
83 template <typename RequestType, typename ResponseType>
85 ServerContext&, const RequestType&, ServerWriter<ResponseType>&)> {
87 using Request = RequestType;
96 template <typename T, typename RequestType, typename ResponseType>
[all …]
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java78 private enum RequestType { enum in TracezZPageHandler
86 RequestType(int value) { in RequestType() method in TracezZPageHandler.RequestType
90 static RequestType fromString(String str) { in fromString()
215 RequestType type = RequestType.fromString(typeStr); in emitHtmlBody()
216 if (type == RequestType.UNKNOWN) { in emitHtmlBody()
219 if (type == RequestType.RUNNING) { in emitHtmlBody()
230 if (type == RequestType.FAILED) { in emitHtmlBody()
270 Formatter formatter, String spanName, int returnedNum, RequestType type) { in emitSpanNameAndCountPages()
274 type == RequestType.RUNNING in emitSpanNameAndCountPages()
276 : type == RequestType.FINISHED ? "Finished" : "Failed", in emitSpanNameAndCountPages()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dbinding_set.h29 using RequestType = InterfaceRequest<Interface>;
33 static RequestType MakeRequest(ProxyType* proxy) {
71 using RequestType = typename Traits::RequestType;
98 BindingId AddBinding(ImplPointerType impl, RequestType request) {
106 RequestType request,
216 RequestType request,
279 RequestType request,
/external/rust/crates/nix/src/sys/ptrace/
Dlinux.rs25 pub type RequestType = ::libc::c_uint;
28 pub type RequestType = ::libc::c_int;
180 libc::ptrace(request as RequestType, libc::pid_t::from(pid), addr, data) in ptrace_peek()
208 libc::ptrace(Request::PTRACE_SETREGS as RequestType, in setregs()
223 libc::ptrace(request as RequestType, in ptrace_get_data()
233 … Errno::result(libc::ptrace(request as RequestType, libc::pid_t::from(pid), addr, data)).map(|_| 0) in ptrace_other()
239 libc::ptrace(Request::PTRACE_SETOPTIONS as RequestType, in setoptions()
261 libc::ptrace(Request::PTRACE_SETSIGINFO as RequestType, in setsiginfo()

12