Lines Matching refs:as_struct

55   tls32_.state_and_flags.as_struct.state = new_state;  in SetState()
56 return static_cast<ThreadState>(old_state_and_flags.as_struct.state); in SetState()
90 if (UNLIKELY((old_state_and_flags.as_struct.flags & kCheckpointRequest) != 0)) { in TransitionFromRunnableToSuspended()
95 DCHECK_EQ((old_state_and_flags.as_struct.flags & kCheckpointRequest), 0); in TransitionFromRunnableToSuspended()
96 new_state_and_flags.as_struct.flags = old_state_and_flags.as_struct.flags; in TransitionFromRunnableToSuspended()
97 new_state_and_flags.as_struct.state = new_state; in TransitionFromRunnableToSuspended()
115 int16_t old_state = old_state_and_flags.as_struct.state; in TransitionFromSuspendedToRunnable()
120 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
121 if (UNLIKELY((old_state_and_flags.as_struct.flags & kSuspendRequest) != 0)) { in TransitionFromSuspendedToRunnable()
125 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
126 while ((old_state_and_flags.as_struct.flags & kSuspendRequest) != 0) { in TransitionFromSuspendedToRunnable()
130 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
138 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
139 if (LIKELY((old_state_and_flags.as_struct.flags & kSuspendRequest) == 0)) { in TransitionFromSuspendedToRunnable()
142 new_state_and_flags.as_struct.state = kRunnable; in TransitionFromSuspendedToRunnable()