Home
last modified time | relevance | path

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

123

/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dmethod_handler.h79 template <class RequestType>
81 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>
44 void* UnaryDeserializeHelper(grpc_byte_buffer*, ::grpc::Status*, RequestType*);
45 template <class ServiceType, class RequestType, class ResponseType>
165 template <class RequestType>
167 ::grpc::Status*, RequestType*);
168 template <class ServiceType, class RequestType, class ResponseType>
170 template <class RequestType, class ResponseType>
172 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>
374 template <class ServiceType, class RequestType, class ResponseType,
377 template <class ServiceType, class RequestType, class ResponseType>
[all …]
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dmethod_handler.h79 template <class RequestType>
81 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>
44 void* UnaryDeserializeHelper(grpc_byte_buffer*, ::grpc::Status*, RequestType*);
45 template <class ServiceType, class RequestType, class ResponseType>
165 template <class RequestType>
167 ::grpc::Status*, RequestType*);
168 template <class ServiceType, class RequestType, class ResponseType>
170 template <class RequestType, class ResponseType>
172 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>
374 template <class ServiceType, class RequestType, class ResponseType,
377 template <class ServiceType, class RequestType, class ResponseType>
[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>
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/spm-cpp-include/grpcpp/generic/
Dgeneric_stub.h44 template <class RequestType, class ResponseType>
54 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>>
67 const RequestType& request, ::grpc::CompletionQueue* cq) { in PrepareUnaryCall()
83 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>> Call( in Call()
94 const RequestType* request, ResponseType* response, in UnaryCall()
105 const RequestType* request, ResponseType* response, in PrepareUnaryCall()
116 ClientBidiReactor<RequestType, ResponseType>* reactor) { in PrepareBidiStreamingCall() argument
131 StubOptions options, const RequestType* request, in UnaryCall()
143 StubOptions options, const RequestType* request, in PrepareUnaryCall()
154 ClientBidiReactor<RequestType, ResponseType>* reactor) { in PrepareBidiStreamingCall() argument
[all …]
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/generic/
Dgeneric_stub.h44 template <class RequestType, class ResponseType>
54 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>>
67 const RequestType& request, ::grpc::CompletionQueue* cq) { in PrepareUnaryCall()
83 std::unique_ptr<ClientAsyncReaderWriter<RequestType, ResponseType>> Call( in Call()
94 const RequestType* request, ResponseType* response, in UnaryCall()
105 const RequestType* request, ResponseType* response, in PrepareUnaryCall()
116 ClientBidiReactor<RequestType, ResponseType>* reactor) { in PrepareBidiStreamingCall() argument
131 StubOptions options, const RequestType* request, in UnaryCall()
143 StubOptions options, const RequestType* request, in PrepareUnaryCall()
154 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/cronet/net/base/
Disolation_info_unittest.cc97 IsolationInfo::RequestType::kMainFrame, kOrigin1, kOrigin2, in TEST_P()
117 IsolationInfo::RequestType::kMainFrame, kOrigin1, kOrigin2, in TEST_P()
124 IsolationInfo::RequestType::kMainFrame, kOrigin1, kOrigin1, in TEST_P()
152 IsolationInfo::RequestType::kMainFrame, opaque, opaque, in TEST_P()
169 IsolationInfo::RequestType::kMainFrame, kOrigin1, kOrigin1, in TEST_P()
171 EXPECT_EQ(IsolationInfo::RequestType::kMainFrame, in TEST_P()
197 EXPECT_EQ(IsolationInfo::RequestType::kMainFrame, in TEST_P()
225 IsolationInfo::RequestType::kSubFrame, kOrigin1, kOrigin2, in TEST_P()
227 EXPECT_EQ(IsolationInfo::RequestType::kSubFrame, in TEST_P()
252 EXPECT_EQ(IsolationInfo::RequestType::kSubFrame, in TEST_P()
[all …]
Disolation_info.cc47 bool IsConsistent(IsolationInfo::RequestType request_type, in IsConsistent()
55 return request_type == IsolationInfo::RequestType::kOther && in IsConsistent()
72 case IsolationInfo::RequestType::kMainFrame: in IsConsistent()
83 case IsolationInfo::RequestType::kSubFrame: in IsConsistent()
88 case IsolationInfo::RequestType::kOther: in IsConsistent()
99 : IsolationInfo(RequestType::kOther, in IsolationInfo()
114 return IsolationInfo(RequestType::kOther, top_frame_origin, top_frame_origin, in CreateForInternalRequest()
122 return IsolationInfo(RequestType::kOther, opaque_origin, opaque_origin, in CreateTransient()
150 static_cast<RequestType>(proto.request_type()), in Deserialize()
157 RequestType request_type, in Create()
[all …]
Disolation_info.h57 enum class RequestType { enum
117 RequestType request_type,
136 RequestType request_type,
155 RequestType request_type() const { return request_type_; } in request_type()
214 IsolationInfo(RequestType request_type,
221 RequestType request_type_;
/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/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/cronet/net/url_request/
Durl_request_netlog_params.cc46 case IsolationInfo::RequestType::kMainFrame: in NetLogURLRequestStartParams()
49 case IsolationInfo::RequestType::kSubFrame: in NetLogURLRequestStartParams()
52 case IsolationInfo::RequestType::kOther: in NetLogURLRequestStartParams()
/external/rust/crates/nix/src/sys/ptrace/
Dlinux.rs30 pub type RequestType = ::libc::c_uint;
33 pub type RequestType = ::libc::c_int;
193 libc::ptrace(request as RequestType, libc::pid_t::from(pid), addr, data) in ptrace_peek()
230 Request::PTRACE_SETREGS as RequestType, in setregs()
247 request as RequestType, in ptrace_get_data()
264 request as RequestType, in ptrace_other()
276 Request::PTRACE_SETOPTIONS as RequestType, in setoptions()
300 Request::PTRACE_SETSIGINFO as RequestType, in setsiginfo()

123