HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 376 - 400 of 1530) sorted by null

<<11121314151617181920>>

  /prebuilts/ndk/9/platforms/android-9/arch-mips/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:__anon59312
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/9/platforms/android-9/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:__anon59764
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/python/darwin-x86/2.7.5/lib/python2.7/test/
test_threaded_import.py 46 # grabs the import lock and won't let go of it until this module returns.
60 raise unittest.SkipTest("can't run when import lock is held") namespace
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_threaded_import.py 46 # grabs the import lock and won't let go of it until this module returns.
60 raise unittest.SkipTest("can't run when import lock is held") namespace
  /system/core/include/utils/
Mutex.h 40 * recursive, i.e. the same thread can't lock it multiple times.
54 // lock or unlock the mutex
55 status_t lock();
58 // lock if possible; returns 0 on success, error otherwise
65 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); }
66 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); }
111 inline status_t Mutex::lock() { function in class:android::Mutex
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassLoaderTest.java 59 Object lock; field in class:ClassLoaderTest.SyncTestClassLoader
63 this.lock = o;
98 synchronized (lock) {
99 lock.wait();
140 Object lock = new Object(); local
141 SyncTestClassLoader cl = new SyncTestClassLoader(lock);
153 synchronized (lock) {
154 lock.notifyAll();
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
BuildMachineManager.java 102 //create a temporary lock on marker container
104 File lock = new File(markerContainer + "/" + "lock"); local
105 if (lock.exists())
110 lock.createNewFile();
116 lock.delete();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
FileLockTest.java 105 FileLock lock = new MockFileLock(null, 0, 10, true); local
106 assertNull(lock.channel());
141 FileLock lock = new MockFileLock(null, 0, 10, true); local
142 assertTrue(lock.isShared());
163 FileLock fileLock = readWriteChannel.lock();
177 FileLock fileLock = fileChannel.lock();
189 fileLock = fileChannel.lock();
  /libcore/luni/src/main/java/java/util/concurrent/
LinkedBlockingDeque.java 51 * single lock and using conditions to manage blocking.
125 /** Main lock guarding all access */
126 final ReentrantLock lock = new ReentrantLock(); field in class:LinkedBlockingDeque
129 private final Condition notEmpty = lock.newCondition();
132 private final Condition notFull = lock.newCondition();
165 final ReentrantLock lock = this.lock; local
166 lock.lock(); // Never contended, but necessary for visibility
175 lock.unlock()
312 final ReentrantLock lock = this.lock; local
327 final ReentrantLock lock = this.lock; local
343 final ReentrantLock lock = this.lock; local
360 final ReentrantLock lock = this.lock; local
379 final ReentrantLock lock = this.lock; local
402 final ReentrantLock lock = this.lock; local
435 final ReentrantLock lock = this.lock; local
445 final ReentrantLock lock = this.lock; local
455 final ReentrantLock lock = this.lock; local
468 final ReentrantLock lock = this.lock; local
483 final ReentrantLock lock = this.lock; local
501 final ReentrantLock lock = this.lock; local
535 final ReentrantLock lock = this.lock; local
545 final ReentrantLock lock = this.lock; local
686 final ReentrantLock lock = this.lock; local
775 final ReentrantLock lock = this.lock; local
862 final ReentrantLock lock = this.lock; local
912 final ReentrantLock lock = this.lock; local
931 final ReentrantLock lock = this.lock; local
958 final ReentrantLock lock = this.lock; local
1039 final ReentrantLock lock = LinkedBlockingDeque.this.lock; local
1073 final ReentrantLock lock = LinkedBlockingDeque.this.lock; local
1102 final ReentrantLock lock = LinkedBlockingDeque.this.lock; local
1133 final ReentrantLock lock = this.lock; local
    [all...]
PriorityBlockingQueue.java 76 * operations protected with a single lock. However, allocation
78 * holding main lock) in order to allow takes to operate
81 * build-up. The need to back away from lock during allocation
83 * java.util.PriorityQueue operations within a lock, as was done
125 * Lock used for all public operations
127 private final ReentrantLock lock; field in class:PriorityBlockingQueue
184 this.lock = new ReentrantLock();
185 this.notEmpty = lock.newCondition();
207 this.lock = new ReentrantLock();
208 this.notEmpty = lock.newCondition()
441 final ReentrantLock lock = this.lock; local
495 final ReentrantLock lock = this.lock; local
505 final ReentrantLock lock = this.lock; local
519 final ReentrantLock lock = this.lock; local
532 final ReentrantLock lock = this.lock; local
555 final ReentrantLock lock = this.lock; local
622 final ReentrantLock lock = this.lock; local
639 final ReentrantLock lock = this.lock; local
663 final ReentrantLock lock = this.lock; local
686 final ReentrantLock lock = this.lock; local
696 final ReentrantLock lock = this.lock; local
758 final ReentrantLock lock = this.lock; local
808 final ReentrantLock lock = this.lock; local
    [all...]
  /bionic/libc/kernel/common/linux/mtd/
blktrans.h 34 struct mutex lock; member in struct:mtd_blktrans_dev
  /development/ndk/platforms/android-3/include/linux/mtd/
blktrans.h 27 struct mutex lock; member in struct:mtd_blktrans_dev
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyPairGeneratorSpi.java 25 private static Object lock = new Object(); field in class:KeyPairGeneratorSpi
84 synchronized (lock)
  /external/chromium_org/base/threading/
watchdog.cc 24 // Lock for access of static data...
25 Lock lock; member in struct:base::__anon3737::StaticData
71 AutoLock lock(lock_);
80 AutoLock lock(lock_);
95 AutoLock lock(lock_);
106 AutoLock lock(lock_);
124 AutoLock lock(watchdog_->lock_);
142 AutoLock static_lock(static_data->lock);
156 AutoUnlock lock(watchdog_->lock_)
    [all...]
  /external/chromium_org/chrome/browser/ui/ash/launcher/
launcher_item_controller.h 54 // Lock this item to the launcher without being pinned (windowed v1 apps).
55 void lock() { locked_++; } function in class:LauncherItemController
102 // The lock counter which tells the launcher if the item can be removed from
  /external/chromium_org/content/browser/indexed_db/leveldb/
leveldb_unittest.cc 253 base::FilePath file = temp_directory.path().AppendASCII("LOCK");
254 leveldb::FileLock* lock; local
255 leveldb::Status status = env->LockFile(file.AsUTF8Unsafe(), &lock);
258 status = env->UnlockFile(lock);
261 status = env->LockFile(file.AsUTF8Unsafe(), &lock);
268 status = env->UnlockFile(lock);
  /external/chromium_org/net/third_party/mozilla_security_manager/
nsKeygenHandler.cpp 139 crypto::AutoNSSWriteLock lock; local
162 crypto::AutoNSSWriteLock lock; local
234 crypto::AutoNSSWriteLock lock; local
242 crypto::AutoNSSWriteLock lock; local
  /external/chromium_org/ppapi/proxy/
file_chooser_resource_unittest.cc 118 ProxyAutoLock lock; local
124 ProxyAutoLock lock; local
serialized_var_unittest.cc 32 ProxyAutoLock lock; local
82 ProxyAutoLock lock; local
124 ProxyAutoLock lock; local
164 ProxyAutoLock lock; local
205 ProxyAutoLock lock; local
278 ProxyAutoLock lock; local
322 ProxyAutoLock lock; local
  /external/chromium_org/ppapi/shared_impl/
proxy_lock.h 16 class Lock;
25 // This is the one lock to rule them all for the ppapi proxy. All PPB interface
26 // functions that need to be synchronized should lock this lock on entry. This
39 static base::Lock* Get();
41 // Acquire the proxy lock. If it is currently held by another thread, block
42 // until it is available. If the lock has not been set using the 'Set' method,
44 // see PluginResourceTracker for where the lock gets set for the out-of-
47 // Relinquish the proxy lock. If the lock has not been set, this does nothing
188 ProxyAutoLock lock; local
223 ProxyAutoLock lock; local
245 ProxyAutoLock lock; local
254 ProxyAutoLock lock; local
274 ProxyAutoLock lock; local
283 ProxyAutoLock lock; local
303 ProxyAutoLock lock; local
312 ProxyAutoLock lock; local
    [all...]
proxy_lock_unittest.cc 25 // If we expect to be unlocked, try to lock. We rely on the checking inside
26 // base::Lock that prevents recursive locking.
27 ProxyAutoLock lock; local
77 ProxyAutoLock lock; local
85 ProxyAutoLock lock; local
93 ProxyAutoLock lock; local
107 ProxyAutoLock lock; local
116 ProxyAutoLock lock; local
125 ProxyAutoLock lock; local
134 ProxyAutoLock lock; local
142 ProxyAutoLock lock; local
    [all...]
  /external/chromium_org/ppapi/thunk/
ppb_file_ref_thunk.cc 28 ppapi::ProxyAutoLock lock; local
  /external/chromium_org/rlz/lib/
financial_ping_test.cc 183 rlz_lib::ScopedRlzValueStoreLock lock; local
184 rlz_lib::RlzValueStore* store = lock.GetStore();

Completed in 326 milliseconds

<<11121314151617181920>>