Lines Matching refs:needsDetach
102 static JNIEnv* getJNIEnv(bool* needsDetach);
239 bool needsDetach = false; in ~JNIImageWriterContext() local
240 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageWriterContext()
247 if (needsDetach) { in ~JNIImageWriterContext()
255 JNIEnv* JNIImageWriterContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
257 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
258 *needsDetach = false; in getJNIEnv()
268 *needsDetach = true; in getJNIEnv()
284 bool needsDetach = false; in onBufferReleased() local
285 JNIEnv* env = getJNIEnv(&needsDetach); in onBufferReleased()
311 if (needsDetach) { in onBufferReleased()