Home
last modified time | relevance | path

Searched refs:HandleWrap (Results 1 – 25 of 29) sorted by relevance

12

/third_party/node/src/
Dhandle_wrap.cc38 void HandleWrap::Ref(const FunctionCallbackInfo<Value>& args) { in Ref()
39 HandleWrap* wrap; in Ref()
47 void HandleWrap::Unref(const FunctionCallbackInfo<Value>& args) { in Unref()
48 HandleWrap* wrap; in Unref()
56 void HandleWrap::HasRef(const FunctionCallbackInfo<Value>& args) { in HasRef()
57 HandleWrap* wrap; in HasRef()
63 void HandleWrap::Close(const FunctionCallbackInfo<Value>& args) { in Close()
64 HandleWrap* wrap; in Close()
70 void HandleWrap::Close(Local<Value> close_callback) { in Close()
86 void HandleWrap::OnGCCollect() { in OnGCCollect()
[all …]
Dhandle_wrap.h56 class HandleWrap : public AsyncWrap {
63 static inline bool IsAlive(const HandleWrap* wrap) { in IsAlive()
69 static inline bool HasRef(const HandleWrap* wrap) { in HasRef()
82 HandleWrap(Environment* env,
108 ListNode<HandleWrap> handle_wrap_queue_;
Dnode_postmortem_metadata.cc26 V(HandleWrap, handle_wrap_queue_, ListNode_HandleWrap, \
27 HandleWrap::handle_wrap_queue_) \
30 V(ListNode_HandleWrap, prev_, uintptr_t, ListNode<HandleWrap>::prev_) \
31 V(ListNode_HandleWrap, next_, uintptr_t, ListNode<HandleWrap>::next_) \
Dsignal_wrap.cc47 class SignalWrap : public HandleWrap {
57 constructor->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
80 : HandleWrap(env, in SignalWrap()
93 HandleWrap::Close(close_callback); in Close()
Dstream_wrap.cc111 : HandleWrap(env, in LibuvStreamWrap()
128 tmpl->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
169 return HandleWrap::IsAlive(this); in IsAlive()
224 HandleWrap* wrap = Unwrap<HandleWrap>(wrap_obj); in AcceptHandle()
Dfs_event_wrap.cc49 class FSEventWrap: public HandleWrap {
78 : HandleWrap(env, in FSEventWrap()
102 t->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
Dnode_stat_watcher.cc51 t->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
62 : HandleWrap(binding_data->env(), in StatWatcher()
Dnode_stat_watcher.h39 class StatWatcher : public HandleWrap {
Dudp_wrap.h82 kUDPWrapBaseField = HandleWrap::kInternalFieldCount,
118 class UDPWrap final : public HandleWrap,
Dprocess_wrap.cc47 class ProcessWrap : public HandleWrap {
58 constructor->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
81 : HandleWrap(env, in ProcessWrap()
Dnode_watchdog.cc127 constructor->Inherit(HandleWrap::GetConstructorTemplate(env)); in Init()
162 : HandleWrap(env, in TraceSigintWatchdog()
Dstream_wrap.h35 class LibuvStreamWrap : public HandleWrap, public StreamBase {
Dnode_watchdog.h84 class TraceSigintWatchdog : public HandleWrap, public SigintWatchdogBase {
Dhistogram.cc225 tmpl->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
251 : HandleWrap( in IntervalHistogram()
Dhistogram.h150 class IntervalHistogram : public HandleWrap, public HistogramImpl {
DREADME.md672 In Node.js, handles are often managed through a [`HandleWrap`][] subclass.
697 [`ReqWrap`][] and [`HandleWrap`][] instances, cleanup of the associated libuv
703 If a libuv handle is not managed through a [`HandleWrap`][] instance,
797 loop, as is the case for the [`HandleWrap`][] and [`ReqWrap`][] classes.
879 ### `HandleWrap`
881 `HandleWrap` is a subclass of `AsyncWrap` specifically designed to make working
886 `HandleWrap` instances are [cleaned up][cleanup hooks] automatically when the
889 `HandleWrap` also provides facilities for diagnostic tooling to get an
1015 [`HandleWrap`]: #handlewrap
Dnode_messaging.cc581 : HandleWrap(env, in MessagePort()
634 HandleWrap::Close(close_callback); in Close()
636 HandleWrap::Close(close_callback); in Close()
1095 m->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetMessagePortConstructorTemplate()
Dnode_messaging.h161 class MessagePort : public HandleWrap {
Dstream_base.cc198 HandleWrap* wrap; in WriteBuffer()
300 HandleWrap* wrap; in WriteString()
Dudp_wrap.cc113 : HandleWrap(env, in UDPWrap()
179 t->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
Dnode_process_methods.cc294 if (!HandleWrap::HasRef(w)) in GetActiveHandles()
Denv.h1183 typedef ListHead<HandleWrap, &HandleWrap::handle_wrap_queue_> HandleWrapQueue;
Denv.cc611 for (HandleWrap* handle : handle_wrap_queue_) in CleanupHandles()
/third_party/node/test/cctest/
Dtest_node_postmortem_metadata.cc38 class TestHandleWrap : public node::HandleWrap {
47 : node::HandleWrap(env, in SET_MEMORY_INFO_NAME()
/third_party/node/doc/guides/
Dcpp-style-guide.md133 HandleWrap::HandleWrap(Environment* env,

12