Home
last modified time | relevance | path

Searched refs:local_ref_cookie_ (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jni/
Djni_env_ext.h83 IRTSegmentState GetLocalRefCookie() const { return local_ref_cookie_; } in GetLocalRefCookie()
84 void SetLocalRefCookie(IRTSegmentState new_cookie) { local_ref_cookie_ = new_cookie; } in SetLocalRefCookie()
168 IRTSegmentState local_ref_cookie_; variable
214 saved_local_ref_cookie_(env->local_ref_cookie_) { in ScopedJniEnvLocalRefState()
215 env->local_ref_cookie_ = env->locals_.GetSegmentState(); in ScopedJniEnvLocalRefState()
219 env_->locals_.SetSegmentState(env_->local_ref_cookie_); in ~ScopedJniEnvLocalRefState()
220 env_->local_ref_cookie_ = saved_local_ref_cookie_; in ~ScopedJniEnvLocalRefState()
Djni_env_ext.cc78 local_ref_cookie_(kIRTFirstSegment), in JNIEnvExt()
103 jobject ref = reinterpret_cast<jobject>(locals_.Add(local_ref_cookie_, obj, &error_msg)); in NewLocalRef()
114 locals_.Remove(local_ref_cookie_, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
135 stacked_local_ref_cookies_.push_back(local_ref_cookie_); in PushFrame()
136 local_ref_cookie_ = locals_.GetSegmentState(); in PushFrame()
140 locals_.SetSegmentState(local_ref_cookie_); in PopFrame()
141 local_ref_cookie_ = stacked_local_ref_cookies_.back(); in PopFrame()
Djni_env_ext-inl.h29 IndirectRef ref = locals_.Add(local_ref_cookie_, obj, &error_msg); in AddLocalReference()
Djni_internal.cc880 if (!ext_env->locals_.Remove(ext_env->local_ref_cookie_, obj)) { in DeleteLocalRef()