Lines Matching refs:env

45 int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, const JNINativeMethod* gMethods,…
61 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
66 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg);
71 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg);
76 int jniThrowIOException(C_JNIEnv* env, int errnum);
89 jobject jniCreateFileDescriptor(C_JNIEnv* env, int fd);
94 int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor);
99 void jniSetFileDescriptorOfFD(C_JNIEnv* env, jobject fileDescriptor, int value);
104 jobject jniGetReferent(C_JNIEnv* env, jobject ref);
110 void jniLogException(C_JNIEnv* env, int priority, const char* tag, jthrowable exception);
122 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() argument
123 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods()
126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
127 return jniThrowException(&env->functions, className, msg); in jniThrowException()
130 extern "C" int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list …
136 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() argument
139 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
143 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() argument
144 return jniThrowNullPointerException(&env->functions, msg); in jniThrowNullPointerException()
147 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() argument
148 return jniThrowRuntimeException(&env->functions, msg); in jniThrowRuntimeException()
151 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument
152 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()
155 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor() argument
156 return jniCreateFileDescriptor(&env->functions, fd); in jniCreateFileDescriptor()
159 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() argument
160 return jniGetFDFromFileDescriptor(&env->functions, fileDescriptor); in jniGetFDFromFileDescriptor()
163 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD() argument
164 jniSetFileDescriptorOfFD(&env->functions, fileDescriptor, value); in jniSetFileDescriptorOfFD()
167 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent() argument
168 return jniGetReferent(&env->functions, ref); in jniGetReferent()
171 inline void jniLogException(JNIEnv* env, int priority, const char* tag, jthrowable exception = NULL…
172 jniLogException(&env->functions, priority, tag, exception);