Lines Matching defs:state
45 // get the saved state for this thread and restore it.
104 // not archived at all. If that is the case we put the state storage we
119 // Make sure that the preemption thread cannot modify the thread state while
135 ThreadState* state = per_thread->thread_state();
136 char* from = state->data();
147 state->set_id(ThreadId::Invalid());
148 state->Unlink();
149 state->LinkInto(ThreadState::FREE_LIST);
254 ThreadState* state = GetFreeThreadState();
255 state->Unlink();
258 per_thread->set_thread_state(state);
260 lazily_archived_thread_state_ = state;
261 DCHECK_EQ(state->id(), ThreadId::Invalid());
262 state->set_id(CurrentId());
263 DCHECK_NE(state->id(), ThreadId::Invalid());
268 ThreadState* state = lazily_archived_thread_state_;
269 state->LinkInto(ThreadState::IN_USE_LIST);
270 char* to = state->data();
304 for (ThreadState* state = FirstThreadStateInUse(); state != nullptr;
305 state = state->Next()) {
306 char* data = state->data();
316 for (ThreadState* state = FirstThreadStateInUse(); state != nullptr;
317 state = state->Next()) {
318 char* data = state->data();