Searched refs:local_ref_cookie_ (Results 1 – 5 of 5) sorted by relevance
86 IRTSegmentState GetLocalRefCookie() const { return local_ref_cookie_; } in GetLocalRefCookie()87 void SetLocalRefCookie(IRTSegmentState new_cookie) { local_ref_cookie_ = new_cookie; } in SetLocalRefCookie()178 IRTSegmentState local_ref_cookie_; variable225 saved_local_ref_cookie_(env->local_ref_cookie_) { in ScopedJniEnvLocalRefState()226 env->local_ref_cookie_ = env->locals_.GetSegmentState(); in ScopedJniEnvLocalRefState()230 env_->locals_.SetSegmentState(env_->local_ref_cookie_); in ~ScopedJniEnvLocalRefState()231 env_->local_ref_cookie_ = saved_local_ref_cookie_; in ~ScopedJniEnvLocalRefState()
79 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()
29 IndirectRef ref = locals_.Add(local_ref_cookie_, obj, &error_msg); in AddLocalReference()
2489 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie_), in TEST_F()
718 if (!ext_env->locals_.Remove(ext_env->local_ref_cookie_, obj)) { in DeleteLocalRef()