Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkSharedMutex.cpp250 kSharedOffset = (0 * kLogThreadCount), enumerator
253 kSharedMask = ((1 << kLogThreadCount) - 1) << kSharedOffset,
298 newQueueCounts |= waitingShared << kSharedOffset; in release()
322 newQueueCounts += 1 << kSharedOffset; in acquireShared()
339 int32_t oldQueueCounts = fQueueCounts.fetch_sub(1 << kSharedOffset, in releaseShared()
344 if (((oldQueueCounts & kSharedMask) >> kSharedOffset) == 1 in releaseShared()