Searched refs:local_ref_cookie_ (Results 1 – 5 of 5) sorted by relevance
82 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_; variable222 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()
73 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()
30 IndirectRef ref = locals_.Add(local_ref_cookie_, obj, &error_msg); in AddLocalReference()
2604 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie_), in TEST_F()
894 if (!ext_env->locals_.Remove(ext_env->local_ref_cookie_, obj)) { in DeleteLocalRef()