Searched refs:as_struct (Results 1 – 3 of 3) sorted by relevance
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()[all …]
182 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState()183 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState()184 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState()200 return state_and_flags.as_struct.state != kRunnable && in IsSuspended()201 (state_and_flags.as_struct.flags & kSuspendRequest) != 0; in IsSuspended()766 return (tls32_.state_and_flags.as_struct.flags & flag) != 0; in ReadFlag()770 return (tls32_.state_and_flags.as_struct.flags != 0); in TestAllFlags()873 tls32_.state_and_flags.as_struct.state = new_state; in SetStateUnsafe()920 } as_struct; member
703 if (old_state_and_flags.as_struct.state != kRunnable) { in RequestCheckpoint()722 DCHECK_EQ(old_state_and_flags.as_struct.state, kRunnable); in RequestCheckpoint()725 new_state_and_flags.as_struct.flags |= kCheckpointRequest; in RequestCheckpoint()1117 tls32_.state_and_flags.as_struct.flags = 0; in Thread()1118 tls32_.state_and_flags.as_struct.state = kNative; in Thread()