Searched refs:FlagValueStorageKind (Results 1 – 6 of 6) sorted by relevance
99 if (flag_impl_.ValueStorageKind() != FlagValueStorageKind::kAlignedBuffer && in ~FlagState()100 flag_impl_.ValueStorageKind() != FlagValueStorageKind::kSequenceLocked) in ~FlagState()148 case FlagValueStorageKind::kValueAndInitBit: in Init()149 case FlagValueStorageKind::kOneWordAtomic: { in Init()157 if (ValueStorageKind() == FlagValueStorageKind::kValueAndInitBit) { in Init()167 case FlagValueStorageKind::kSequenceLocked: { in Init()174 case FlagValueStorageKind::kAlignedBuffer: in Init()236 case FlagValueStorageKind::kValueAndInitBit: in StoreValue()237 case FlagValueStorageKind::kOneWordAtomic: { in StoreValue()245 case FlagValueStorageKind::kSequenceLocked: { in StoreValue()[all …]
323 enum class FlagValueStorageKind : uint8_t { enum331 static constexpr FlagValueStorageKind StorageKind() { in StorageKind()333 ? FlagValueStorageKind::kValueAndInitBit in StorageKind()335 ? FlagValueStorageKind::kOneWordAtomic in StorageKind()337 ? FlagValueStorageKind::kSequenceLocked in StorageKind()338 : FlagValueStorageKind::kAlignedBuffer; in StorageKind()355 FlagValueStorageKind Kind = flags_internal::StorageKind<T>()>359 struct FlagValue<T, FlagValueStorageKind::kValueAndInitBit> : FlagOneWordValue {372 struct FlagValue<T, FlagValueStorageKind::kOneWordAtomic> : FlagOneWordValue {385 struct FlagValue<T, FlagValueStorageKind::kSequenceLocked> {[all …]
99 if (flag_impl_.ValueStorageKind() != FlagValueStorageKind::kAlignedBuffer) in ~FlagState()149 case FlagValueStorageKind::kAlignedBuffer: in Init()155 case FlagValueStorageKind::kOneWordAtomic: { in Init()167 case FlagValueStorageKind::kTwoWordsAtomic: { in Init()232 case FlagValueStorageKind::kAlignedBuffer: in StoreValue()235 case FlagValueStorageKind::kOneWordAtomic: { in StoreValue()241 case FlagValueStorageKind::kTwoWordsAtomic: { in StoreValue()284 case FlagValueStorageKind::kAlignedBuffer: { in CurrentValue()288 case FlagValueStorageKind::kOneWordAtomic: { in CurrentValue()294 case FlagValueStorageKind::kTwoWordsAtomic: { in CurrentValue()[all …]
351 enum class FlagValueStorageKind : uint8_t { enum358 static constexpr FlagValueStorageKind StorageKind() { in StorageKind()360 ? FlagValueStorageKind::kAlignedBuffer in StorageKind()362 ? FlagValueStorageKind::kOneWordAtomic in StorageKind()363 : FlagValueStorageKind::kTwoWordsAtomic; in StorageKind()380 FlagValueStorageKind Kind = flags_internal::StorageKind<T>()>384 struct FlagValue<T, FlagValueStorageKind::kAlignedBuffer> {391 struct FlagValue<T, FlagValueStorageKind::kOneWordAtomic> : FlagOneWordValue {403 struct FlagValue<T, FlagValueStorageKind::kTwoWordsAtomic> : FlagTwoWordsValue {443 FlagHelpArg help, FlagValueStorageKind value_kind,[all …]
103 flags::FlagValueStorageKind::kOneWordAtomic); in TEST_F()105 flags::FlagValueStorageKind::kOneWordAtomic); in TEST_F()107 flags::FlagValueStorageKind::kOneWordAtomic); in TEST_F()109 flags::FlagValueStorageKind::kOneWordAtomic); in TEST_F()113 flags::FlagValueStorageKind::kTwoWordsAtomic); in TEST_F()115 flags::FlagValueStorageKind::kTwoWordsAtomic); in TEST_F()118 flags::FlagValueStorageKind::kAlignedBuffer); in TEST_F()120 flags::FlagValueStorageKind::kAlignedBuffer); in TEST_F()124 flags::FlagValueStorageKind::kAlignedBuffer); in TEST_F()126 flags::FlagValueStorageKind::kAlignedBuffer); in TEST_F()
106 flags::FlagValueStorageKind::kValueAndInitBit); in TEST_F()108 flags::FlagValueStorageKind::kValueAndInitBit); in TEST_F()110 flags::FlagValueStorageKind::kOneWordAtomic); in TEST_F()112 flags::FlagValueStorageKind::kOneWordAtomic); in TEST_F()115 flags::FlagValueStorageKind::kSequenceLocked); in TEST_F()117 flags::FlagValueStorageKind::kSequenceLocked); in TEST_F()123 flags::FlagValueStorageKind::kSequenceLocked); in TEST_F()127 flags::FlagValueStorageKind::kAlignedBuffer); in TEST_F()129 flags::FlagValueStorageKind::kAlignedBuffer); in TEST_F()728 flags::FlagValueStorageKind::kOneWordAtomic); in TEST_F()