Lines Matching refs:env_
33 JNIEnv* env_;
149 constexpr ScopedJavaLocalRef() : env_(nullptr) {} in ScopedJavaLocalRef()
150 constexpr ScopedJavaLocalRef(std::nullptr_t) : env_(nullptr) {} in ScopedJavaLocalRef()
155 : env_(other.env_) { in ScopedJavaLocalRef()
156 this->SetNewLocalRef(env_, other.obj()); in ScopedJavaLocalRef()
159 ScopedJavaLocalRef(ScopedJavaLocalRef<T>&& other) : env_(other.env_) { in ScopedJavaLocalRef()
163 explicit ScopedJavaLocalRef(const JavaRef<T>& other) : env_(nullptr) { in ScopedJavaLocalRef()
171 ScopedJavaLocalRef(JNIEnv* env, T obj) : JavaRef<T>(env, obj), env_(env) {} in ScopedJavaLocalRef()
184 env_ = other.env_;
189 this->ResetLocalRef(env_); in Reset()
196 this->Reset(other.env_, other.obj()); in Reset()
202 this->Reset(env_, other.obj()); in Reset()
208 void Reset(JNIEnv* env, T obj) { env_ = this->SetNewLocalRef(env, obj); } in Reset()
220 JNIEnv* env_;