Searched refs:IRTSegmentState (Results 1 – 6 of 6) sorted by relevance
83 IRTSegmentState GetLocalRefCookie() const { return local_ref_cookie_; } in GetLocalRefCookie()84 void SetLocalRefCookie(IRTSegmentState new_cookie) { local_ref_cookie_ = new_cookie; } in SetLocalRefCookie()86 IRTSegmentState GetLocalsSegmentState() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetLocalsSegmentState()89 void SetLocalSegmentState(IRTSegmentState new_state) REQUIRES_SHARED(Locks::mutator_lock_) { in SetLocalSegmentState()168 IRTSegmentState local_ref_cookie_;176 std::vector<IRTSegmentState> stacked_local_ref_cookies_;225 const IRTSegmentState saved_local_ref_cookie_;
2452 IRTSegmentState old_state = irt.GetSegmentState(); in TEST_F()2455 IRTSegmentState new_state; in TEST_F()2462 *reinterpret_cast<IRTSegmentState*>(base + segment_state_offset) = new_state; in TEST_F()
145 struct IRTSegmentState { struct150 static constexpr IRTSegmentState kIRTFirstSegment = { 0 }; argument251 IndirectRef Add(IRTSegmentState previous_state,280 bool Remove(IRTSegmentState previous_state, IndirectRef iref);313 IRTSegmentState GetSegmentState() const { in GetSegmentState()317 void SetSegmentState(IRTSegmentState new_state);387 void RecoverHoles(IRTSegmentState from);397 IRTSegmentState segment_state_;414 IRTSegmentState last_known_previous_state_;
77 const IRTSegmentState cookie = kIRTFirstSegment; in TEST_F()308 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()319 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()339 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()346 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()375 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()382 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()390 const IRTSegmentState cookie2 = irt.GetSegmentState(); in TEST_F()414 const IRTSegmentState cookie0 = kIRTFirstSegment; in TEST_F()421 const IRTSegmentState cookie1 = irt.GetSegmentState(); in TEST_F()[all …]
180 void IndirectReferenceTable::RecoverHoles(IRTSegmentState prev_state) { in RecoverHoles()204 IRTSegmentState prev_state, in CheckHoleCount()205 IRTSegmentState cur_state) { in CheckHoleCount()241 IndirectRef IndirectReferenceTable::Add(IRTSegmentState previous_state, in Add()344 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove()476 void IndirectReferenceTable::SetSegmentState(IRTSegmentState new_state) { in SetSegmentState()
29 static_assert(sizeof(IRTSegmentState) == sizeof(uint32_t), "IRTSegmentState size unexpected");30 static_assert(std::is_trivial<IRTSegmentState>::value, "IRTSegmentState not trivial");122 env->SetLocalRefCookie(bit_cast<IRTSegmentState>(saved_local_ref_cookie)); in PopLocalReferences()