HomeSort by relevance Sort by last modified time
    Searched refs:lock (Results 151 - 175 of 1744) sorted by null

1 2 3 4 5 67 8 91011>>

  /system/extras/tests/bionic/libc/bionic/
test_mutex.c 58 pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; local
78 expect( pthread_mutex_init( &lock, &attr ), 0 );
79 expect( pthread_mutex_lock( &lock ), 0 );
80 expect( pthread_mutex_unlock( &lock ), 0 );
81 expect( pthread_mutex_destroy( &lock ), 0 );
85 expect( pthread_mutex_init( &lock, &attr ), 0 );
86 expect( pthread_mutex_lock( &lock ), 0 );
87 expect( pthread_mutex_lock( &lock ), EDEADLK );
88 expect( pthread_mutex_unlock( &lock ), 0 );
89 expect( pthread_mutex_trylock( &lock ), 0 )
    [all...]
  /external/qemu/
qemu-lock.h 41 static inline void spin_lock(spinlock_t *lock)
45 static inline void spin_unlock(spinlock_t *lock)
  /libcore/luni/src/main/java/java/io/
FilterReader.java 56 synchronized (lock) {
79 synchronized (lock) {
96 synchronized (lock) {
113 synchronized (lock) {
138 synchronized (lock) {
156 synchronized (lock) {
176 synchronized (lock) {
196 synchronized (lock) {
  /libcore/luni/src/main/java/java/util/concurrent/
CyclicBarrier.java 108 * using the barrier - due to the non-deterministic way the lock
119 /** The lock for guarding barrier entry */
120 private final ReentrantLock lock = new ReentrantLock(); field in class:CyclicBarrier
122 private final Condition trip = lock.newCondition();
139 * Called only while holding lock.
151 * Called only while holding lock.
165 final ReentrantLock lock = this.lock; local
166 lock.lock();
410 final ReentrantLock lock = this.lock; local
429 final ReentrantLock lock = this.lock; local
446 final ReentrantLock lock = this.lock; local
    [all...]
  /external/qemu/android/utils/
filelock.h 25 ** note that 'path' can designate a non-existing path and that the lock creation
29 ** you can call filelock_release() to release a file lock explicitely. otherwise
36 extern void filelock_release( FileLock* lock );
  /external/valgrind/main/memcheck/tests/
file_locking.stderr.exp 1 parent: about to lock file for writing.
3 child: about to lock file for writing.
  /bionic/libc/kernel/arch-x86/asm/
spinlock_32.h 32 #define _raw_spin_relax(lock) cpu_relax()
34 #define _raw_read_relax(lock) cpu_relax()
35 #define _raw_write_relax(lock) cpu_relax()
mmu.h 27 struct mutex lock; member in struct:__anon198
spinlock_types.h 31 unsigned int lock; member in struct:__anon203
  /development/ndk/platforms/android-9/arch-x86/include/asm/
spinlock_32.h 32 #define _raw_spin_relax(lock) cpu_relax()
34 #define _raw_read_relax(lock) cpu_relax()
35 #define _raw_write_relax(lock) cpu_relax()
mmu.h 27 struct mutex lock; member in struct:__anon1382
spinlock_types.h 31 unsigned int lock; member in struct:__anon1387
  /prebuilts/ndk/android-ndk-r4/platforms/android-5/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/android-ndk-r4/platforms/android-8/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/android-ndk-r6/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()
  /prebuilts/ndk/android-ndk-r7/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/android-ndk-r7/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/linux/
seqlock.h 5 * lock for data where the reader wants a consitent set of information
34 spinlock_t lock; member in struct:__anon8120
53 /* Lock out other writers and update the count.
59 spin_lock(&sl->lock);
68 spin_unlock(&sl->lock);
73 int ret = spin_trylock(&sl->lock);
158 #define write_seqlock_irqsave(lock, flags) \
159 do { local_irq_save(flags); write_seqlock(lock); } while (0)
160 #define write_seqlock_irq(lock) \
161 do { local_irq_disable(); write_seqlock(lock); } while (0
    [all...]
mutex.h 37 * that make lock debugging easier and faster:
70 struct mutex *lock; member in struct:mutex_waiter
105 extern void __mutex_init(struct mutex *lock, const char *name,
110 * @lock: the mutex to be queried
114 static inline int fastcall mutex_is_locked(struct mutex *lock)
116 return atomic_read(&lock->count) != 1;
123 extern void fastcall mutex_lock(struct mutex *lock);
124 extern int fastcall mutex_lock_interruptible(struct mutex *lock);
127 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
129 # define mutex_lock_nested(lock, subclass) mutex_lock(lock
    [all...]
  /frameworks/native/services/surfaceflinger/
Barrier.h 32 Mutex::Autolock _l(lock);
37 Mutex::Autolock _l(lock);
41 Mutex::Autolock _l(lock);
43 cv.wait(lock);
48 mutable Mutex lock; member in class:android::Barrier
  /external/guava/guava/src/com/google/common/util/concurrent/
Monitor.java 123 * private final ReentrantLock lock = new ReentrantLock();
124 * private final Condition valuePresent = lock.newCondition();
125 * private final Condition valueAbsent = lock.newCondition();
129 * lock.lock();
139 * lock.unlock();
144 * lock.lock();
152 * lock.unlock();
224 @GuardedBy("monitor.lock")
261 private final ReentrantLock lock; field in class:Monitor
310 final ReentrantLock lock = this.lock; local
361 final ReentrantLock lock = this.lock; local
382 final ReentrantLock lock = this.lock; local
407 final ReentrantLock lock = this.lock; local
440 final ReentrantLock lock = this.lock; local
491 final ReentrantLock lock = this.lock; local
514 final ReentrantLock lock = this.lock; local
537 final ReentrantLock lock = this.lock; local
563 final ReentrantLock lock = this.lock; local
590 final ReentrantLock lock = this.lock; local
669 final ReentrantLock lock = this.lock; local
    [all...]
  /external/chromium/chrome/browser/importer/
firefox_profile_lock_unittest.cc 30 lock1.Lock();
34 // Tests basic functionality and verifies that the lock file is deleted after
44 scoped_ptr<FirefoxProfileLock> lock; local
45 EXPECT_EQ(static_cast<FirefoxProfileLock*>(NULL), lock.get());
47 lock.reset(new FirefoxProfileLock(test_path));
48 EXPECT_TRUE(lock->HasAcquired());
50 lock->Unlock();
51 EXPECT_FALSE(lock->HasAcquired());
53 // In the posix code, we don't delete the file when releasing the lock.
57 lock->Lock()
86 scoped_ptr<FirefoxProfileLock> lock; local
    [all...]
  /external/kernel-headers/original/asm-x86/
spinlock_types.h 15 unsigned int lock; member in struct:__anon7807
  /frameworks/rs/
rsMutex.h 32 bool lock();
  /hardware/libhardware_legacy/include/hardware_legacy/
power.h 31 // while you have a lock held, the device will stay on at least at the
33 int acquire_wake_lock(int lock, const char* id);

Completed in 556 milliseconds

1 2 3 4 5 67 8 91011>>