/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractService.java | 42 private final ReentrantLock lock = new ReentrantLock(); field in class:AbstractService 49 * shutdownWhenStartupFinishes is true. Guarded by {@code lock}. 55 * up. Guarded by {@code lock}. 86 lock.lock(); 96 lock.unlock(); 104 lock.lock(); 121 lock.unlock(); 146 lock.lock() [all...] |
/external/kernel-headers/original/linux/ |
blockgroup_lock.h | 37 spinlock_t lock; member in struct:bgl_lock 49 spin_lock_init(&bgl->locks[i].lock); 57 (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
Mutex.cpp | 71 ** Function: lock 73 ** Description: Block the thread and try lock the mutex. 78 void Mutex::lock () function in class:Mutex 83 ALOGE ("Mutex::lock: fail lock; error=0x%X", res); 111 ** Description: Try to lock the mutex.
|
/external/protobuf/editors/ |
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
|
/external/skia/src/gpu/gl/ |
GrGLIndexBuffer.cpp | 29 void* GrGLIndexBuffer::lock() { function in class:GrGLIndexBuffer 31 return fImpl.lock(this->getGpuGL());
|
GrGLVertexBuffer.cpp | 30 void* GrGLVertexBuffer::lock() { function in class:GrGLVertexBuffer 32 return fImpl.lock(this->getGpuGL());
|
/external/skia/src/utils/ |
SkCondVar.cpp | 30 void SkCondVar::lock() { function in class:SkCondVar
|
/external/smack/src/com/kenai/jbosh/ |
ApacheHTTPResponse.java | 20 import java.util.concurrent.locks.Lock; 63 * Lock used for internal synchronization. 65 private final Lock lock = new ReentrantLock(); field in class:ApacheHTTPResponse 184 lock.lock(); 190 lock.unlock(); 206 lock.lock(); 212 lock.unlock() [all...] |
ApacheHTTPSender.java | 19 import java.util.concurrent.locks.Lock; 45 * Lock used for internal synchronization. 47 private final Lock lock = new ReentrantLock(); field in class:ApacheHTTPSender 77 lock.lock(); 82 lock.unlock(); 90 lock.lock(); 98 lock.unlock() [all...] |
/external/valgrind/main/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:__anon30855 20 pthread_mutex_init( &xx->lock, NULL ); 22 pthread_mutex_lock( &xx->lock );
|
/frameworks/av/include/private/media/ |
AudioEffectShared.h | 37 Mutex lock; member in struct:android::effect_param_cblk_t 43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
|
/frameworks/compile/libbcc/include/bcc/Support/ |
File.h | 53 inline bool lock(enum LockModeEnum pMode = static_cast<enum LockModeEnum>( function in class:bcc::File 59 return FileBase::lock(pMode, pNonblocking, pMaxRetry, pRetryInterval);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
CyclicBarrier.java | 111 * using the barrier - due to the non-deterministic way the lock 122 /** The lock for guarding barrier entry */ 123 private final ReentrantLock lock = new ReentrantLock(); field in class:CyclicBarrier 125 private final Condition trip = lock.newCondition(); 142 * Called only while holding lock. 154 * Called only while holding lock. 168 final ReentrantLock lock = this.lock; local 169 lock.lock(); 413 final ReentrantLock lock = this.lock; local 432 final ReentrantLock lock = this.lock; local 449 final ReentrantLock lock = this.lock; local [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Lock.java | 11 * {@code Lock} implementations provide more extensive locking 17 * <p>A lock is a tool for controlling access to a shared resource by 18 * multiple threads. Commonly, a lock provides exclusive access to a 19 * shared resource: only one thread at a time can acquire the lock and 20 * all access to the shared resource requires that the lock be 22 * a shared resource, such as the read lock of a {@link ReadWriteLock}. 25 * access to the implicit monitor lock associated with every object, but 26 * forces all lock acquisition and release to occur in a block-structured way: 38 * acquire the lock of node A, then node B, then release A and acquire 40 * {@code Lock} interface enable the use of such techniques b 155 void lock(); method in interface:Lock [all...] |
/packages/apps/Nfc/nci/jni/ |
Mutex.cpp | 68 ** Function: lock 70 ** Description: Block the thread and try lock the mutex. 75 void Mutex::lock () function in class:Mutex 80 ALOGE ("Mutex::lock: fail lock; error=0x%X", res); 108 ** Description: Try to lock the mutex.
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
blockgroup_lock.h | 21 spinlock_t lock; member in struct:bgl_lock 28 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|