Home
last modified time | relevance | path

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

/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
Drelease.pass.cpp23 static int lock_count; member
25 void lock() {++lock_count;} in lock()
29 int mutex::lock_count = 0; member in mutex
39 assert(mutex::lock_count == 1); in main()
44 assert(mutex::lock_count == 1); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
Drelease.pass.cpp24 static int lock_count; member
26 void lock_shared() {++lock_count;} in lock_shared()
30 int mutex::lock_count = 0; member in mutex
40 assert(mutex::lock_count == 1); in main()
45 assert(mutex::lock_count == 1); in main()
/external/webrtc/webrtc/base/
Dsigslot_unittest.cc113 int lock_count() { return lock_count_; } in lock_count() function in multi_threaded_local_fake
145 int SlotLockCount() { return mt_receiver_.lock_count(); } in SlotLockCount()
147 int SignalLockCount() { return SignalMTLoopback.lock_count(); } in SignalLockCount()
222 const int lock_count = SignalLockCount(); in TEST_F() local
225 EXPECT_EQ(lock_count + 1, SignalLockCount()); in TEST_F()
/external/drm_gralloc/
Dgralloc_drm.cpp367 if (bo->lock_count && (bo->locked_for & usage) != usage) in gralloc_drm_bo_lock()
385 bo->lock_count++; in gralloc_drm_bo_lock()
399 if (!bo->lock_count) in gralloc_drm_bo_unlock()
405 bo->lock_count--; in gralloc_drm_bo_unlock()
406 if (!bo->lock_count) in gralloc_drm_bo_unlock()
Dgralloc_drm_priv.h85 int lock_count; member