Lines Matching refs:wrap
106 SignalWrap* wrap; in Start() local
107 ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder()); in Start()
108 Environment* env = wrap->env(); in Start()
122 &wrap->handle_, in Start()
124 SignalWrap* wrap = ContainerOf(&SignalWrap::handle_, handle); in Start() local
125 Environment* env = wrap->env(); in Start()
129 wrap->MakeCallback(env->onsignal_string(), 1, &arg); in Start()
134 CHECK(!wrap->active_); in Start()
135 wrap->active_ = true; in Start()
144 SignalWrap* wrap; in Stop() local
145 ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder()); in Stop()
147 if (wrap->active_) { in Stop()
148 wrap->active_ = false; in Stop()
149 DecreaseSignalHandlerCount(wrap->handle_.signum); in Stop()
152 int err = uv_signal_stop(&wrap->handle_); in Stop()