Lines Matching refs:StateAndFlags
369 StateAndFlags state_and_flags = GetStateAndFlags(std::memory_order_acquire); in IsSuspended()
907 StateAndFlags::ValidateThreadState(state); in VerifyState()
1611 return StateAndFlags::EncodeState(state); in StoredThreadStateValue()
1676 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in SetStateUnsafe()
1690 StateAndFlags new_state_and_flags = old_state_and_flags; in SetStateUnsafe()
1826 class StateAndFlags {
1828 explicit StateAndFlags(uint32_t value) :value_(value) {} in StateAndFlags() function
1851 StateAndFlags WithFlag(ThreadFlag flag) const { in WithFlag()
1852 StateAndFlags result = *this; in WithFlag()
1857 StateAndFlags WithoutFlag(ThreadFlag flag) const { in WithoutFlag()
1858 StateAndFlags result = *this; in WithoutFlag()
1878 StateAndFlags WithState(ThreadState state) const { in WithState()
1879 StateAndFlags result = *this; in WithState()
1906 static_assert(sizeof(StateAndFlags) == sizeof(uint32_t), "Unexpected StateAndFlags size");
1908 StateAndFlags GetStateAndFlags(std::memory_order order) const { in GetStateAndFlags()
1909 return StateAndFlags(tls32_.state_and_flags.load(order)); in GetStateAndFlags()
1937 StateAndFlags old_state_and_flags = StateAndFlags(0),