Searched refs:gMutex (Results 1 – 11 of 11) sorted by relevance
452 SK_DECLARE_STATIC_MUTEX(gMutex);458 gMutex.assertHeld(); in get_cache()470 SkAutoMutexAcquire am(gMutex); in GetTotalBytesUsed()475 SkAutoMutexAcquire am(gMutex); in GetTotalByteLimit()480 SkAutoMutexAcquire am(gMutex); in SetTotalByteLimit()485 SkAutoMutexAcquire am(gMutex); in GetDiscardableFactory()490 SkAutoMutexAcquire am(gMutex); in NewCachedData()495 SkAutoMutexAcquire am(gMutex); in Dump()500 SkAutoMutexAcquire am(gMutex); in SetSingleAllocationByteLimit()505 SkAutoMutexAcquire am(gMutex); in GetSingleAllocationByteLimit()[all …]
65 SK_DECLARE_STATIC_MUTEX(gMutex);68 SkAutoMutexAcquire ama(gMutex); in Add()73 SkAutoMutexAcquire ama(gMutex); in FindByProcAndRef()78 SkAutoMutexAcquire ama(gMutex); in PurgeAll()
172 pthread_mutex_t gMutex; variable180 pthread_mutex_init(&gMutex, &mutexattr); in InitGlobalLock()185 pthread_mutex_lock(&gMutex); in GetGlobalLock()190 pthread_mutex_unlock(&gMutex); in ReleaseGlobalLock()
58 static std::mutex gMutex; variable117 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nInit()143 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nExecuteGM()163 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()179 std::lock_guard<std::mutex> lock(gMutex); in Java_org_skia_skqp_SkQP_nMakeReport()
16 SK_DECLARE_STATIC_MUTEX(gMutex);24 SkAutoMutexAcquire tmp(gMutex); in PlatformGetSpecific()
153 static SkSpinlock gMutex; variable162 SkAutoMutexAcquire lock(gMutex); in done()180 SkAutoMutexAcquire lock(gMutex); in done()192 SkAutoMutexAcquire lock(gMutex); in start()222 SkAutoMutexAcquire lock(gMutex); in crash_handler()261 SkAutoMutexAcquire lock(gMutex); in crash_handler()1399 SkAutoMutexAcquire lock(gMutex); in main()
238 static SkSpinlock* gMutex = new SkSpinlock; variable247 SkAutoSpinlock lock(*gMutex); in done()265 SkAutoSpinlock lock(*gMutex); in done()277 SkAutoSpinlock lock(*gMutex); in start()307 SkAutoSpinlock lock(*gMutex); in crash_handler()346 SkAutoSpinlock lock(*gMutex); in crash_handler()1564 SkAutoSpinlock lock(*gMutex); in main()
762 static SkMutex gMutex; in CombinedExtensionString() local763 gMutex.acquire(); in CombinedExtensionString()774 gMutex.release(); in CombinedExtensionString()
754 SK_DECLARE_STATIC_MUTEX(gMutex);758 SkAutoMutexAcquire lock(gMutex); in initializeTests()