Home
last modified time | relevance | path

Searched refs:ctor (Results 1 – 3 of 3) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dnxt_napi.h153 define_class(const char *name, napi_callback ctor, size_t prop_count, in define_class()
159 status = napi_define_class(env_, name, NAPI_AUTO_LENGTH, ctor, nullptr, in define_class()
505 new_instance(napi_value ctor) in new_instance()
510 status = napi_new_instance(env_, ctor, 0, NULL, &res); in new_instance()
520 new_instance(napi_value ctor, napi_value param) in new_instance()
525 status = napi_new_instance(env_, ctor, 1, &param, &res); in new_instance()
535 new_instance(napi_value ctor, napi_value param1, napi_value param2) in new_instance()
541 status = napi_new_instance(env_, ctor, 2, param, &res); in new_instance()
H A Dunit.cpp171 napi_value ctor; in init() local
179 ctor = napi.define_class("Unit", create, 2, unit_props); in init()
180 constructor_ = napi.create_reference(ctor); in init()
182 napi.set_named_property(exports, "Unit", ctor); in init()
217 napi_value target, ctor, instance, jsthis; in create() local
233 ctor = napi.get_reference_value(constructor_); in create()
234 instance = napi.new_instance(ctor); in create()
/unit/src/java/nginx/unit/
H A DContext.java1740 Constructor<?> ctor = cls.getConstructor();
1741 EventListener listener = (EventListener) ctor.newInstance();
1991 servlet_ = (Servlet) ctor.newInstance();
2396 filter_ = (Filter) ctor.newInstance();
3232 Constructor<T> ctor = c.getConstructor();
3233 T filter = ctor.newInstance();
3250 Constructor<T> ctor = c.getConstructor();
3251 T servlet = ctor.newInstance();
3427 Constructor<?> ctor = cls.getConstructor();
3428 EventListener listener = (EventListener) ctor.newInstance();
[all …]