/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
spinlock_32.h | 26 #define _raw_spin_relax(lock) cpu_relax() 27 #define _raw_read_relax(lock) cpu_relax() 28 #define _raw_write_relax(lock) cpu_relax()
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
spinlock_32.h | 26 #define _raw_spin_relax(lock) cpu_relax() 27 #define _raw_read_relax(lock) cpu_relax() 28 #define _raw_write_relax(lock) cpu_relax()
|
/external/kernel-headers/original/uapi/linux/ |
dlmconstants.h | 26 * Lock Modes 43 * Do not queue the lock request on the wait queue if it cannot be granted 44 * immediately. If the lock cannot be granted because of this flag, DLM will 46 * dlm_lock and -EAGAIN in the lock status block when the AST is executed. 50 * Used to cancel a pending lock request or conversion. A converting lock is 55 * Indicates a lock conversion request. For conversions the name and namelen 56 * are ignored and the lock ID in the LKSB is used to identify the lock. 60 * Requests DLM to return the current contents of the lock value block in th [all...] |
/external/libcxx/include/ |
condition_variable | 34 void wait(unique_lock<mutex>& lock); 36 void wait(unique_lock<mutex>& lock, Predicate pred); 40 wait_until(unique_lock<mutex>& lock, 45 wait_until(unique_lock<mutex>& lock, 51 wait_for(unique_lock<mutex>& lock, 56 wait_for(unique_lock<mutex>& lock, 78 template <class Lock> 79 void wait(Lock& lock); 80 template <class Lock, class Predicate [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
condition_variable | 34 void wait(unique_lock<mutex>& lock); 36 void wait(unique_lock<mutex>& lock, Predicate pred); 40 wait_until(unique_lock<mutex>& lock, 45 wait_until(unique_lock<mutex>& lock, 51 wait_for(unique_lock<mutex>& lock, 56 wait_for(unique_lock<mutex>& lock, 78 template <class Lock> 79 void wait(Lock& lock); 80 template <class Lock, class Predicate [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
dlmconstants.h | 26 * Lock Modes 43 * Do not queue the lock request on the wait queue if it cannot be granted 44 * immediately. If the lock cannot be granted because of this flag, DLM will 46 * dlm_lock and -EAGAIN in the lock status block when the AST is executed. 50 * Used to cancel a pending lock request or conversion. A converting lock is 55 * Indicates a lock conversion request. For conversions the name and namelen 56 * are ignored and the lock ID in the LKSB is used to identify the lock. 60 * Requests DLM to return the current contents of the lock value block in th [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
dlmconstants.h | 26 * Lock Modes 43 * Do not queue the lock request on the wait queue if it cannot be granted 44 * immediately. If the lock cannot be granted because of this flag, DLM will 46 * dlm_lock and -EAGAIN in the lock status block when the AST is executed. 50 * Used to cancel a pending lock request or conversion. A converting lock is 55 * Indicates a lock conversion request. For conversions the name and namelen 56 * are ignored and the lock ID in the LKSB is used to identify the lock. 60 * Requests DLM to return the current contents of the lock value block in th [all...] |
/prebuilts/ndk/9/sources/cxx-stl/llvm-libc++/libcxx/include/ |
condition_variable | 34 void wait(unique_lock<mutex>& lock); 36 void wait(unique_lock<mutex>& lock, Predicate pred); 40 wait_until(unique_lock<mutex>& lock, 45 wait_until(unique_lock<mutex>& lock, 51 wait_for(unique_lock<mutex>& lock, 56 wait_for(unique_lock<mutex>& lock, 78 template <class Lock> 79 void wait(Lock& lock); 80 template <class Lock, class Predicate [all...] |
/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
lock.pass.cpp | 15 // void lock(L1&, L2&, L3&...); 27 void lock() function in class:L0 50 void lock() function in class:L1 73 void lock() function in class:L2 94 std::lock(l0, l1); 101 std::lock(l0, l1); 108 std::lock(l0, l1); 117 std::lock(l0, l1); 131 std::lock(l0, l1); 145 std::lock(l0, l1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock.algorithm/ |
lock.pass.cpp | 13 // void lock(L1&, L2&, L3&...); 25 void lock() function in class:L0 48 void lock() function in class:L1 71 void lock() function in class:L2 92 std::lock(l0, l1); 99 std::lock(l0, l1); 106 std::lock(l0, l1); 115 std::lock(l0, l1); 129 std::lock(l0, l1); 143 std::lock(l0, l1) [all...] |
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
StripedBenchmark.java | 35 import java.util.concurrent.locks.Lock; 43 private static final Supplier<Lock> LOCK_SUPPLIER = new Supplier<Lock>() { 44 @Override public Lock get() { 54 @Override Striped<Lock> get(int stripes) { 55 return Striped.lock(stripes); 59 @Override Striped<Lock> get(int stripes) { 60 return new Striped.SmallLazyStriped<Lock>(stripes, LOCK_SUPPLIER); 64 @Override Striped<Lock> get(int stripes) { 65 return new Striped.LargeLazyStriped<Lock>(stripes, LOCK_SUPPLIER) [all...] |
/external/llvm/include/llvm/Support/ |
LockFileManager.h | 19 /// \brief Class that manages the creation of a lock file to aid 22 /// The implicit coordination works by creating a ".lock" file alongside 24 /// system to ensure that only a single process can create that ".lock" file. 25 /// When the lock file is removed, the owning process has finished the 29 /// \brief Describes the state of a lock file. 31 /// \brief The lock file has been created and is owned by this instance 34 /// \brief The lock file already exists and is owned by some other 37 /// \brief An error occurred while trying to create or find the lock 42 /// \brief Describes the result of waiting for the owner to release the lock. 44 /// \brief The lock was released successfully [all...] |
/external/compiler-rt/lib/builtins/ |
atomic.c | 20 * To avoid needing a per-object lock, this code allocates an array of 22 * For operations that must be atomic on two locations, the lower lock is 49 // Platform-specific lock implementation. Falls back to spinlocks if none is 50 // defined. Each platform should define the Lock type, and corresponding 51 // lock() and unlock() functions. 58 typedef struct _usem Lock; 59 inline static void unlock(Lock *l) { 65 inline static void lock(Lock *l) { function 74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} } 84 inline static void lock(Lock *l) { function 97 inline static void lock(Lock *l) { function [all...] |
/hardware/qcom/display/msm8960/libgenlock/ |
genlock.cpp | 48 /* Internal function to map the userspace locks to the kernel lock types */ 52 // If the user sets both a read and write lock, higher preference is 53 // given to the write lock. 66 /* Internal function to perform the actual lock/unlock operations */ 80 ALOGE("%s: the lock has not been created," 85 genlock_lock lock; local 86 lock.op = lockType; 87 lock.flags = flags; 88 lock.timeout = timeout; 89 lock.fd = hnd->genlockHandle 162 genlock_lock lock; local 247 genlock_lock lock; local 339 genlock_lock lock; local [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
DelayQueue.java | 45 private final transient ReentrantLock lock = new ReentrantLock(); field in class:DelayQueue 71 private final Condition available = lock.newCondition(); 109 final ReentrantLock lock = this.lock; local 110 lock.lock(); 119 lock.unlock(); 156 final ReentrantLock lock = this.lock; local 157 lock.lock() 177 final ReentrantLock lock = this.lock; local 222 final ReentrantLock lock = this.lock; local 272 final ReentrantLock lock = this.lock; local 282 final ReentrantLock lock = this.lock; local 313 final ReentrantLock lock = this.lock; local 363 final ReentrantLock lock = this.lock; local 396 final ReentrantLock lock = this.lock; local 441 final ReentrantLock lock = this.lock; local 455 final ReentrantLock lock = this.lock; local 468 final ReentrantLock lock = this.lock; local [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
SimpleXYSeries.java | 40 lock.readLock().lock();
45 lock.readLock().unlock();
56 private ReentrantReadWriteLock lock = new ReentrantReadWriteLock(true);
field in class:SimpleXYSeries 95 lock.writeLock().lock();
99 lock.writeLock().unlock();
111 lock.writeLock().lock();
155 lock.writeLock().unlock(); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
ReentrantReadWriteLock.java | 21 * ordering for lock access. However, it does support an optional 27 * to the read and write lock is unspecified, subject to reentrancy 28 * constraints. A nonfair lock that is continuously contended may 30 * will normally have higher throughput than a fair lock. 35 * approximately arrival-order policy. When the currently held lock 37 * be assigned the write lock, or if there is a group of reader threads 39 * assigned the read lock. 41 * <p>A thread that tries to acquire a fair read lock (non-reentrantly) 42 * will block if either the write lock is held, or there is a waiting 43 * writer thread. The thread will not acquire the read lock unti 699 public void lock() { method in class:ReentrantReadWriteLock.ReadLock 915 public void lock() { method in class:ReentrantReadWriteLock.WriteLock [all...] |
/external/llvm/test/CodeGen/X86/ |
atomic6432.ll | 11 ; X32: lock 16 ; X32: lock 21 ; X32: lock 26 ; X32: lock 37 ; X32: lock 42 ; X32: lock 47 ; X32: lock 52 ; X32: lock 63 ; X32: lock 68 ; X32: lock [all...] |
/external/lzma/CPP/7zip/Archive/Common/ |
CrossThreadProgress.cpp | 12 WaitEvent.Lock();
|
/external/sepolicy/ |
neverallow_macros | 4 define(`no_rw_file_perms', `{ no_w_file_perms open read ioctl lock }')
|
/external/skia/include/core/ |
SkOnce.h | 43 // If you've already got a lock and a flag to use, this variant lets you avoid an extra SkOnceFlag. 44 template <typename Lock> 45 inline void SkOnce(bool* done, Lock* lock, void (*f)()); 47 template <typename Lock, typename Arg> 48 inline void SkOnce(bool* done, Lock* lock, void (*f)(Arg), Arg arg); 72 template <typename Lock, typename Arg> 73 static void sk_once_slow(bool* done, Lock* lock, void (*f)(Arg), Arg arg) [all...] |
/external/valgrind/helgrind/tests/ |
tc04_free_lock.c | 7 /* Delete memory that has a held lock and see what happens. */ 10 pthread_mutex_t lock; int morestuff[2000]; } XX; member in struct:__anon20655 20 pthread_mutex_init( &xx->lock, NULL ); 22 pthread_mutex_lock( &xx->lock );
|
/external/fio/lib/ |
tp.h | 15 pthread_mutex_t lock; member in struct:tp_work 22 pthread_mutex_t lock; member in struct:tp_data
|
/external/jsr305/ri/src/main/java/javax/annotation/concurrent/ |
GuardedBy.java | 19 * when holding a particular lock, which may be a built-in (synchronization) 20 * lock, or may be an explicit java.util.concurrent.Lock. 22 * The argument determines which lock guards the annotated field or method: this : 27 * object to which the field refers. field-name : The lock object is referenced 29 * class-name.field-name : The lock object is reference by the static field 30 * specified by class-name.field-name. method-name() : The lock object is 32 * object for the specified class should be used as the lock object.
|
/external/valgrind/none/tests/ |
pth_mutexspeed.c | 11 printf("begin %d lock--unlocks\n", n); 17 printf("done %d lock--unlocks\n", n);
|