Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_env_ext.h82 jni::LRTSegmentState GetLocalRefCookie() const { return local_ref_cookie_; } in GetLocalRefCookie()
83 void SetLocalRefCookie(jni::LRTSegmentState new_cookie) { local_ref_cookie_ = new_cookie; } in SetLocalRefCookie()
172 jni::LRTSegmentState local_ref_cookie_; variable
222 saved_local_ref_cookie_(env->local_ref_cookie_) { in ScopedJniEnvLocalRefState()
223 env->local_ref_cookie_ = env->locals_.GetSegmentState(); in ScopedJniEnvLocalRefState()
227 env_->locals_.SetSegmentState(env_->local_ref_cookie_); in ~ScopedJniEnvLocalRefState()
228 env_->local_ref_cookie_ = saved_local_ref_cookie_; in ~ScopedJniEnvLocalRefState()
Djni_env_ext.cc73 local_ref_cookie_(jni::kLRTFirstSegment), in JNIEnvExt()
101 jobject ref = reinterpret_cast<jobject>(locals_.Add(local_ref_cookie_, obj, &error_msg)); in NewLocalRef()
112 locals_.Remove(local_ref_cookie_, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
134 stacked_local_ref_cookies_.push_back(local_ref_cookie_); in PushFrame()
135 local_ref_cookie_ = locals_.GetSegmentState(); in PushFrame()
139 locals_.SetSegmentState(local_ref_cookie_); in PopFrame()
140 local_ref_cookie_ = stacked_local_ref_cookies_.back(); in PopFrame()
Djni_env_ext-inl.h30 IndirectRef ref = locals_.Add(local_ref_cookie_, obj, &error_msg); in AddLocalReference()
Djni_internal_test.cc2604 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie_), in TEST_F()
Djni_internal.cc894 if (!ext_env->locals_.Remove(ext_env->local_ref_cookie_, obj)) { in DeleteLocalRef()