Lines Matching refs:env
43 int jniRegisterNativeMethods(C_JNIEnv* env,
62 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
78 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args);
83 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg);
88 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg);
93 int jniThrowIOException(C_JNIEnv* env, int errnum);
98 jobject jniGetReferent(C_JNIEnv* env, jobject ref);
104 jstring jniCreateString(C_JNIEnv* env, const jchar* unicodeChars, jsize len);
113 jobjectArray jniCreateStringArray(C_JNIEnv* env, size_t count);
119 void jniLogException(C_JNIEnv* env, int priority, const char* tag, jthrowable exception);
129 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() argument
130 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods()
133 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
134 return jniThrowException(&env->functions, className, msg); in jniThrowException()
141 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() argument
144 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
148 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() argument
149 return jniThrowNullPointerException(&env->functions, msg); in jniThrowNullPointerException()
152 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() argument
153 return jniThrowRuntimeException(&env->functions, msg); in jniThrowRuntimeException()
156 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument
157 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()
160 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent() argument
161 return jniGetReferent(&env->functions, ref); in jniGetReferent()
164 inline jstring jniCreateString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in jniCreateString() argument
165 return jniCreateString(&env->functions, unicodeChars, len); in jniCreateString()
168 inline jstring jniCreateString(JNIEnv* env, const char16_t* unicodeChars, jsize len) { in jniCreateString() argument
169 return jniCreateString(&env->functions, reinterpret_cast<const jchar*>(unicodeChars), len); in jniCreateString()
172 inline void jniLogException(JNIEnv* env, int priority, const char* tag, jthrowable exception = NULL…
173 jniLogException(&env->functions, priority, tag, exception);