Lines Matching defs:env
53 static jmethodID FindMethod(JNIEnv* env, in FindMethod()
65 static bool AppendJString(JNIEnv* env, jstring text, struct ExpandableString* dst) { in AppendJString()
80 static bool GetExceptionSummary(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetExceptionSummary()
128 static jobject NewStringWriter(JNIEnv* env) { in NewStringWriter()
136 static jstring StringWriterToString(JNIEnv* env, jobject stringWriter) { in StringWriterToString()
142 static jobject NewPrintWriter(JNIEnv* env, jobject writer) { in NewPrintWriter()
150 static bool GetStackTrace(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetStackTrace()
188 static void GetStackTraceOrSummary(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetStackTraceOrSummary()
221 static void DiscardPendingException(JNIEnv* env, const char* className) { in DiscardPendingException()
237 static int ThrowException(JNIEnv* env, const char* className, const char* ctorSig, ...) { in ThrowException()
287 static jstring CreateExceptionMsg(JNIEnv* env, const char* msg) { in CreateExceptionMsg()
307 #define THROW_EXCEPTION_WITH_MESSAGE(env, className, ctorSig, msg, ...) ({ \ argument
319 int jniRegisterNativeMethods(JNIEnv* env, const char* className, in jniRegisterNativeMethods()
349 void jniLogException(JNIEnv* env, int priority, const char* tag, jthrowable thrown) { in jniLogException()
358 int jniThrowException(JNIEnv* env, const char* className, const char* message) { in jniThrowException()
362 int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt()
368 int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
372 int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
376 int jniThrowIOException(JNIEnv* env, int errno_value) { in jniThrowIOException()
382 int jniThrowErrnoException(JNIEnv* env, const char* functionName, int errno_value) { in jniThrowErrnoException()
387 jstring jniCreateString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in jniCreateString()