Lines Matching refs:tmpl
123 Local<FunctionTemplate> tmpl = env->libuv_stream_wrap_ctor_template(); in GetConstructorTemplate() local
124 if (tmpl.IsEmpty()) { in GetConstructorTemplate()
125 tmpl = env->NewFunctionTemplate(nullptr); in GetConstructorTemplate()
126 tmpl->SetClassName( in GetConstructorTemplate()
128 tmpl->Inherit(HandleWrap::GetConstructorTemplate(env)); in GetConstructorTemplate()
129 tmpl->InstanceTemplate()->SetInternalFieldCount( in GetConstructorTemplate()
135 Signature::New(env->isolate(), tmpl)); in GetConstructorTemplate()
136 tmpl->PrototypeTemplate()->SetAccessorProperty( in GetConstructorTemplate()
141 env->SetProtoMethod(tmpl, "setBlocking", SetBlocking); in GetConstructorTemplate()
142 StreamBase::AddMethods(env, tmpl); in GetConstructorTemplate()
143 env->set_libuv_stream_wrap_ctor_template(tmpl); in GetConstructorTemplate()
145 return tmpl; in GetConstructorTemplate()