Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkSharedMutex.cpp284 int32_t newQueueCounts; in release() local
286 newQueueCounts = oldQueueCounts; in release()
289 newQueueCounts -= 1 << kWaitingExlusiveOffset; in release()
299 newQueueCounts &= ~kWaitingSharedMask; in release()
304 newQueueCounts |= waitingShared << kSharedOffset; in release()
307 } while (!fQueueCounts.compare_exchange_strong(oldQueueCounts, newQueueCounts, in release()
314 } else if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in release()
322 int32_t newQueueCounts; in acquireShared() local
324 newQueueCounts = oldQueueCounts; in acquireShared()
326 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()
[all …]
/external/skia/src/core/
DSkSharedMutex.cpp284 int32_t newQueueCounts; in release() local
286 newQueueCounts = oldQueueCounts; in release()
289 newQueueCounts -= 1 << kWaitingExlusiveOffset; in release()
299 newQueueCounts &= ~kWaitingSharedMask; in release()
304 newQueueCounts |= waitingShared << kSharedOffset; in release()
307 } while (!fQueueCounts.compare_exchange_strong(oldQueueCounts, newQueueCounts, in release()
314 } else if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in release()
322 int32_t newQueueCounts; in acquireShared() local
324 newQueueCounts = oldQueueCounts; in acquireShared()
326 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()
[all …]