/external/pigweed/pw_sync_embos/ |
D | timed_mutex.cc | 42 const int lock_count = OS_UseTimed( in try_lock_for() local 44 if (lock_count != 0) { in try_lock_for() 45 PW_CHECK_UINT_EQ(1, lock_count, "Recursive locking is not permitted"); in try_lock_for() 50 const int lock_count = OS_UseTimed( in try_lock_for() local 52 PW_CHECK_UINT_LE(1, lock_count, "Recursive locking is not permitted"); in try_lock_for() 53 return lock_count == 1; in try_lock_for()
|
/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/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
D | release.pass.cpp | 24 static int lock_count; member 26 void lock() {++lock_count;} in lock() 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/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/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
D | release.pass.cpp | 25 static int lock_count; member 27 void lock_shared() {++lock_count;} in lock_shared() 31 int mutex::lock_count = 0; member in mutex 41 assert(mutex::lock_count == 1); in main() 46 assert(mutex::lock_count == 1); in main()
|
/external/rust/crates/lock_api/src/ |
D | remutex.rs | 62 lock_count: Cell<usize>, field 75 lock_count: Cell::new(0), 84 self.lock_count.set( in lock_internal() 85 self.lock_count in lock_internal() 95 debug_assert_eq!(self.lock_count.get(), 0); in lock_internal() 96 self.lock_count.set(1); in lock_internal() 125 let lock_count = self.lock_count.get() - 1; in unlock() localVariable 126 self.lock_count.set(lock_count); in unlock() 127 if lock_count == 0 { in unlock() 150 let lock_count = self.lock_count.get() - 1; in unlock_fair() localVariable [all …]
|
/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.h | 47 skc_int lock_count; // 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()
|
/external/pigweed/pw_sync_embos/public/pw_sync_embos/ |
D | mutex_inline.h | 29 const int lock_count = OS_Use(&native_type_); in lock() local 30 PW_ASSERT(lock_count == 1); // Recursive locking is not permitted. in lock()
|
/external/webrtc/rtc_base/ |
D | sigslot_unittest.cc | 108 int lock_count() { return lock_count_; } in lock_count() function in multi_threaded_local_fake 140 int SlotLockCount() { return mt_receiver_.lock_count(); } in SlotLockCount() 142 int SignalLockCount() { return SignalMTLoopback.lock_count(); } in SignalLockCount() 217 const int lock_count = SignalLockCount(); in TEST_F() local 220 EXPECT_EQ(lock_count + 1, SignalLockCount()); in TEST_F()
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | volume9.c | 81 This->lock_count = 0; in NineVolume9_ctor() 270 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL); in NineVolume9_LockBox() 365 ++This->lock_count; in NineVolume9_LockBox() 374 DBG("This=%p lock_count=%u\n", This, This->lock_count); in NineVolume9_UnlockBox() 375 user_assert(This->lock_count, D3DERR_INVALIDCALL); in NineVolume9_UnlockBox() 382 --This->lock_count; in NineVolume9_UnlockBox()
|
D | surface9.c | 431 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL); in NineSurface9_LockRect() 544 ++This->lock_count; in NineSurface9_LockRect() 553 DBG("This=%p lock_count=%u\n", This, This->lock_count); in NineSurface9_UnlockRect() 554 user_assert(This->lock_count, D3DERR_INVALIDCALL); in NineSurface9_UnlockRect() 561 --This->lock_count; in NineSurface9_UnlockRect() 820 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 | 1377 user_assert(!src->lock_count, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1378 user_assert(!dst->lock_count, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface()
|
/external/python/cpython2/Python/ |
D | thread_atheos.h | 151 static atomic_t lock_count = 0; variable 172 this_lock = atomic_add(&lock_count, 1); in PyThread_allocate_lock()
|
D | thread_beos.h | 169 static int32 lock_count = 0; variable 186 this_lock = atomic_add( &lock_count, 1 ); in PyThread_allocate_lock()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_locks.py | 215 lock_count = 0 219 nonlocal lock_count 223 lock_count += 1 248 self.assertEqual(lock_count, 1)
|
/external/rust/crates/parking_lot/ |
D | CHANGELOG.md | 68 - Debug assert lock_count in ReentrantMutex (#148)
|
/external/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 258 lock_count: i32, 1003 lock_count: 0,
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | PR25007-sdhci.ko.abi | 7272 …<var-decl name='lock_count' type-id='type-id-7' visibility='default' filepath='/ws/android/kernel/…
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 6617 …<var-decl name="lock_count" type-id="d3130597" visibility="default" filepath="include/linux/lockre… 35670 …<var-decl name="lock_count" type-id="7359adad" visibility="default" filepath="include/drm/drm_file… 37689 …<var-decl name="lock_count" type-id="7359adad" visibility="default" filepath="include/drm/drm_file… 79019 …<var-decl name="lock_count" type-id="d3130597" visibility="default" filepath="include/linux/lockre…
|
D | test-PR27569-v0.abi | 6617 …<var-decl name="lock_count" type-id="d3130597" visibility="default" filepath="include/linux/lockre… 35641 …<var-decl name="lock_count" type-id="7359adad" visibility="default" filepath="include/drm/drm_file… 37660 …<var-decl name="lock_count" type-id="7359adad" visibility="default" filepath="include/drm/drm_file… 79005 …<var-decl name="lock_count" type-id="d3130597" visibility="default" filepath="include/linux/lockre…
|