/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/shared_lock/mod/ |
D | release_pass.cpp | 26 static int lock_count; member 30 ++lock_count; in lock_shared() 38 int shared_mutex::lock_count = 0; member in shared_mutex 48 BOOST_TEST(shared_mutex::lock_count == 1); in main() 53 BOOST_TEST(shared_mutex::lock_count == 1); in main()
|
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/mod/ |
D | release_pass.cpp | 26 static int lock_count; member 30 ++lock_count; in lock() 38 int mutex::lock_count = 0; member in mutex 48 BOOST_TEST(mutex::lock_count == 1); in main() 53 BOOST_TEST(mutex::lock_count == 1); in main()
|
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/upgrade_lock/mod/ |
D | release_pass.cpp | 26 static int lock_count; member 30 ++lock_count; in lock_upgrade() 38 int shared_mutex::lock_count = 0; member in shared_mutex 48 BOOST_TEST(shared_mutex::lock_count == 1); in main() 53 BOOST_TEST(shared_mutex::lock_count == 1); in main()
|
/third_party/boost/boost/thread/ |
D | lock_algorithms.hpp | 146 unsigned const lock_count = 2; in lock_impl() local 159 lock_first = (lock_first + 1) % lock_count; in lock_impl() 196 unsigned const lock_count = 3; in lock() local 209 lock_first = (lock_first + 1) % lock_count; in lock() 214 lock_first = (lock_first + 2) % lock_count; in lock() 223 unsigned const lock_count = 4; in lock() local 236 lock_first = (lock_first + 1) % lock_count; in lock() 241 lock_first = (lock_first + 2) % lock_count; in lock() 246 lock_first = (lock_first + 3) % lock_count; in lock() 255 unsigned const lock_count = 5; in lock() local [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | corevideomemory.c | 54 gpixbuf->lock_count = 0; in gst_apple_core_video_pixel_buffer_new() 72 gpixbuf, gpixbuf->lock_count); in gst_apple_core_video_pixel_buffer_unref() 154 g_atomic_int_inc (&gpixbuf->lock_count); in gst_apple_core_video_pixel_buffer_lock() 161 _lock_state_names[gpixbuf->lock_state], gpixbuf->lock_count); in gst_apple_core_video_pixel_buffer_lock() 185 if (!g_atomic_int_dec_and_test (&gpixbuf->lock_count)) { in gst_apple_core_video_pixel_buffer_unlock() 198 g_atomic_int_inc (&gpixbuf->lock_count); in gst_apple_core_video_pixel_buffer_unlock() 212 _lock_state_names[gpixbuf->lock_state], gpixbuf->lock_count); in gst_apple_core_video_pixel_buffer_unlock()
|
D | corevideomemory.h | 62 guint lock_count; member
|
/third_party/mbedtls/library/ |
D | psa_crypto_slot_management.c | 165 slot->lock_count = 1; in psa_wipe_all_key_slots() 211 selected_slot->lock_count = 1; in psa_get_empty_key_slot() 409 if( slot->lock_count > 0 ) in psa_unlock_key_slot() 411 slot->lock_count--; in psa_unlock_key_slot() 423 MBEDTLS_TEST_HOOK_TEST_ASSERT( slot->lock_count > 0 ); in psa_unlock_key_slot() 524 if( slot->lock_count <= 1 ) in psa_close_key() 540 ( slot->lock_count <= 1 ) ) in psa_purge_key()
|
D | psa_crypto_slot_management.h | 142 if( slot->lock_count >= SIZE_MAX ) in psa_lock_key_slot() 145 slot->lock_count++; in psa_lock_key_slot()
|
D | psa_crypto_core.h | 79 size_t lock_count; member 119 return( slot->lock_count > 0 ); in psa_is_key_slot_locked()
|
D | psa_crypto.c | 996 if( slot->lock_count != 1 ) in psa_wipe_key_slot() 998 MBEDTLS_TEST_HOOK_TEST_ASSERT( slot->lock_count == 1 ); in psa_wipe_key_slot() 1044 if( slot->lock_count > 1 ) in psa_destroy_key()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | volume9.c | 81 This->lock_count = 0; in NineVolume9_ctor() 269 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL); in NineVolume9_LockBox() 364 ++This->lock_count; in NineVolume9_LockBox() 373 DBG("This=%p lock_count=%u\n", This, This->lock_count); in NineVolume9_UnlockBox() 374 user_assert(This->lock_count, D3DERR_INVALIDCALL); in NineVolume9_UnlockBox() 381 --This->lock_count; in NineVolume9_UnlockBox()
|
D | surface9.c | 233 if (!is_worker && This->lock_count && (This->data_internal || This->data)) { in NineSurface9_dtor() 445 user_assert(This->lock_count == 0, D3DERR_INVALIDCALL); in NineSurface9_LockRect() 551 ++This->lock_count; in NineSurface9_LockRect() 560 DBG("This=%p lock_count=%u\n", This, This->lock_count); in NineSurface9_UnlockRect() 561 user_assert(This->lock_count, D3DERR_INVALIDCALL); in NineSurface9_UnlockRect() 568 --This->lock_count; in NineSurface9_UnlockRect() 846 assert(!This->lock_count); in NineSurface9_SetResourceResize()
|
D | volume9.h | 55 unsigned lock_count; member
|
D | surface9.h | 41 int lock_count; member
|
D | device9.c | 1423 user_assert(!src->lock_count, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface() 1424 user_assert(!dst->lock_count, D3DERR_INVALIDCALL); in NineDevice9_UpdateSurface()
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_locks.py | 207 lock_count = 0 211 nonlocal lock_count 215 lock_count += 1 236 self.assertEqual(lock_count, 1)
|