/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
D | release.pass.cpp | 23 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/ |
D | release.pass.cpp | 24 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/ |
D | sigslot_unittest.cc | 113 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/skia/src/compute/skc/platforms/cl_12/ |
D | styling_cl_12.c | 174 SKC_SCHEDULER_WAIT_WHILE(scheduler,impl->lock_count > 0); in skc_styling_pfn_unseal() 231 SKC_SCHEDULER_WAIT_WHILE(scheduler,impl->lock_count > 0) in skc_styling_pfn_release() 261 styling->impl->lock_count += 1; in skc_styling_retain_and_lock() 267 styling->impl->lock_count -= 1; in skc_styling_unlock_and_release() 301 impl->lock_count = 0; in skc_styling_cl_12_create()
|
D | styling_cl_12.h | 46 skc_int lock_count; // # of wip renders member
|
D | composition_cl_12.c | 495 SKC_SCHEDULER_WAIT_WHILE(scheduler,impl->lock_count > 0); in skc_composition_unseal_block() 741 composition->impl->lock_count += 1; in skc_composition_retain_and_lock() 747 composition->impl->lock_count -= 1; in skc_composition_unlock_and_release() 787 impl->lock_count = 0; in skc_composition_cl_12_create()
|
D | composition_cl_12.h | 47 skc_int lock_count; // wip renders member
|
/external/skqp/src/compute/skc/platforms/cl_12/ |
D | styling_cl_12.c | 174 SKC_SCHEDULER_WAIT_WHILE(scheduler,impl->lock_count > 0); in skc_styling_pfn_unseal() 231 SKC_SCHEDULER_WAIT_WHILE(scheduler,impl->lock_count > 0) in skc_styling_pfn_release() 261 styling->impl->lock_count += 1; in skc_styling_retain_and_lock() 267 styling->impl->lock_count -= 1; in skc_styling_unlock_and_release() 301 impl->lock_count = 0; in skc_styling_cl_12_create()
|
D | styling_cl_12.h | 46 skc_int lock_count; // # of wip renders member
|
D | composition_cl_12.c | 495 SKC_SCHEDULER_WAIT_WHILE(scheduler,impl->lock_count > 0); in skc_composition_unseal_block() 741 composition->impl->lock_count += 1; in skc_composition_retain_and_lock() 747 composition->impl->lock_count -= 1; in skc_composition_unlock_and_release() 787 impl->lock_count = 0; in skc_composition_cl_12_create()
|
D | composition_cl_12.h | 47 skc_int lock_count; // wip renders member
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | volume9.c | 81 This->lock_count = 0; in NineVolume9_ctor() 264 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL); in NineVolume9_LockBox() 354 ++This->lock_count; in NineVolume9_LockBox() 363 DBG("This=%p lock_count=%u\n", This, This->lock_count); in NineVolume9_UnlockBox() 364 user_assert(This->lock_count, D3DERR_INVALIDCALL); in NineVolume9_UnlockBox() 371 --This->lock_count; in NineVolume9_UnlockBox()
|
D | surface9.c | 424 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL); in NineSurface9_LockRect() 532 ++This->lock_count; in NineSurface9_LockRect() 540 DBG("This=%p lock_count=%u\n", This, This->lock_count); in NineSurface9_UnlockRect() 541 user_assert(This->lock_count, D3DERR_INVALIDCALL); in NineSurface9_UnlockRect() 548 --This->lock_count; in NineSurface9_UnlockRect() 796 assert(!This->lock_count); in NineSurface9_SetResourceResize()
|
D | volume9.h | 55 unsigned lock_count; member
|
D | surface9.h | 40 int lock_count; member
|
D | device9.c | 1285 user_assert(!src->lock_count, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1286 user_assert(!dst->lock_count, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface()
|
/external/u-boot/drivers/power/fuel_gauge/ |
D | fg_max17042.c | 70 u32 lock_count; in por_fuelgauge_init() local 83 lock_count = 5; in por_fuelgauge_init() 140 if (!lock_count--) { in por_fuelgauge_init()
|
/external/python/cpython2/Python/ |
D | thread_beos.h | 169 static int32 lock_count = 0; variable 186 this_lock = atomic_add( &lock_count, 1 ); in PyThread_allocate_lock()
|
D | thread_atheos.h | 151 static atomic_t lock_count = 0; variable 172 this_lock = atomic_add(&lock_count, 1); in PyThread_allocate_lock()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_locks.py | 208 lock_count = 0 212 nonlocal lock_count 216 lock_count += 1 241 self.assertEqual(lock_count, 1)
|