Home
last modified time | relevance | path

Searched refs:g_lock (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/rand_extra/
Dforkunsafe.c26 static struct CRYPTO_STATIC_MUTEX g_lock = CRYPTO_STATIC_MUTEX_INIT; variable
35 CRYPTO_STATIC_MUTEX_lock_write(&g_lock); in RAND_enable_fork_unsafe_buffering()
37 CRYPTO_STATIC_MUTEX_unlock_write(&g_lock); in RAND_enable_fork_unsafe_buffering()
42 CRYPTO_STATIC_MUTEX_lock_read(&g_lock); in rand_fork_unsafe_buffering_enabled()
44 CRYPTO_STATIC_MUTEX_unlock_read(&g_lock); in rand_fork_unsafe_buffering_enabled()
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_ios.mm31 static rtc::GlobalLockPod g_lock;
38 static int g_audio_session_users GUARDED_BY(g_lock) = 0;
125 EXCLUSIVE_LOCKS_REQUIRED(g_lock) {
218 rtc::GlobalLockScope ls(&g_lock);
243 rtc::GlobalLockScope ls(&g_lock);
348 rtc::GlobalLockScope ls(&g_lock);