Searched refs:napi_define_class (Results 1 – 12 of 12) sorted by relevance
/third_party/node/test/js-native-api/test_constructor/ |
D | test_constructor.c | 24 status = napi_define_class(NULL, in TestDefineClass() 40 napi_define_class(env, in TestDefineClass() 51 napi_define_class(env, in TestDefineClass() 62 napi_define_class(env, in TestDefineClass() 73 napi_define_class(env, in TestDefineClass() 85 napi_define_class(env, in TestDefineClass() 165 NAPI_CALL(env, napi_define_class( in Init() 191 NAPI_CALL(env, napi_define_class(env, "MyObject", NAPI_AUTO_LENGTH, New, in Init()
|
/third_party/node/test/node-api/test_env_teardown_gc/ |
D | binding.c | 33 env, napi_define_class( in NAPI_MODULE_INIT()
|
/third_party/node/test/js-native-api/test_reference_double_free/ |
D | test_reference_double_free.c | 49 napi_define_class( in Init()
|
/third_party/node/test/js-native-api/8_passing_wrapped/ |
D | myobject.cc | 25 status = napi_define_class( in Init()
|
/third_party/node/test/js-native-api/7_factory_wrap/ |
D | myobject.cc | 33 status = napi_define_class( in Init()
|
/third_party/node/test/js-native-api/6_object_wrap/ |
D | 6_object_wrap.cc | 27 NAPI_CALL_RETURN_VOID(env, napi_define_class( in Init()
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | js_native_api.h | 279 napi_define_class(napi_env env,
|
D | ejdb2_node.c | 2067 JNGO(ns, env, napi_define_class(env, "EJDB2Impl", NAPI_AUTO_LENGTH, jn_ejdb2impl_ctor, 0, in Init()
|
/third_party/node/src/ |
D | js_native_api.h | 279 napi_define_class(napi_env env,
|
D | js_native_api_v8.cc | 803 napi_status napi_define_class(napi_env env, in napi_define_class() function
|
/third_party/node/doc/api/ |
D | n-api.md | 1854 napi_define_class(env, "MyObject", New, NULL, 3, properties, &cons); 3807 // Used with napi_define_class to distinguish static properties 3835 [`napi_define_class`][]. It is ignored by `napi_define_properties`. 4585 1. The [`napi_define_class`][] API defines a JavaScript class with constructor, 4754 ### napi_define_class subsection 4761 napi_status napi_define_class(napi_env env, 4813 The JavaScript constructor function returned from [`napi_define_class`][] is 4859 `napi_define_class()`, the `napi_callback` for the constructor is invoked. 6084 [`napi_define_class`]: #n_api_napi_define_class
|
/third_party/mindspore/patches/ |
D | 0008-add-js-api.patch | 1197 + napi_status status = napi_define_class(env, CLASS_NAME.c_str(), NAPI_AUTO_LENGTH, Constructor, n… 2291 + napi_status status = napi_define_class(env, CLASS_NAME.c_str(), NAPI_AUTO_LENGTH, Constructor, n…
|