Searched defs:lock (Results 1 - 25 of 467) sorted by relevance

1234567891011>>

/external/clang/test/Modules/Inputs/merge-implicit-special-members/
H A Da.h1 struct pthread_mutex_t { int lock; }; member in struct:pthread_mutex_t
H A Db.h1 struct pthread_mutex_t { int lock; }; member in struct:pthread_mutex_t
/external/jemalloc/test/include/test/
H A Dmtx.h10 CRITICAL_SECTION lock; member in struct:__anon9156
12 os_unfair_lock lock;
14 OSSpinLock lock;
16 pthread_mutex_t lock;
/external/webrtc/webrtc/system_wrappers/source/
H A Drw_lock.cc27 RWLockWrapper* lock = RWLockWin::Create(); local
28 if (lock) {
29 return lock;
/external/autotest/client/tests/monotonic_time/src/
H A Dspinlock.h14 static inline void spin_lock(spinlock_t *lock) argument
18 " lock; btsl $0,%0\n"
20 : "=g"(*lock) : : "memory");
23 static inline void spin_unlock(spinlock_t *lock) argument
25 __asm__ __volatile__("movl $0,%0; rep; nop" : "=g"(*lock) :: "memory");
/external/v8/tools/clang/plugins/tests/
H A Dtrivial_ctor.cpp18 MySpinLock lock; local
/external/clang/test/CodeGen/
H A D2003-11-01-C99-CompoundLiteral.c4 typedef struct wait_queue_head_t { spinlock_t lock; } wait_queue_head_t; member in struct:wait_queue_head_t
6 struct wait_queue_head_t work = { lock: (spinlock_t) { 0 }, };
H A D2003-11-04-EmptyStruct.c4 struct fs_struct { rwlock_t lock; int umask; }; member in struct:fs_struct
5 void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
/external/compiler-rt/test/tsan/Darwin/
H A Dosspinlock-norace.cc7 OSSpinLock lock; variable
10 OSSpinLockLock(&lock);
12 OSSpinLockUnlock(&lock);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
H A Dunlock.pass.cpp27 void lock() {} function in struct:mutex
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
H A Dmember_swap.pass.cpp23 void lock() {} function in struct:mutex
H A Dnonmember_swap.pass.cpp24 void lock() {} function in struct:mutex
H A Drelease.pass.cpp25 void lock() {++lock_count;} function in struct:mutex
/external/libunwind_llvm/src/
H A DRWMutex.hpp31 bool lock() { return true; } function in class:libunwind::RWMutex
47 bool lock() {
66 bool lock() { return pthread_rwlock_wrlock(&_lock) == 0; }
/external/libvpx/libvpx/vpx_ports/
H A Dvpx_once.h36 * bar() will never be called because the lock is used up
120 static pthread_once_t lock = PTHREAD_ONCE_INIT; local
121 pthread_once(&lock, func);
/external/ImageMagick/Magick++/lib/
H A DThread.cpp84 void Magick::MutexLock::lock(void) function in class:Magick::MutexLock
92 throwExceptionExplicit(MagickCore::OptionError,"mutex lock failed",
98 throwExceptionExplicit(MagickCore::OptionError,"mutex lock failed");
/external/boringssl/src/crypto/pool/
H A Dinternal.h37 CRYPTO_MUTEX lock; member in struct:crypto_buffer_pool_st
/external/libchrome/base/task_scheduler/
H A Dscheduler_lock.h13 #include "base/synchronization/lock.h"
19 // SchedulerLock should be used anywhere a lock would be used in the scheduler.
20 // When DCHECK_IS_ON(), lock checking occurs. Otherwise, SchedulerLock is
25 // Default constructor, no predecessor lock.
27 // On Acquisition if any scheduler lock is acquired on this thread.
30 // Constructor that specifies an allowed predecessor for that lock.
32 // On Construction if |predecessor| forms a predecessor lock cycle.
33 // On Acquisition if the previous lock acquired on the thread is not
34 // |predecessor|. Okay if there was no previous lock acquired.
37 // Acquires the lock
70 AutoSchedulerLock(SchedulerLock& lock) argument
[all...]
/external/libcxx/src/
H A Dshared_mutex.cpp27 __shared_mutex_base::lock() function in class:__shared_mutex_base
108 void shared_timed_mutex::lock() { return __base.lock(); } function in class:shared_timed_mutex
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
H A Dadopt_lock.pass.cpp27 void lock() { assert(!locked); locked = true; } function in struct:TestMutex
44 m1.lock();
54 m1.lock(); m2.lock();
64 m1.lock(); m2.lock(); m3.lock();
/external/ltp/testcases/network/nfs/nfslock01/
H A Dnfs_flock_func.c8 struct flock lock; local
10 lock.l_type = type;
11 lock.l_start = offset;
12 lock.l_whence = whence;
13 lock.l_len = len;
15 return (fcntl(fd, cmd, &lock));
20 struct flock lock; local
22 lock.l_type = type;
23 lock.l_start = offset;
24 lock
[all...]
/external/parameter-framework/asio/include/asio/detail/
H A Dposix_mutex.hpp46 void lock() function in class:asio::detail::posix_mutex
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dposix_mutex.hpp46 void lock() function in class:asio::detail::posix_mutex
/external/pdfium/third_party/base/allocator/partition_allocator/
H A Dspin_lock.h18 // cores. For any potentially longer wait you should use a real lock, such as
22 // result in an uninitialized lock, which is dangerously incorrect.
32 ALWAYS_INLINE void lock() { function in class:pdfium::base::subtle::SpinLock
43 // This is called if the initial attempt to acquire the lock fails. It's
/external/protobuf/editors/
H A Dprotobuf-mode.el158 (defconst protobuf-font-lock-keywords-1 (c-lang-const c-matchers-1 protobuf)
161 (defconst protobuf-font-lock-keywords-2 (c-lang-const c-matchers-2 protobuf)
164 (defconst protobuf-font-lock-keywords-3 (c-lang-const c-matchers-3 protobuf)
167 (defvar protobuf-font-lock-keywords protobuf-font-lock-keywords-3

Completed in 995 milliseconds

1234567891011>>