Home
last modified time | relevance | path

Searched refs:HandleWrap (Results 1 - 23 of 23) sorted by relevance

/third_party/node/src/
H A Dhandle_wrap.cc40 void HandleWrap::Ref(const FunctionCallbackInfo<Value>& args) { in Ref()
41 HandleWrap* wrap; in Ref()
49 void HandleWrap::Unref(const FunctionCallbackInfo<Value>& args) { in Unref()
50 HandleWrap* wrap; in Unref()
58 void HandleWrap::HasRef(const FunctionCallbackInfo<Value>& args) { in HasRef()
59 HandleWrap* wrap; in HasRef()
65 void HandleWrap::Close(const FunctionCallbackInfo<Value>& args) { in Close()
66 HandleWrap* wrap; in Close()
72 void HandleWrap::Close(Local<Value> close_callback) { in Close()
88 void HandleWrap
121 HandleWrap::HandleWrap(Environment* env, HandleWrap() function in node::HandleWrap
[all...]
H A Dhandle_wrap.h57 class HandleWrap : public AsyncWrap { class
64 static inline bool IsAlive(const HandleWrap* wrap) { in IsAlive()
70 static inline bool HasRef(const HandleWrap* wrap) { in HasRef()
84 HandleWrap(Environment* env,
108 // offsets and generate debug symbols for HandleWrap, which assumes that the
112 ListNode<HandleWrap> handle_wrap_queue_;
H A 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_) \
H A Dsignal_wrap.cc49 class SignalWrap : public HandleWrap {
60 constructor->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
89 : HandleWrap(env, in SignalWrap()
102 HandleWrap::Close(close_callback);
H A Dfs_event_wrap.cc50 class FSEventWrap: public HandleWrap {
80 : HandleWrap(env, in FSEventWrap()
105 t->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
H A Dstream_wrap.cc126 : HandleWrap(env, in LibuvStreamWrap()
143 tmpl->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
184 return HandleWrap::IsAlive(this); in IsAlive()
243 HandleWrap* wrap = Unwrap<HandleWrap>(wrap_obj); in AcceptHandle()
H A Dnode_stat_watcher.cc53 t->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
69 : HandleWrap(binding_data->env(), in StatWatcher()
H A Dudp_wrap.h79 // While UDPWrapBase itself does not extend from HandleWrap, classes
82 kUDPWrapBaseField = HandleWrap::kInternalFieldCount,
118 class UDPWrap final : public HandleWrap,
H A Dnode_stat_watcher.h40 class StatWatcher : public HandleWrap {
H A Dprocess_wrap.cc49 class ProcessWrap : public HandleWrap {
61 constructor->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
84 : HandleWrap(env, in ProcessWrap()
H A Dnode_watchdog.cc130 constructor->Inherit(HandleWrap::GetConstructorTemplate(env)); in Init()
168 : HandleWrap(env, in TraceSigintWatchdog()
H A Dnode_watchdog.h84 class TraceSigintWatchdog : public HandleWrap, public SigintWatchdogBase {
H A Dstream_wrap.h36 class LibuvStreamWrap : public HandleWrap, public StreamBase {
H A Dnode_process_methods.cc268 // Non-static, friend of HandleWrap. Could have been a HandleWrap method but
275 if (!HandleWrap::HasRef(w)) in GetActiveHandles()
296 for (HandleWrap* w : *env->handle_wrap_queue()) { in GetActiveResourcesInfo()
297 if (w->persistent().IsEmpty() || !HandleWrap::HasRef(w)) continue; in GetActiveResourcesInfo()
H A Dhistogram.h166 class IntervalHistogram : public HandleWrap, public HistogramImpl {
H A Dhistogram.cc372 tmpl->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
429 : HandleWrap( in IntervalHistogram()
H A Dstream_base.cc316 HandleWrap* wrap; in WriteBuffer()
423 HandleWrap* wrap; in WriteString()
H A Dudp_wrap.cc137 : HandleWrap(env, in UDPWrap()
213 t->Inherit(HandleWrap::GetConstructorTemplate(env)); in Initialize()
H A Dnode_messaging.cc612 : HandleWrap(env, in MessagePort()
665 HandleWrap::Close(close_callback); in Close()
667 HandleWrap::Close(close_callback); in Close()
1147 m->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetMessagePortConstructorTemplate()
H A Dnode_messaging.h221 class MessagePort : public HandleWrap {
H A Denv.h827 typedef ListHead<HandleWrap, &HandleWrap::handle_wrap_queue_> HandleWrapQueue;
H A Denv.cc970 for (HandleWrap* handle : handle_wrap_queue_) in CleanupHandles()
/third_party/node/test/cctest/
H A Dtest_node_postmortem_metadata.cc38 class TestHandleWrap : public node::HandleWrap {
47 : node::HandleWrap(env, in TestHandleWrap()
167 obj.persistent().Reset(); // ~HandleWrap() expects an empty handle. in TEST_F()

Completed in 18 milliseconds