HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 276 - 300 of 1458) sorted by null

<<11121314151617181920>>

  /external/smack/src/com/kenai/jbosh/
RequestIDSequence.java 21 import java.util.concurrent.locks.Lock;
63 * Internal lock.
65 private static final Lock LOCK = new ReentrantLock();
109 LOCK.lock();
115 LOCK.unlock();
  /hardware/qcom/display/msm8960/libgralloc/
gr.h 74 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); }
79 inline void lock() { pthread_mutex_lock(&mutex); } function in class:Locker
  /hardware/qcom/display/msm8974/libgralloc/
gr.h 74 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); }
79 inline void lock() { pthread_mutex_lock(&mutex); } function in class:Locker
  /hardware/qcom/display/msm8x26/libgralloc/
gr.h 74 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); }
79 inline void lock() { pthread_mutex_lock(&mutex); } function in class:Locker
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
FileChannelLockingTest.java 87 // Cannot acquire an exclusive lock on a read-only file channel
89 readOnlyChannel.lock();
90 fail("Acquiring a full exclusive lock on a read only channel should fail.");
95 // Cannot get a shared lock on a write-only file channel.
97 writeOnlyChannel.lock(1, 10, true);
98 fail("Acquiring a shared lock on a write-only channel should fail.");
105 // Acquire an exclusive lock across the entire file.
106 FileLock flock = readWriteChannel.lock();
113 // Cannot lock negative positions
115 readOnlyChannel.lock(-1, 10, true)
189 FileLock lock = readOnlyChannel.tryLock(10, 788, true); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidMonitorTest.java 150 /* Before interrupting, grab the waiter lock, which
295 private static void deepWait(int depth, Object lock) {
296 synchronized (lock) {
298 deepWait(depth - 1, lock);
303 lock.wait();
313 Object lock; field in class:OldAndroidMonitorTest.Worker
316 Worker(int id, Object lock) {
319 this.lock = lock;
326 OldAndroidMonitorTest.deepWait(id, lock);
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/
stdio-lock.h 1 /* Thread package specific definitions of stream lock type. NPTL version.
23 #include <bits/libc-lock.h>
30 typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; member in struct:__anon39132
45 lll_lock ((_name).lock, LLL_PRIVATE); \
57 if (lll_trylock ((_name).lock) == 0) \
75 lll_unlock ((_name).lock, LLL_PRIVATE); \
111 #endif /* bits/stdio-lock.h */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/
stdio-lock.h 1 /* Thread package specific definitions of stream lock type. NPTL version.
23 #include <bits/libc-lock.h>
30 typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; member in struct:__anon40722
45 lll_lock ((_name).lock, LLL_PRIVATE); \
57 if (lll_trylock ((_name).lock) == 0) \
75 lll_unlock ((_name).lock, LLL_PRIVATE); \
111 #endif /* bits/stdio-lock.h */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/
stdio-lock.h 1 /* Thread package specific definitions of stream lock type. NPTL version.
23 #include <bits/libc-lock.h>
30 typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; member in struct:__anon42237
45 lll_lock ((_name).lock, LLL_PRIVATE); \
57 if (lll_trylock ((_name).lock) == 0) \
75 lll_unlock ((_name).lock, LLL_PRIVATE); \
111 #endif /* bits/stdio-lock.h */
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon43451
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon43805
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon44159
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon44578
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]
  /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon44941
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon45365
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]
  /prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon45727
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]
  /prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/
notifier.h 25 spinlock_t lock; member in struct:atomic_notifier_head
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
seqlock.h 20 spinlock_t lock; member in struct:__anon46346
34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
35 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
36 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
38 #define write_sequnlock_irq(lock) do { write_sequnlock(lock); local_irq_enable(); } while(0
    [all...]

Completed in 870 milliseconds

<<11121314151617181920>>