Home
last modified time | relevance | path

Searched refs:kLockwordReservedShift (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dspinlock.cc194 static constexpr int kLockwordReservedShift = 3; variable
199 std::numeric_limits<uint32_t>::max() >> kLockwordReservedShift; in EncodeWaitCycles()
206 std::min(scaled_wait_time, kMaxWaitTime) << kLockwordReservedShift); in EncodeWaitCycles()
213 kSpinLockSleeper + (1 << kLockwordReservedShift); in EncodeWaitCycles()
224 return scaled_wait_time << (kProfileTimestampShift - kLockwordReservedShift); in DecodeWaitCycles()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dspinlock_test_common.cc129 const int kLockwordReservedShift = 3; in TEST() local
135 32 - kLockwordReservedShift + kProfileTimestampShift; in TEST()
139 const uint32_t kLockwordReservedMask = (1 << kLockwordReservedShift) - 1; in TEST()
173 kSpinLockSleeper << (kProfileTimestampShift - kLockwordReservedShift); in TEST()