Lines Matching refs:as_atomic
84 AtomicSingleSample single_sample = subtle::Acquire_Load(&as_atomic); in Load()
87 if (single_sample.as_atomic == kDisabledSingleSample) in Load()
88 single_sample.as_atomic = 0; in Load()
96 &as_atomic, disable ? kDisabledSingleSample : 0); in Extract()
97 if (single_sample.as_atomic == kDisabledSingleSample) in Extract()
98 single_sample.as_atomic = 0; in Extract()
129 subtle::Atomic32 original = subtle::Acquire_Load(&as_atomic); in Accumulate()
132 single_sample.as_atomic = original; in Accumulate()
133 if (single_sample.as_atomic != 0) { in Accumulate()
154 if (single_sample.as_atomic == kDisabledSingleSample) in Accumulate()
161 &as_atomic, original, single_sample.as_atomic); in Accumulate()
169 return subtle::Acquire_Load(&as_atomic) == kDisabledSingleSample; in IsDisabled()