Lines Matching refs:tmpl
157 Local<FunctionTemplate> tmpl = env->handle_wrap_ctor_template(); in GetConstructorTemplate() local
158 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
159 tmpl = env->NewFunctionTemplate(nullptr); in GetConstructorTemplate()
160 tmpl->SetClassName(FIXED_ONE_BYTE_STRING(env->isolate(), "HandleWrap")); in GetConstructorTemplate()
161 tmpl->Inherit(AsyncWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
162 env->SetProtoMethod(tmpl, "close", HandleWrap::Close); in GetConstructorTemplate()
163 env->SetProtoMethodNoSideEffect(tmpl, "hasRef", HandleWrap::HasRef); in GetConstructorTemplate()
164 env->SetProtoMethod(tmpl, "ref", HandleWrap::Ref); in GetConstructorTemplate()
165 env->SetProtoMethod(tmpl, "unref", HandleWrap::Unref); in GetConstructorTemplate()
166 env->set_handle_wrap_ctor_template(tmpl); in GetConstructorTemplate()
168 return tmpl; in GetConstructorTemplate()