Home
last modified time | relevance | path

Searched refs:ReqWrap (Results 1 - 17 of 17) sorted by relevance

/third_party/node/src/
H A Dreq_wrap-inl.h18 ReqWrap<T>::ReqWrap(Environment* env, in ReqWrap() function in node::ReqWrap
28 ReqWrap<T>::~ReqWrap() {} in ~ReqWrap()
31 void ReqWrap<T>::Dispatched() { in Dispatched()
36 void ReqWrap<T>::Reset() { in Reset()
42 ReqWrap<T>* ReqWrap<T>::from_req(T* req) { in from_req()
43 return ContainerOf(&ReqWrap<T>::req_, req); in from_req()
47 void ReqWrap<
[all...]
H A Dreq_wrap.h31 class ReqWrap : public AsyncWrap, public ReqWrapBase { class
33 inline ReqWrap(Environment* env,
36 inline ~ReqWrap() override;
46 static ReqWrap* from_req(T* req);
63 // ReqWrap. ContainerOf compiles down to simple, fixed pointer arithmetic. It
65 // generate debug symbols for ReqWrap, which assumes that the position of
H A Dudp_wrap.h59 virtual ReqWrap<uv_udp_send_t>* CreateSendWrap(size_t msg_size) = 0;
64 virtual void OnSendDone(ReqWrap<uv_udp_send_t>* wrap, int status) = 0;
158 ReqWrap<uv_udp_send_t>* CreateSendWrap(size_t msg_size) override;
159 void OnSendDone(ReqWrap<uv_udp_send_t>* wrap, int status) override;
H A Dnode_file.h107 class FSReqBase : public ReqWrap<uv_fs_t> {
149 return static_cast<FSReqBase*>(ReqWrap::from_req(req)); in from_req()
271 class FileHandleReadWrap final : public ReqWrap<uv_fs_t> {
277 return static_cast<FileHandleReadWrap*>(ReqWrap::from_req(req)); in from_req()
372 class CloseReq final : public ReqWrap<uv_fs_t> {
392 return static_cast<CloseReq*>(ReqWrap::from_req(req)); in from_req()
H A Dnode_postmortem_metadata.cc59 OffsetOf<ListNode<ReqWrapBase>, ReqWrap<uv_req_t>>( in GenDebugSymbols()
60 &ReqWrap<uv_req_t>::req_wrap_queue_); in GenDebugSymbols()
H A Dconnect_wrap.cc13 AsyncWrap::ProviderType provider) : ReqWrap(env, req_wrap_obj, provider) { in ConnectWrap()
H A Dconnect_wrap.h11 class ConnectWrap : public ReqWrap<uv_connect_t> {
H A Dudp_wrap.cc74 class SendWrap : public ReqWrap<uv_udp_send_t> {
92 : ReqWrap(env, req_wrap_obj, AsyncWrap::PROVIDER_UDPSENDWRAP), in SendWrap()
592 ReqWrap<uv_udp_send_t>* req_wrap = listener()->CreateSendWrap(msg_size); in Send()
604 ReqWrap<uv_udp_send_t>::from_req(req), status); in Send()
614 ReqWrap<uv_udp_send_t>* UDPWrap::CreateSendWrap(size_t msg_size) { in CreateSendWrap()
671 void UDPWrap::OnSendDone(ReqWrap<uv_udp_send_t>* req, int status) { in OnSendDone()
H A Dstream_wrap.cc324 typedef SimpleShutdownWrap<ReqWrap<uv_shutdown_t>> LibuvShutdownWrap;
325 typedef SimpleWriteWrap<ReqWrap<uv_write_t>> LibuvWriteWrap;
H A Dcares_wrap.h194 class GetAddrInfoReqWrap final : public ReqWrap<uv_getaddrinfo_t> {
210 class GetNameInfoReqWrap final : public ReqWrap<uv_getnameinfo_t> {
H A Djs_udp_wrap.cc183 ReqWrap<uv_udp_send_t>* req_wrap; in OnSendDone()
H A Dnode_file-inl.h46 : ReqWrap(binding_data->env(), req, type), in FSReqBase()
H A Dnode_file.cc213 // This is helpful, because ReqWrap::Dispatch() does not recognize lambda
412 : ReqWrap(env, obj, AsyncWrap::PROVIDER_FILEHANDLECLOSEREQ) { in CloseReq()
524 : ReqWrap(handle->env(), obj, AsyncWrap::PROVIDER_FSREQCALLBACK), in FileHandleReadWrap()
650 typedef SimpleShutdownWrap<ReqWrap<uv_fs_t>> FileHandleCloseWrap;
H A Dcares_wrap.cc672 : ReqWrap(env, req_wrap_obj, AsyncWrap::PROVIDER_GETADDRINFOREQWRAP), in GetAddrInfoReqWrap()
678 : ReqWrap(env, req_wrap_obj, AsyncWrap::PROVIDER_GETNAMEINFOREQWRAP) {} in GetNameInfoReqWrap()
/third_party/node/test/cctest/
H A Dtest_node_postmortem_metadata.cc54 class TestReqWrap : public node::ReqWrap<uv_req_t> {
61 : node::ReqWrap<uv_req_t>(env, in TestReqWrap()
/third_party/node/src/quic/
H A Dpacket.cc93 tmpl->Inherit(ReqWrap<uv_udp_send_t>::GetConstructorTemplate(env)); in GetConstructorTemplate()
164 : ReqWrap<uv_udp_send_t>(env, object, AsyncWrap::PROVIDER_QUIC_PACKET), in Packet()
194 auto ptr = static_cast<Packet*>(ReqWrap<uv_udp_send_t>::from_req(req)); in Send()
H A Dpacket.h47 class Packet final : public ReqWrap<uv_udp_send_t> {

Completed in 19 milliseconds