Home
last modified time | relevance | path

Searched refs:g_lock (Results 1 – 5 of 5) 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/rust/crates/quiche/deps/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/libchrome/base/test/
Dmock_log.cc12 Lock MockLog::g_lock; member in base::test::MockLog
24 AutoLock scoped_lock(g_lock); in StartCapturingLogs()
39 AutoLock scoped_lock(g_lock); in StopCapturingLogs()
62 AutoLock scoped_lock(g_lock); in LogMessageHandler()
Dmock_log.h78 static Lock g_lock; variable
/external/libchrome/base/trace_event/
Dtrace_category_unittest.cc39 static LazyInstance<Lock>::Leaky g_lock = LAZY_INSTANCE_INITIALIZER; in GetOrCreateCategoryByName() local
43 AutoLock lock(g_lock.Get()); in GetOrCreateCategoryByName()