Lines Matching refs:wrap
97 SignalWrap* wrap; in Start() local
98 ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder()); in Start()
99 Environment* env = wrap->env(); in Start()
113 &wrap->handle_, in Start()
115 SignalWrap* wrap = ContainerOf(&SignalWrap::handle_, handle); in Start() local
116 Environment* env = wrap->env(); in Start()
120 wrap->MakeCallback(env->onsignal_string(), 1, &arg); in Start()
125 CHECK(!wrap->active_); in Start()
126 wrap->active_ = true; in Start()
135 SignalWrap* wrap; in Stop() local
136 ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder()); in Stop()
138 if (wrap->active_) { in Stop()
139 wrap->active_ = false; in Stop()
140 DecreaseSignalHandlerCount(wrap->handle_.signum); in Stop()
143 int err = uv_signal_stop(&wrap->handle_); in Stop()