Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 2 of 2) sorted by relevance

/libnativehelper/
DJNIHelp.c159 jobject sw = NewStringWriter(env); in GetStackTrace() local
160 if (sw == NULL) { in GetStackTrace()
164 jobject pw = NewPrintWriter(env, sw); in GetStackTrace()
166 (*env)->DeleteLocalRef(env, sw); in GetStackTrace()
174 jstring trace = ((*env)->ExceptionOccurred(env) != NULL) ? NULL : StringWriterToString(env, sw); in GetStackTrace()
178 (*env)->DeleteLocalRef(env, sw); in GetStackTrace()
179 sw = NULL; in GetStackTrace()
/libnativehelper/include/nativehelper/
DJNIHelp.h212 jobject sw = NewStringWriter(env); in GetStackTrace() local
213 if (sw == NULL) { in GetStackTrace()
217 jobject pw = NewPrintWriter(env, sw); in GetStackTrace()
219 env->DeleteLocalRef(sw); in GetStackTrace()
227 jstring trace = StringWriterToString(env, sw); in GetStackTrace()
231 env->DeleteLocalRef(sw); in GetStackTrace()
232 sw = NULL; in GetStackTrace()