Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 2784) sorted by relevance

12345678910>>...112

/third_party/node/test/js-native-api/test_object/
Dtest_object.c8 static napi_value Get(napi_env env, napi_callback_info info) { in Get() argument
11 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in Get()
13 NAPI_ASSERT(env, argc >= 2, "Wrong number of arguments"); in Get()
16 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Get()
18 NAPI_ASSERT(env, valuetype0 == napi_object, in Get()
22 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in Get()
24 NAPI_ASSERT(env, valuetype1 == napi_string || valuetype1 == napi_symbol, in Get()
29 NAPI_CALL(env, napi_get_property(env, object, args[1], &output)); in Get()
34 static napi_value GetNamed(napi_env env, napi_callback_info info) { in GetNamed() argument
39 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in GetNamed()
[all …]
Dtest_null.c6 static napi_value SetProperty(napi_env env, napi_callback_info info) { in SetProperty() argument
9 NAPI_CALL(env, napi_create_object(env, &return_value)); in SetProperty()
10 NAPI_CALL(env, napi_create_object(env, &object)); in SetProperty()
11 NAPI_CALL(env, in SetProperty()
12 napi_create_string_utf8(env, "someString", NAPI_AUTO_LENGTH, &key)); in SetProperty()
14 add_returned_status(env, in SetProperty()
21 napi_set_property(env, NULL, key, object); in SetProperty()
22 add_last_status(env, "objectIsNull", return_value); in SetProperty()
24 napi_set_property(env, object, NULL, object); in SetProperty()
25 add_last_status(env, "keyIsNull", return_value); in SetProperty()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-cs-common.hh228 static void rmoveto (ENV &env, PARAM& param) {} in rmoveto()
229 static void hmoveto (ENV &env, PARAM& param) {} in hmoveto()
230 static void vmoveto (ENV &env, PARAM& param) {} in vmoveto()
231 static void rlineto (ENV &env, PARAM& param) {} in rlineto()
232 static void hlineto (ENV &env, PARAM& param) {} in hlineto()
233 static void vlineto (ENV &env, PARAM& param) {} in vlineto()
234 static void rrcurveto (ENV &env, PARAM& param) {} in rrcurveto()
235 static void rcurveline (ENV &env, PARAM& param) {} in rcurveline()
236 static void rlinecurve (ENV &env, PARAM& param) {} in rlinecurve()
237 static void vvcurveto (ENV &env, PARAM& param) {} in vvcurveto()
[all …]
/third_party/harfbuzz/src/
Dhb-cff-interp-cs-common.hh228 static void rmoveto (ENV &env, PARAM& param) {} in rmoveto()
229 static void hmoveto (ENV &env, PARAM& param) {} in hmoveto()
230 static void vmoveto (ENV &env, PARAM& param) {} in vmoveto()
231 static void rlineto (ENV &env, PARAM& param) {} in rlineto()
232 static void hlineto (ENV &env, PARAM& param) {} in hlineto()
233 static void vlineto (ENV &env, PARAM& param) {} in vlineto()
234 static void rrcurveto (ENV &env, PARAM& param) {} in rrcurveto()
235 static void rcurveline (ENV &env, PARAM& param) {} in rcurveline()
236 static void rlinecurve (ENV &env, PARAM& param) {} in rlinecurve()
237 static void vvcurveto (ENV &env, PARAM& param) {} in vvcurveto()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-cs-common.hh228 static void rmoveto (ENV &env, PARAM& param) {} in rmoveto()
229 static void hmoveto (ENV &env, PARAM& param) {} in hmoveto()
230 static void vmoveto (ENV &env, PARAM& param) {} in vmoveto()
231 static void rlineto (ENV &env, PARAM& param) {} in rlineto()
232 static void hlineto (ENV &env, PARAM& param) {} in hlineto()
233 static void vlineto (ENV &env, PARAM& param) {} in vlineto()
234 static void rrcurveto (ENV &env, PARAM& param) {} in rrcurveto()
235 static void rcurveline (ENV &env, PARAM& param) {} in rcurveline()
236 static void rlinecurve (ENV &env, PARAM& param) {} in rlinecurve()
237 static void vvcurveto (ENV &env, PARAM& param) {} in vvcurveto()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstjniutils.c49 JNIEnv *env; in gst_amc_jni_get_android_level() local
53 env = gst_amc_jni_get_env (); in gst_amc_jni_get_android_level()
55 jclass versionClass = (*env)->FindClass (env, "android/os/Build$VERSION"); in gst_amc_jni_get_android_level()
59 sdkIntFieldID = (*env)->GetStaticFieldID (env, versionClass, "SDK_INT", "I"); in gst_amc_jni_get_android_level()
63 ret = (*env)->GetStaticIntField (env, versionClass, sdkIntFieldID); in gst_amc_jni_get_android_level()
69 gst_amc_jni_get_class (JNIEnv * env, GError ** err, const gchar * name) in gst_amc_jni_get_class() argument
75 tmp = (*env)->FindClass (env, name); in gst_amc_jni_get_class()
76 if ((*env)->ExceptionCheck (env) || !tmp) { in gst_amc_jni_get_class()
77 gst_amc_jni_set_error (env, err, GST_LIBRARY_ERROR, in gst_amc_jni_get_class()
82 ret = (*env)->NewGlobalRef (env, tmp); in gst_amc_jni_get_class()
[all …]
Dgst-android-hardware-camera.c285 gst_ah_camera_on_preview_frame (JNIEnv * env, jclass klass, jbyteArray data, in gst_ah_camera_on_preview_frame() argument
295 gst_ah_camera_on_error (JNIEnv * env, jclass klass, jint error, in gst_ah_camera_on_error() argument
305 gst_ah_camera_on_auto_focus (JNIEnv * env, jclass klass, jboolean success, in gst_ah_camera_on_auto_focus() argument
329 JNIEnv *env; in _init_classes() local
335 env = gst_amc_jni_get_env (); in _init_classes()
339 gst_amc_jni_get_class (env, &err, "android/hardware/Camera"); in _init_classes()
344 gst_amc_jni_get_method_id (env, &err, klass, in _init_classes()
348 gst_amc_jni_get_method_id (env, &err, klass, in _init_classes()
352 gst_amc_jni_get_method_id (env, &err, klass, "cancelAutoFocus", "()V"); in _init_classes()
355 gst_amc_jni_get_static_method_id (env, &err, klass, in _init_classes()
[all …]
/third_party/ffmpeg/libavcodec/
Dmediacodec_wrapper.c301 #define JNI_GET_ENV_OR_RETURN(env, log_ctx, ret) do { \ argument
302 (env) = ff_jni_get_env(log_ctx); \
303 if (!(env)) { \
308 #define JNI_GET_ENV_OR_RETURN_VOID(env, log_ctx) do { \ argument
309 (env) = ff_jni_get_env(log_ctx); \
310 if (!(env)) { \
319 JNIEnv *env = NULL; in ff_AMediaCodecProfile_getProfileFromAVCodecContext() local
323 JNI_GET_ENV_OR_RETURN(env, avctx, -1); in ff_AMediaCodecProfile_getProfileFromAVCodecContext()
325 if (ff_jni_init_jfields(env, &jfields, jni_amediacodeclist_mapping, 0, avctx) < 0) { in ff_AMediaCodecProfile_getProfileFromAVCodecContext()
371 ret = (*env)->GetStaticIntField(env, jfields.codec_profile_level_class, field_id); in ff_AMediaCodecProfile_getProfileFromAVCodecContext()
[all …]
Dffjni.c54 JNIEnv *env = NULL; in ff_jni_get_env() local
68 if ((env = pthread_getspecific(current_env)) != NULL) { in ff_jni_get_env()
72 ret = (*java_vm)->GetEnv(java_vm, (void **)&env, JNI_VERSION_1_6); in ff_jni_get_env()
75 if ((*java_vm)->AttachCurrentThread(java_vm, &env, NULL) != 0) { in ff_jni_get_env()
77 env = NULL; in ff_jni_get_env()
79 pthread_setspecific(current_env, env); in ff_jni_get_env()
94 return env; in ff_jni_get_env()
97 char *ff_jni_jstring_to_utf_chars(JNIEnv *env, jstring string, void *log_ctx) in ff_jni_jstring_to_utf_chars() argument
108 utf_chars = (*env)->GetStringUTFChars(env, string, &copy); in ff_jni_jstring_to_utf_chars()
109 if ((*env)->ExceptionCheck(env)) { in ff_jni_jstring_to_utf_chars()
[all …]
/third_party/node/test/js-native-api/test_general/
Dtest_general.c12 static napi_value testStrictEquals(napi_env env, napi_callback_info info) { in testStrictEquals() argument
15 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in testStrictEquals()
19 NAPI_CALL(env, napi_strict_equals(env, args[0], args[1], &bool_result)); in testStrictEquals()
20 NAPI_CALL(env, napi_get_boolean(env, bool_result, &result)); in testStrictEquals()
25 static napi_value testGetPrototype(napi_env env, napi_callback_info info) { in testGetPrototype() argument
28 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in testGetPrototype()
31 NAPI_CALL(env, napi_get_prototype(env, args[0], &result)); in testGetPrototype()
36 static napi_value testGetVersion(napi_env env, napi_callback_info info) { in testGetVersion() argument
39 NAPI_CALL(env, napi_get_version(env, &version)); in testGetVersion()
40 NAPI_CALL(env, napi_create_uint32(env, version, &result)); in testGetVersion()
[all …]
/third_party/ejdb/src/bindings/ejdb2_jni/src/
Dejdb2jni.c55 JNIEnv *env; member
90 IW_INLINE iwrc jbn_db(JNIEnv *env, jobject thisObj, EJDB *db) { in jbn_db() argument
92 jlong ptr = (*env)->GetLongField(env, thisObj, k_EJDB2_handle_fid); in jbn_db()
100 IW_INLINE iwrc jbn_jql_q(JNIEnv *env, jobject thisObj, JQL *q) { in jbn_jql_q() argument
102 jlong ptr = (*env)->GetLongField(env, thisObj, k_JQL_handle_fid); in jbn_jql_q()
111 JNIEnv *env = pctx->env; in jbn_flush_to_stream() local
117 jbyteArray arr = (*env)->NewByteArray(env, xsz); in jbn_flush_to_stream()
121 (*env)->SetByteArrayRegion(env, arr, 0, xsz, (void*) iwxstr_ptr(xstr)); in jbn_flush_to_stream()
123 (*env)->CallVoidMethod(env, pctx->osObj, pctx->write_mid, arr); in jbn_flush_to_stream()
127 static iwrc jbn_init_pctx(JNIEnv *env, JBN_JSPRINT_CTX *pctx, jobject thisObj, jobject osObj) { in jbn_init_pctx() argument
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c43 if (!(f) || (*env)->ExceptionCheck(env)) { \
49 jclass _exccls = (*env)->FindClass(env, exceptionClass); \
52 (*env)->ThrowNew(env, _exccls, msg); \
62 bailif0(_errstr = (*env)->NewStringUTF(env, tjGetErrorStr2(handle))); \
63 bailif0(_exccls = (*env)->FindClass(env, \
65 bailif0(_excid = (*env)->GetMethodID(env, _exccls, "<init>", \
67 bailif0(_excobj = (*env)->NewObject(env, _exccls, _excid, _errstr, \
69 (*env)->Throw(env, _excobj); \
79 jclass _cls = (*env)->GetObjectClass(env, obj); \
83 bailif0(_fid = (*env)->GetFieldID(env, _cls, "handle", "J")); \
[all …]
/third_party/node/test/js-native-api/test_string/
Dtest_string.c6 static napi_value TestLatin1(napi_env env, napi_callback_info info) { in TestLatin1() argument
9 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in TestLatin1()
11 NAPI_ASSERT(env, argc >= 1, "Wrong number of arguments"); in TestLatin1()
14 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype)); in TestLatin1()
16 NAPI_ASSERT(env, valuetype == napi_string, in TestLatin1()
23 NAPI_CALL(env, in TestLatin1()
24 napi_get_value_string_latin1(env, args[0], buffer, buffer_size, &copied)); in TestLatin1()
27 NAPI_CALL(env, napi_create_string_latin1(env, buffer, copied, &output)); in TestLatin1()
32 static napi_value TestUtf8(napi_env env, napi_callback_info info) { in TestUtf8() argument
35 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in TestUtf8()
[all …]
/third_party/node/src/
Djs_native_api_v8.cc10 #define CHECK_MAYBE_NOTHING(env, maybe, status) \ argument
11 RETURN_STATUS_IF_FALSE((env), !((maybe).IsNothing()), (status))
13 #define CHECK_MAYBE_NOTHING_WITH_PREAMBLE(env, maybe, status) \ argument
14 RETURN_STATUS_IF_FALSE_WITH_PREAMBLE((env), !((maybe).IsNothing()), (status))
16 #define CHECK_TO_NUMBER(env, context, result, src) \ argument
17 CHECK_TO_TYPE((env), Number, (context), (result), (src), napi_number_expected)
23 #define CHECK_NEW_FROM_UTF8_LEN(env, result, str, len) \ argument
27 RETURN_STATUS_IF_FALSE((env), \
30 RETURN_STATUS_IF_FALSE((env), \
34 (env)->isolate, (str), v8::NewStringType::kInternalized, \
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/jni/
Dgstamc-codec-jni.c96 JNIEnv *env; in gst_amc_codec_static_init() local
100 env = gst_amc_jni_get_env (); in gst_amc_codec_static_init()
102 java_nio_buffer.klass = gst_amc_jni_get_class (env, &err, "java/nio/Buffer"); in gst_amc_codec_static_init()
110 gst_amc_jni_get_method_id (env, &err, java_nio_buffer.klass, "limit", in gst_amc_codec_static_init()
119 gst_amc_jni_get_method_id (env, &err, java_nio_buffer.klass, "position", in gst_amc_codec_static_init()
128 gst_amc_jni_get_method_id (env, &err, java_nio_buffer.klass, "limit", in gst_amc_codec_static_init()
137 gst_amc_jni_get_method_id (env, &err, java_nio_buffer.klass, "position", in gst_amc_codec_static_init()
146 gst_amc_jni_get_method_id (env, &err, java_nio_buffer.klass, "clear", in gst_amc_codec_static_init()
154 tmp = (*env)->FindClass (env, "android/media/MediaCodec$BufferInfo"); in gst_amc_codec_static_init()
157 (*env)->ExceptionClear (env); in gst_amc_codec_static_init()
[all …]
/third_party/node/test/node-api/test_async/
Dtest_async.c25 static void Execute(napi_env env, void* data) { in Execute() argument
38 static void Complete(napi_env env, napi_status status, void* data) { in Complete() argument
42 napi_throw_type_error(env, NULL, "Wrong data parameter to Complete."); in Complete()
47 napi_throw_type_error(env, NULL, "Execute callback failed."); in Complete()
53 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &argv[0])); in Complete()
54 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, c->_output, &argv[1])); in Complete()
56 NAPI_CALL_RETURN_VOID(env, in Complete()
57 napi_get_reference_value(env, c->_callback, &callback)); in Complete()
59 NAPI_CALL_RETURN_VOID(env, napi_get_global(env, &global)); in Complete()
62 NAPI_CALL_RETURN_VOID(env, in Complete()
[all …]
/third_party/node/deps/cares/src/lib/
Dares_android.c42 static jclass jni_get_class(JNIEnv *env, const char *path) in jni_get_class() argument
46 if (env == NULL || path == NULL || *path == '\0') in jni_get_class()
49 cls = (*env)->FindClass(env, path); in jni_get_class()
50 if ((*env)->ExceptionOccurred(env)) { in jni_get_class()
51 (*env)->ExceptionClear(env); in jni_get_class()
57 static jmethodID jni_get_method_id(JNIEnv *env, jclass cls, in jni_get_method_id() argument
62 if (env == NULL || cls == NULL || func_name == NULL || *func_name == '\0' || in jni_get_method_id()
68 mid = (*env)->GetMethodID(env, cls, func_name, signature); in jni_get_method_id()
69 if ((*env)->ExceptionOccurred(env)) in jni_get_method_id()
71 (*env)->ExceptionClear(env); in jni_get_method_id()
[all …]
/third_party/libjpeg-turbo/
Dturbojpeg-jni.c38 if (!(f) || (*env)->ExceptionCheck(env)) { \
50 jclass _exccls = (*env)->FindClass(env, exceptionClass); \
53 (*env)->ThrowNew(env, _exccls, msg); \
63 BAILIF0(_errstr = (*env)->NewStringUTF(env, tjGetErrorStr2(handle))); \
64 BAILIF0(_exccls = (*env)->FindClass(env, \
66 BAILIF0(_excid = (*env)->GetMethodID(env, _exccls, "<init>", \
68 BAILIF0(_excobj = (*env)->NewObject(env, _exccls, _excid, _errstr, \
70 (*env)->Throw(env, _excobj); \
80 jclass _cls = (*env)->GetObjectClass(env, obj); \
84 BAILIF0(_fid = (*env)->GetFieldID(env, _cls, "handle", "J")); \
[all …]
/third_party/node/test/js-native-api/test_array/
Dtest_array.c5 static napi_value TestGetElement(napi_env env, napi_callback_info info) { in TestGetElement() argument
8 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in TestGetElement()
10 NAPI_ASSERT(env, argc >= 2, "Wrong number of arguments"); in TestGetElement()
13 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in TestGetElement()
15 NAPI_ASSERT(env, valuetype0 == napi_object, in TestGetElement()
19 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in TestGetElement()
21 NAPI_ASSERT(env, valuetype1 == napi_number, in TestGetElement()
26 NAPI_CALL(env, napi_get_value_int32(env, args[1], &index)); in TestGetElement()
28 NAPI_ASSERT(env, index >= 0, "Invalid index. Expects a positive integer."); in TestGetElement()
31 NAPI_CALL(env, napi_is_array(env, array, &isarray)); in TestGetElement()
[all …]
/third_party/node/test/js-native-api/test_error/
Dtest_error.c4 static napi_value checkError(napi_env env, napi_callback_info info) { in checkError() argument
7 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in checkError()
10 NAPI_CALL(env, napi_is_error(env, args[0], &r)); in checkError()
13 NAPI_CALL(env, napi_get_boolean(env, r, &result)); in checkError()
18 static napi_value throwExistingError(napi_env env, napi_callback_info info) { in throwExistingError() argument
21 NAPI_CALL(env, napi_create_string_utf8( in throwExistingError()
22 env, "existing error", NAPI_AUTO_LENGTH, &message)); in throwExistingError()
23 NAPI_CALL(env, napi_create_error(env, NULL, message, &error)); in throwExistingError()
24 NAPI_CALL(env, napi_throw(env, error)); in throwExistingError()
28 static napi_value throwError(napi_env env, napi_callback_info info) { in throwError() argument
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c42 if (!(f) || (*env)->ExceptionCheck(env)) { \
48 jclass _exccls = (*env)->FindClass(env, exceptionClass); \
51 (*env)->ThrowNew(env, _exccls, msg); \
61 BAILIF0(_errstr = (*env)->NewStringUTF(env, tjGetErrorStr2(handle))); \
62 BAILIF0(_exccls = (*env)->FindClass(env, \
64 BAILIF0(_excid = (*env)->GetMethodID(env, _exccls, "<init>", \
66 BAILIF0(_excobj = (*env)->NewObject(env, _exccls, _excid, _errstr, \
68 (*env)->Throw(env, _excobj); \
78 jclass _cls = (*env)->GetObjectClass(env, obj); \
82 BAILIF0(_fid = (*env)->GetFieldID(env, _cls, "handle", "J")); \
[all …]
/third_party/node/test/js-native-api/test_function/
Dtest_function.c4 static napi_value TestCreateFunctionParameters(napi_env env, in TestCreateFunctionParameters() argument
9 NAPI_CALL(env, napi_create_object(env, &return_value)); in TestCreateFunctionParameters()
18 add_returned_status(env, in TestCreateFunctionParameters()
25 napi_create_function(env, in TestCreateFunctionParameters()
32 add_last_status(env, "nameIsNull", return_value); in TestCreateFunctionParameters()
34 napi_create_function(env, in TestCreateFunctionParameters()
41 add_last_status(env, "cbIsNull", return_value); in TestCreateFunctionParameters()
43 napi_create_function(env, in TestCreateFunctionParameters()
50 add_last_status(env, "resultIsNull", return_value); in TestCreateFunctionParameters()
55 static napi_value TestCallFunction(napi_env env, napi_callback_info info) { in TestCallFunction() argument
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/core/android/
DSDL_android.c95 JNIEnv *env; in JNI_OnLoad() local
98 if ((*mJavaVM)->GetEnv(mJavaVM, (void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
157 JNIEnv* env, jclass jcls, in Java_org_libsdl_app_SDLActivity_onNativeDropFile() argument
160 const char *path = (*env)->GetStringUTFChars(env, filename, NULL); in Java_org_libsdl_app_SDLActivity_onNativeDropFile()
162 (*env)->ReleaseStringUTFChars(env, filename, path); in Java_org_libsdl_app_SDLActivity_onNativeDropFile()
168 JNIEnv* env, jclass jcls, in Java_org_libsdl_app_SDLActivity_onNativeResize() argument
176 JNIEnv* env, jclass jcls, in Java_org_libsdl_app_SDLActivity_onNativePadDown() argument
184 JNIEnv* env, jclass jcls, in Java_org_libsdl_app_SDLActivity_onNativePadUp() argument
192 JNIEnv* env, jclass jcls, in Java_org_libsdl_app_SDLActivity_onNativeJoy() argument
200 JNIEnv* env, jclass jcls, in Java_org_libsdl_app_SDLActivity_onNativeHat() argument
[all …]
/third_party/node/test/js-native-api/test_typedarray/
Dtest_typedarray.c6 static napi_value Multiply(napi_env env, napi_callback_info info) { in Multiply() argument
9 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); in Multiply()
11 NAPI_ASSERT(env, argc == 2, "Wrong number of arguments"); in Multiply()
14 NAPI_CALL(env, napi_typeof(env, args[0], &valuetype0)); in Multiply()
16 NAPI_ASSERT(env, valuetype0 == napi_object, in Multiply()
21 NAPI_CALL(env, napi_is_typedarray(env, input_array, &is_typedarray)); in Multiply()
23 NAPI_ASSERT(env, is_typedarray, in Multiply()
27 NAPI_CALL(env, napi_typeof(env, args[1], &valuetype1)); in Multiply()
29 NAPI_ASSERT(env, valuetype1 == napi_number, in Multiply()
33 NAPI_CALL(env, napi_get_value_double(env, args[1], &multiplier)); in Multiply()
[all …]
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c15 napi_env env,
19 static bool jn_throw_error(napi_env env, iwrc rc, const char *location, const char *msg);
20 static napi_value jn_create_error(napi_env env, iwrc rc, const char *location, const char *msg);
22 IW_INLINE bool jn_is_exception_pending(napi_env env) { in jn_is_exception_pending() argument
24 napi_is_exception_pending(env, &rv); in jn_is_exception_pending()
28 #define JNTHROW(env, rc, message) \ argument
29 jn_throw_error(env, rc, "ejdb2_node.c" ":" STR(__LINE__), message)
31 #define JNTHROW_LAST(env) do { \ argument
33 napi_get_last_error_info((env), &info); \
34 if (info) JNTHROW((env), 0, info->error_message); \
[all …]

12345678910>>...112