/external/clang/test/Modules/Inputs/merge-implicit-special-members/ |
H A D | a.h | 1 struct pthread_mutex_t { int lock; }; member in struct:pthread_mutex_t
|
H A D | b.h | 1 struct pthread_mutex_t { int lock; }; member in struct:pthread_mutex_t
|
/external/jemalloc/test/include/test/ |
H A D | mtx.h | 10 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 D | rw_lock.cc | 27 RWLockWrapper* lock = RWLockWin::Create(); local 28 if (lock) { 29 return lock;
|
/external/autotest/client/tests/monotonic_time/src/ |
H A D | spinlock.h | 14 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 D | trivial_ctor.cpp | 18 MySpinLock lock; local
|
/external/clang/test/CodeGen/ |
H A D | 2003-11-01-C99-CompoundLiteral.c | 4 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 D | 2003-11-04-EmptyStruct.c | 4 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 D | osspinlock-norace.cc | 7 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 D | unlock.pass.cpp | 27 void lock() {} function in struct:mutex
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/ |
H A D | member_swap.pass.cpp | 23 void lock() {} function in struct:mutex
|
H A D | nonmember_swap.pass.cpp | 24 void lock() {} function in struct:mutex
|
H A D | release.pass.cpp | 25 void lock() {++lock_count;} function in struct:mutex
|
/external/libunwind_llvm/src/ |
H A D | RWMutex.hpp | 31 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 D | vpx_once.h | 36 * 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 D | Thread.cpp | 84 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 D | internal.h | 37 CRYPTO_MUTEX lock; member in struct:crypto_buffer_pool_st
|
/external/libchrome/base/task_scheduler/ |
H A D | scheduler_lock.h | 13 #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 D | shared_mutex.cpp | 27 __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 D | adopt_lock.pass.cpp | 27 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 D | nfs_flock_func.c | 8 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 D | posix_mutex.hpp | 46 void lock() function in class:asio::detail::posix_mutex
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
H A D | posix_mutex.hpp | 46 void lock() function in class:asio::detail::posix_mutex
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
H A D | spin_lock.h | 18 // 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 D | protobuf-mode.el | 158 (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
|