Lines Matching refs:state_and_flags
238 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState()
239 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState()
240 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState()
255 union StateAndFlags state_and_flags; in IsSuspended() local
256 state_and_flags.as_int = tls32_.state_and_flags.as_int; in IsSuspended()
257 return state_and_flags.as_struct.state != kRunnable && in IsSuspended()
258 (state_and_flags.as_struct.flags & kSuspendRequest) != 0; in IsSuspended()
690 OFFSETOF_MEMBER(tls_32bit_sized_values, state_and_flags)); in ThreadFlagsOffset()
1122 return (tls32_.state_and_flags.as_struct.flags & flag) != 0; in ReadFlag()
1126 return (tls32_.state_and_flags.as_struct.flags != 0); in TestAllFlags()
1130 tls32_.state_and_flags.as_atomic_int.fetch_or(flag, std::memory_order_seq_cst); in AtomicSetFlag()
1134 tls32_.state_and_flags.as_atomic_int.fetch_and(-1 ^ flag, std::memory_order_seq_cst); in AtomicClearFlag()
1381 tls32_.state_and_flags.as_struct.state = new_state; in SetStateUnsafe()
1554 union StateAndFlags state_and_flags; member