Searched defs:lock (Results 226 - 250 of 340) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/resources/file_manager/js/image_editor/
H A Dcommands.js52 * @param {function(boolean)} lock Function to enable/disable buttons etc.
54 CommandQueue.prototype.attachUI = function(imageView, prompt, lock) {
58 lock: lock
88 if (this.UIContext_.lock)
89 this.UIContext_.lock(true);
108 if (this.UIContext_.lock)
109 this.UIContext_.lock(false);
/external/chromium_org/chrome/tools/crash_service/
H A Dcrash_service.cc167 base::AutoLock lock(sending_);
308 ProcessingLock lock; local
316 ProcessingLock lock; local
331 // thread takes the sending_ lock, so the sleep is just to give it a
334 base::AutoLock lock(self->sending_);
347 ProcessingLock lock; local
425 // Take the server lock while sending. This also prevent early
427 base::AutoLock lock(info->self->sending_);
/external/chromium_org/ppapi/proxy/
H A Dppapi_proxy_test.cc167 // Some of the methods called during set-up check that the lock is held.
168 ProxyAutoLock lock; local
194 // Some of the methods called during set-up check that the lock is held.
195 ProxyAutoLock lock; local
215 // Some of the methods called during tear-down check that the lock is held.
216 ProxyAutoLock lock; local
330 // MessageLoopResource assumes that the proxy lock has been acquired.
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioContext.cpp618 void AudioContext::lock(bool& mustReleaseLock) function in class:WebCore::AudioContext
620 // Don't allow regular lock in real-time audio thread.
626 // We already have the lock.
629 // Acquire the lock.
630 m_contextGraphMutex.lock();
641 // Try to catch cases of using try lock on main thread - it should use regular lock.
645 // In release build treat tryLock() as lock() (since above ASSERT(isAudioThread) never fires) - this is the best we can do.
646 lock(mustReleaseLock);
653 // Thread already has the lock
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dnormalizer2.cpp570 Mutex lock; local
579 Mutex lock; local
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_ann.cc156 Lock lock(&dyn_ann_ctx->mtx);
188 Lock lock(&dyn_ann_ctx->mtx);
254 uptr lock) {
310 Lock lock(&dyn_ann_ctx->mtx);
357 Lock lock(&dyn_ann_ctx->mtx);
365 Lock lock(&dyn_ann_ctx->mtx);
253 AnnotateCondVarWait(char *f, int l, uptr cv, uptr lock) argument
/external/icu4c/common/
H A Dnormalizer2.cpp650 Mutex lock; local
659 Mutex lock; local
/external/javasqlite/src/main/java/SQLite/JDBC2z/
H A DJDBCConnection.java523 static Object lock = new Object(); field in class:DatabaseX
531 synchronized (lock) {
532 lock.wait(ms);
541 synchronized (lock) {
542 lock.notifyAll();
549 synchronized (lock) {
550 lock.notifyAll();
557 synchronized (lock) {
558 lock.notifyAll();
566 synchronized (lock) {
[all...]
/external/kernel-headers/original/linux/mtd/
H A Dmtd.h190 int (*lock) (struct mtd_info *mtd, loff_t ofs, size_t len); member in struct:mtd_info
/external/kernel-headers/original/linux/
H A Dserio.h35 spinlock_t lock; /* protects critical sections from port's interrupt handler */ member in struct:serio
45 struct serio_driver *drv; /* accessed from interrupt, must be protected by serio->lock and serio->sem */
142 spin_lock_irq(&serio->lock);
147 spin_unlock_irq(&serio->lock);
/external/kernel-headers/original/linux/sunrpc/
H A Dsched.h205 spinlock_t lock; member in struct:rpc_wait_queue
227 .lock = SPIN_LOCK_UNLOCKED, \
236 .lock = SPIN_LOCK_UNLOCKED, \
/external/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h166 /// lock - This lock protects the ExecutionEngine, JIT, JITResolver and
169 sys::Mutex lock; member in class:llvm::ExecutionEngine
396 /// stub, and 2) any thread modifying LLVM IR must hold the JIT's lock
397 /// (ExecutionEngine::lock) or otherwise ensure that no other thread calls a
/external/qemu/
H A Dposix-aio-compat.c62 static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; variable
320 mutex_lock(&lock);
324 ret = cond_timedwait(&cond, &lock, &ts);
334 mutex_unlock(&lock);
353 mutex_lock(&lock);
356 mutex_unlock(&lock);
363 mutex_unlock(&lock);
388 mutex_lock(&lock);
392 mutex_unlock(&lock);
400 mutex_lock(&lock);
[all...]
/external/smack/src/com/kenai/jbosh/
H A DBOSHClient.java184 private final ReentrantLock lock = new ReentrantLock(); field in class:BOSHClient
189 private final Condition notEmpty = lock.newCondition();
195 private final Condition notFull = lock.newCondition();
200 private final Condition drained = lock.newCondition();
255 * The following vars must be accessed via the lock instance.
485 lock.lock();
510 lock.unlock();
538 lock.lock();
[all...]
/external/valgrind/unittest/
H A Ddemo_tests.cc47 MutexLock lock(&mu1); // Correct Mutex.
52 MutexLock lock(&mu2); // Wrong Mutex.
84 // Here we used the wrong lock! The reason of the race is here.
271 static Mutex lock; member in namespace:test308
276 lock.Lock();
282 lock.Unlock();
335 MutexLock lock3(&mu3); // This lock is unrelated to PTR.
341 MutexLock lock2(&mu2); // This lock is unrelated to PTR.
393 MutexLock lock3(&mu3); // This lock is unrelated to PTR.
399 MutexLock lock2(&mu2); // This lock i
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jar ... .eclipse.core.runtime.jobs.ISchedulingRule lock private boolean checkWaitCycles (int[], int) int[] waitingThreads int lockIndex int ...
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c97 pthread_mutex_t lock; member in struct:a2dp_stream_out
312 pthread_mutex_init(&out->lock, &lock_attr);
455 pthread_mutex_lock(&out->lock);
467 pthread_mutex_unlock(&out->lock);
471 pthread_mutex_unlock(&out->lock);
560 pthread_mutex_lock(&out->lock);
566 pthread_mutex_unlock (&out->lock);
587 pthread_mutex_lock(&out->lock);
626 pthread_mutex_unlock(&out->lock);
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread.h680 void * lock; member in struct:pthread_once_t_
1052 PTW32_DLLPORT int PTW32_CDECL pthread_spin_init (pthread_spinlock_t * lock, int pshared);
1054 PTW32_DLLPORT int PTW32_CDECL pthread_spin_destroy (pthread_spinlock_t * lock);
1056 PTW32_DLLPORT int PTW32_CDECL pthread_spin_lock (pthread_spinlock_t * lock);
1058 PTW32_DLLPORT int PTW32_CDECL pthread_spin_trylock (pthread_spinlock_t * lock);
1060 PTW32_DLLPORT int PTW32_CDECL pthread_spin_unlock (pthread_spinlock_t * lock);
1123 PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_init(pthread_rwlock_t *lock,
1126 PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_destroy(pthread_rwlock_t *lock);
1132 PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_rdlock(pthread_rwlock_t *lock);
1134 PTW32_DLLPORT int PTW32_CDECL pthread_rwlock_timedrdlock(pthread_rwlock_t *lock,
[all...]
/external/chromium_org/sync/syncable/
H A Ddirectory.cc208 ScopedKernelLock lock(this);
209 return GetEntryById(id, &lock);
213 ScopedKernelLock* const lock) {
224 ScopedKernelLock lock(this);
235 ScopedKernelLock lock(this);
245 ScopedKernelLock lock(this);
246 return GetEntryByHandle(metahandle, &lock);
250 ScopedKernelLock* lock) {
269 ScopedKernelLock lock(this);
270 AppendChildHandles(lock, parent_i
212 GetEntryById(const Id& id, ScopedKernelLock* const lock) argument
249 GetEntryByHandle(int64 metahandle, ScopedKernelLock* lock) argument
351 InsertEntry(WriteTransaction* trans, EntryKernel* entry, ScopedKernelLock* lock) argument
1291 AppendChildHandles(const ScopedKernelLock& lock, const Id& parent_id, Directory::Metahandles* result) argument
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dcolldata.cpp471 UMTX lock; member in class:CollDataCache
492 : lock(0), cache(NULL)
510 umtx_lock(&lock);
513 umtx_unlock(&lock);
515 umtx_destroy(&lock);
526 umtx_lock(&lock);
530 umtx_unlock(&lock);
540 umtx_lock(&lock);
545 umtx_unlock(&lock);
560 umtx_unlock(&lock);
[all...]
/external/chromium_org/third_party/leveldatabase/
H A Denv_chromium.cc22 #include "base/synchronization/lock.h"
99 TryToLockFILE lock(file);
104 TryToLockFILE lock(file);
109 TryToLockFILE lock(file);
689 Status ChromiumEnv::LockFile(const std::string& fname, FileLock** lock) { argument
690 *lock = NULL;
728 *lock = my_lock;
733 Status ChromiumEnv::UnlockFile(FileLock* lock) { argument
734 ChromiumFileLock* my_lock = reinterpret_cast<ChromiumFileLock*>(lock);
737 result = MakeIOError("Could not close lock fil
[all...]
/external/chromium_org/third_party/leveldatabase/src/util/
H A Denv_posix.cc348 static int LockOrUnlock(int fd, bool lock) { argument
352 f.l_type = (lock ? F_WRLCK : F_UNLCK);
507 virtual Status LockFile(const std::string& fname, FileLock** lock) { argument
508 *lock = NULL;
515 result = Status::IOError("lock " + fname, "already held by process");
517 result = IOError("lock " + fname, errno);
524 *lock = my_lock;
529 virtual Status UnlockFile(FileLock* lock) { argument
530 PosixFileLock* my_lock = reinterpret_cast<PosixFileLock*>(lock);
624 PthreadCall("lock", pthread_mutex_loc
[all...]
/external/chromium_org/third_party/libusb/src/libusb/
H A Dlibusbi.h253 * to modify the poll fd set. and a lock to protect it. */
289 /* lock protects refcnt, everything else is finalized at initialization
291 usbi_mutex_t lock; member in struct:libusb_device
319 /* lock protects claimed_interfaces */
320 usbi_mutex_t lock; member in struct:libusb_device_handle
360 /* this lock is held during libusb_submit_transfer() and
363 * should also take this lock in the handle_events path, to prevent the user
367 usbi_mutex_t lock; member in struct:usbi_transfer
947 * take usbi_transfer.lock to prevent races. See the documentation for
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/
H A Dd3d1xstutil.h688 void lock() function in struct:maybe_mutex_t
702 void lock() function in struct:maybe_mutex_t
720 mutex.lock();
848 lock_t<mutex_t> lock(private_data_mutex);
889 lock_t<mutex_t> lock(private_data_mutex);
913 lock_t<mutex_t> lock(private_data_mutex);
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_irix.h216 ulock_t lock; member in struct:_MDLock
221 * disable pre-emption for the LOCAL threads when calling the arena lock
225 #define _PR_LOCK(lock) { \
230 ussetlock(lock); \
235 #define _PR_UNLOCK(lock) { \
240 usunsetlock(lock); \
248 #define _MD_LOCK(_lockp) _PR_LOCK((_lockp)->lock)
249 #define _MD_UNLOCK(_lockp) _PR_UNLOCK((_lockp)->lock)
250 #define _MD_TEST_AND_LOCK(_lockp) (uscsetlock((_lockp)->lock, 1) == 0)
343 * XXX RUNQ lock neede
[all...]

Completed in 1012 milliseconds

1234567891011>>