Lines Matching refs:env
26 napi_env env,
34 InitSendablePropertiesInfo(env, infos.staticPropertiesInfo, properties[i]);
36 InitSendablePropertiesInfo(env, infos.instancePropertiesInfo, properties[i]);
38 InitSendablePropertiesInfo(env, infos.instancePropertiesInfo, properties[i],
41 InitSendablePropertiesInfo(env, infos.instancePropertiesInfo, properties[i],
44 InitSendablePropertiesInfo(env, infos.nonStaticPropertiesInfo, properties[i]);
51 void NativeSendable::InitSendablePropertiesInfo(napi_env env,
56 auto engine = reinterpret_cast<NativeEngine*>(env);
77 NapiNativeCreateSendableFunction(env, "getter", propertyDescriptor.getter, propertyDescriptor.data);
81 NapiNativeCreateSendableFunction(env, "setter", propertyDescriptor.setter, propertyDescriptor.data);
97 NapiNativeCreateSendableFunction(env, fullName.c_str(), propertyDescriptor.method, propertyDescriptor.data);
107 Local<JSValueRef> NativeSendable::NapiNativeCreateSendableFunction(napi_env env,
112 auto engine = reinterpret_cast<NativeEngine*>(env);
124 [](void* env, void* externalPointer, void* data) {
134 void NativeSendable::NapiDefineSendabledProperty(napi_env env,
140 auto engine = reinterpret_cast<NativeEngine*>(env);
152 NapiNativeCreateSendableFunction(env, "getter", propertyDescriptor.getter, propertyDescriptor.data);
156 NapiNativeCreateSendableFunction(env, "setter", propertyDescriptor.setter, propertyDescriptor.data);
172 NapiNativeCreateSendableFunction(env, fullName.c_str(), propertyDescriptor.method, propertyDescriptor.data);