Lines Matching refs:tmpl
138 Local<FunctionTemplate> tmpl = env->libuv_stream_wrap_ctor_template();
139 if (tmpl.IsEmpty()) {
141 tmpl = NewFunctionTemplate(isolate, nullptr);
142 tmpl->SetClassName(FIXED_ONE_BYTE_STRING(isolate, "LibuvStreamWrap"));
143 tmpl->Inherit(HandleWrap::GetConstructorTemplate(env));
144 tmpl->InstanceTemplate()->SetInternalFieldCount(
150 Signature::New(isolate, tmpl));
151 tmpl->PrototypeTemplate()->SetAccessorProperty(
156 SetProtoMethod(isolate, tmpl, "setBlocking", SetBlocking);
157 StreamBase::AddMethods(env, tmpl);
158 env->set_libuv_stream_wrap_ctor_template(tmpl);
160 return tmpl;