/external/chromium_org/third_party/sqlite/src/ext/async/ |
H A D | sqlite3async.c | 82 ** the "queue" mutex and the "lock" mutex. Rules are: 87 ** * It is illegal to block on the queue mutex when the lock mutex 90 ** i.e. mutex's must be grabbed in the order "writer", "queue", "lock". 183 ** mutexes to lock. Similarly, to unlock a mutex, async_mutex_leave() is 186 ** lock a mutex that is already locked, or to call async_mutex_leave() 235 ** Specifically, it is unsafe to try to lock mutex N while holding a lock 494 ** AsyncFileData structure (see AsyncFileData.lock), but is only used if the 498 int eLock; /* Internally visible lock state (sqlite pov) */ 523 AsyncFileLock lock; /* Loc member in struct:AsyncFileData [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | btreeInt.h | 311 Btree *pBtree; /* Btree handle holding this lock */ 353 BtLock lock; /* Object used to lock page 1 */ member in struct:Btree 387 ** If a BtShared client fails to obtain a write-lock on a database 389 ** the shared-cache enters 'pending-lock' state and isPending is 392 ** The shared-cache leaves the 'pending lock' state when either of 398 ** while in the 'pending-lock' state, no connection may start a new 436 u8 isExclusive; /* True if pWriter has an EXCLUSIVE lock on the db */
|
H A D | test_multiplex.c | 713 static int multiplexLock(sqlite3_file *pConn, int lock){ argument 718 return pSubOpen->pMethods->xLock(pSubOpen, lock); 725 static int multiplexUnlock(sqlite3_file *pConn, int lock){ argument 730 return pSubOpen->pMethods->xUnlock(pSubOpen, lock); 851 int ofst, /* First lock to acquire or release */ 853 int flags /* What to do with the lock */
|
H A D | test_quota.c | 484 static int quotaLock(sqlite3_file *pConn, int lock){ argument 486 return pSubOpen->pMethods->xLock(pSubOpen, lock); 491 static int quotaUnlock(sqlite3_file *pConn, int lock){ argument 493 return pSubOpen->pMethods->xUnlock(pSubOpen, lock); 541 int ofst, /* First lock to acquire or release */ 543 int flags /* What to do with the lock */
|
/external/chromium_org/ui/surface/ |
H A D | accelerated_surface_win.cc | 91 base::Lock* lock() { function in class:PresentThread 104 // The lock is taken while any thread is calling an AcceleratedPresenter 407 base::AutoLock locked(*present_thread_->lock()); 478 base::AutoLock locked(*present_thread_->lock()); 553 base::AutoLock locked(*present_thread_->lock()); 636 base::AutoLock locked(*present_thread_->lock()); 656 base::AutoLock locked(*present_thread_->lock()); 664 // present_thread_ can be accessed without the lock because it is immutable. 668 present_thread_->lock()->AssertAcquired(); 686 base::AutoLock locked(*present_thread_->lock()); [all...] |
/external/chromium_org/v8/src/ |
H A D | execution.cc | 52 void StackGuard::set_interrupt_limits(const ExecutionAccess& lock) { argument 55 if (should_postpone_interrupts(lock)) return; 62 void StackGuard::reset_limits(const ExecutionAccess& lock) { argument 577 void StackGuard::ClearThread(const ExecutionAccess& lock) { argument 583 void StackGuard::InitThread(const ExecutionAccess& lock) { argument 588 // You should hold the ExecutionAccess lock when you call this.
|
/external/icu4c/common/ |
H A D | serv.cpp | 334 static UMutex lock = U_MUTEX_INITIALIZER; variable 359 Mutex mutex(&lock); 449 // need to make sure not to try to lock it again. 450 XMutex mutex(&lock, factory != NULL); 617 Mutex mutex(&lock); 660 // must only be called when lock is already held 694 Mutex mutex(&lock); 746 Mutex mutex(&lock); 851 Mutex mutex(&lock); 882 Mutex mutex(&lock); [all...] |
/external/kernel-headers/original/linux/ |
H A D | mmzone.h | 35 * zone->lock and zone->lru_lock are two of the hottest locks in the kernel. 165 spinlock_t lock; member in struct:zone 253 * to be read outside of zone->lock, and it is done in the main 256 * The lock is declared along with zone->lock because it is 257 * frequently read in proximity to zone->lock. It's good to 319 * Nests above zone->lock and zone->size_seqlock.
|
/external/libppp/src/ |
H A D | bundle.c | 1480 * they can transfer lock ownership, and wait for them to send the 1544 char *lock; local 1554 /* Record the base device name for a lock transfer later */ 1557 lock = alloca(strlen(constlock) + 1); 1558 strcpy(lock, constlock); 1560 lock = NULL; 1631 if (lock && (res = ID0uu_lock_txfr(lock, newpid)) != UU_LOCK_OK)
|
/external/libusb/libusb/ |
H A D | libusbi.h | 171 * to modify the poll fd set. and a lock to protect it. */ 205 /* lock protects refcnt, everything else is finalized at initialization 207 pthread_mutex_t lock; member in struct:libusb_device 222 /* lock protects claimed_interfaces */ 223 pthread_mutex_t lock; member in struct:libusb_device_handle 258 /* this lock is held during libusb_submit_transfer() and 261 * should also take this lock in the handle_events path, to prevent the user 265 pthread_mutex_t lock; member in struct:usbi_transfer 758 * take usbi_transfer.lock to prevent races. See the documentation for
|
/external/llvm/test/MC/X86/ |
H A D | x86-64.s | 153 // CHECK: lock 155 lock;cmpxchgb %al, 0(%ebx) 835 lock incl 1(%rsp) label 836 // CHECK: lock 840 lock/incl 1(%rsp) 841 // CHECK: lock
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/ |
H A D | d3d1xstutil.h | 688 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/openssh/ |
H A D | ssh-agent.c | 659 process_lock_agent(SocketEntry *e, int lock) argument 665 if (locked && !lock && strcmp(passwd, lock_passwd) == 0) { 671 } else if (!locked && lock) {
|
/external/v8/src/ |
H A D | execution.cc | 51 void StackGuard::set_interrupt_limits(const ExecutionAccess& lock) { argument 54 if (should_postpone_interrupts(lock)) return; 61 void StackGuard::reset_limits(const ExecutionAccess& lock) { argument 431 // Ignore calls if we're not optimizing or if we can't get the lock. 561 void StackGuard::ClearThread(const ExecutionAccess& lock) { argument 567 void StackGuard::InitThread(const ExecutionAccess& lock) { argument 572 // You should hold the ExecutionAccess lock when you call this.
|
/external/valgrind/main/helgrind/ |
H A D | hg_errors.c | 119 lock, and return its corresponding LockP. 174 /* Forget about the bag of lock holders - don't copy that. 277 XE_UnlockUnlocked, // unlocking a not-locked lock 278 XE_UnlockForeign, // unlocking a lock held by some other thread 279 XE_UnlockBogus, // unlocking an address not known to be a lock 281 XE_LockOrder, // lock order error 317 Lock* lock; /* lock (that is already unlocked) */ member in struct:__anon27530::__anon27531::__anon27533 321 Thread* owner; /* thread that actually holds the lock */ 322 Lock* lock; /* loc member in struct:__anon27530::__anon27531::__anon27534 [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
H A D | syncable.cc | 419 ScopedKernelLock lock(this); 420 return GetEntryById(id, &lock); 424 ScopedKernelLock* const lock) { 436 ScopedKernelLock lock(this); 449 ScopedKernelLock lock(this); 466 ScopedKernelLock lock(this); 467 return GetEntryByHandle(metahandle, &lock); 471 ScopedKernelLock* lock) { 488 ScopedKernelLock lock(this); 491 for (iterator i = GetParentChildIndexLowerBound(lock, parent_i 423 GetEntryById(const Id& id, ScopedKernelLock* const lock) argument 470 GetEntryByHandle(int64 metahandle, ScopedKernelLock* lock) argument 524 InsertEntry(EntryKernel* entry, ScopedKernelLock* lock) argument 1595 UnlinkEntryFromOrder(EntryKernel* entry, WriteTransaction* trans, ScopedKernelLock* lock) argument 1875 LocateInParentChildIndex( const ScopedKernelLock& lock, const Id& parent_id, int64 position_in_parent, const Id& item_id_for_tiebreaking) argument 1887 GetParentChildIndexLowerBound(const ScopedKernelLock& lock, const Id& parent_id) argument 1898 GetParentChildIndexUpperBound(const ScopedKernelLock& lock, const Id& parent_id) argument [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | sigslot.h | 123 virtual void lock() function in class:sigslot::single_threaded 160 virtual void lock() function in class:sigslot::multi_threaded_global 196 virtual void lock() function in class:sigslot::multi_threaded_local 231 virtual void lock() function in class:sigslot::multi_threaded_global 267 virtual void lock() function in class:sigslot::multi_threaded_local 291 m_mutex->lock(); 442 lock_block<mt_policy> lock(this); 456 lock_block<mt_policy> lock(this); 462 lock_block<mt_policy> lock(this); 473 lock_block<mt_policy> lock(thi [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | keyboard_overlay.js | 40 'caps lock': '3A', 412 // 'Shift - Shift' (Toggle caps lock) on the left shift key, the 473 // Add data for the caps lock key 476 keys['3A'] = {label: 'caps lock', format: 'left'}; 602 '3A': [5.0, 167.0, 105.0, 60.0], // caps lock 603 '5B': [803.0, 6.0, 72.0, 35.0], // lock key 628 '3A': {'label': 'caps lock', 'format': 'left'}, 629 '5B': {'label': 'lock'},
|
/external/chromium_org/content/common/gpu/client/ |
H A D | webgraphicscontext3d_command_buffer_impl.cc | 24 #include "base/synchronization/lock.h" 58 base::AutoLock lock(g_all_shared_contexts_lock.Get()); 253 base::AutoLock lock(g_all_shared_contexts_lock.Get()); 375 // We need to lock g_all_shared_contexts to ensure that the context we picked 377 // (There's also a lock in our destructor.) 378 base::AutoLock lock(g_all_shared_contexts_lock.Get()); 452 scoped_ptr<base::AutoLock> lock; local 457 lock.reset(new base::AutoLock(g_all_shared_contexts_lock.Get())); 477 lock.reset();
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | implement.h | 176 robustMxListLock; /* robustMxList lock */ 224 pthread_mutex_t lock; member in struct:sem_t_ 243 before the lock is released (recursive 313 * MCS lock queue node - see ptw32_MCS_lock.c 317 struct ptw32_mcs_node_t_ **lock; /* ptr to tail of queue */ member in struct:ptw32_mcs_node_t_ 319 HANDLE readyFlag; /* set after lock is released by 332 ptw32_mcs_lock_t lock; member in struct:pthread_barrier_t_ 436 * general lock (guarding the row) and the thread's general 437 * lock (guarding the column). This avoids the need for a 438 * dedicated lock fo [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | sslsnce.c | 21 * Each set is protected by a lock. There may be one or more sets protected 22 * by each lock. That is, locks to sets are 1:N. 23 * There is one lock for the entire cert cache. 24 * There is one lock for the set of wrapped sym wrap keys. 259 #define MAX_SID_CACHE_LOCKS 8 /* two FDs per lock */ 261 #define MAX_SID_CACHE_LOCKS 16 /* one FD per lock */ 303 LockSidCacheLock(sidCacheLock *lock, PRUint32 now) argument 305 SECStatus rv = sslMutex_Lock(&lock->mutex); 310 lock->timeStamp = now; 311 lock 316 UnlockSidCacheLock(sidCacheLock *lock) argument 330 sidCacheLock * lock = cache->sidCacheLocks + lockNum; local 339 sidCacheLock * lock = cache->sidCacheLocks + lockNum; local [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | db_impl.cc | 1168 // Add to log and apply to memtable. We can release the lock 1463 FileLock* lock; local 1465 Status result = env->LockFile(lockname, &lock); 1478 env->UnlockFile(lock); // Ignore error since state is already gone
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | sigslot.h | 136 virtual void lock() function in class:sigslot::single_threaded 173 virtual void lock() function in class:sigslot::multi_threaded_global 209 virtual void lock() function in class:sigslot::multi_threaded_local 244 virtual void lock() function in class:sigslot::multi_threaded_global 280 virtual void lock() function in class:sigslot::multi_threaded_local 304 m_mutex->lock(); 476 lock_block<mt_policy> lock(this); 490 lock_block<mt_policy> lock(this); 496 lock_block<mt_policy> lock(this); 507 lock_block<mt_policy> lock(thi [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_ra.cpp | 41 void periodicMask(DataFile f, uint32_t lock, uint32_t unlock); 128 RegisterSet::periodicMask(DataFile f, uint32_t lock, uint32_t unlock) argument 130 bits[f].periodicMask32(lock, unlock);
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
H A D | _solaris.h | 285 #define _MD_NEW_LOCK(md_lockp) (mutex_init(&((md_lockp)->lock),USYNC_THREAD,NULL) ? PR_FAILURE : PR_SUCCESS) 286 #define _MD_FREE_LOCK(md_lockp) mutex_destroy(&((md_lockp)->lock)) 287 #define _MD_UNLOCK(md_lockp) mutex_unlock(&((md_lockp)->lock)) 288 #define _MD_TEST_AND_LOCK(md_lockp) mutex_trylock(&((md_lockp)->lock)) 369 MUTEX_T lock; member in struct:_MDLock 761 #define _MD_NEW_LOCK(lock) PR_SUCCESS 762 #define _MD_FREE_LOCK(lock) 763 #define _MD_LOCK(lock) 764 #define _MD_UNLOCK(lock)
|