/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
H A D | Resource.cpp | 854 bool Resource::lock() function in class:blink::Resource 863 if (!m_data->lock()) {
|
/external/chromium_org/third_party/icu/source/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/chromium_org/third_party/leveldatabase/ |
H A D | env_chromium.cc | 567 Status ChromiumEnv::LockFile(const std::string& fname, FileLock** lock) { argument 568 *lock = NULL; 625 *lock = my_lock; 629 Status ChromiumEnv::UnlockFile(FileLock* lock) { argument 630 ChromiumFileLock* my_lock = reinterpret_cast<ChromiumFileLock*>(lock); 636 MakeIOError(my_lock->name_, "Could not unlock lock file.", kUnlockFile);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | env_posix.cc | 259 static int LockOrUnlock(int fd, bool lock) { argument 263 f.l_type = (lock ? F_WRLCK : F_UNLCK); 418 virtual Status LockFile(const std::string& fname, FileLock** lock) { argument 419 *lock = NULL; 426 result = Status::IOError("lock " + fname, "already held by process"); 428 result = IOError("lock " + fname, errno); 435 *lock = my_lock; 440 virtual Status UnlockFile(FileLock* lock) { argument 441 PosixFileLock* my_lock = reinterpret_cast<PosixFileLock*>(lock); 533 PthreadCall("lock", pthread_mutex_loc [all...] |
/external/chromium_org/third_party/libusb/src/libusb/ |
H A D | libusbi.h | 255 * to modify the poll fd set. and a lock to protect it. */ 291 /* lock protects refcnt, everything else is finalized at initialization 293 usbi_mutex_t lock; member in struct:libusb_device 321 /* lock protects claimed_interfaces */ 322 usbi_mutex_t lock; member in struct:libusb_device_handle 362 /* this lock is held during libusb_submit_transfer() and 365 * should also take this lock in the handle_events path, to prevent the user 369 usbi_mutex_t lock; member in struct:usbi_transfer 949 * 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 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/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
H A D | _irix.h | 216 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...] |
/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/icu/icu4c/source/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/jemalloc/include/jemalloc/internal/ |
H A D | arena.h | 81 * purging thread is operating without the arena lock held. 276 * All operations on runcur, runs, and stats require that lock be 277 * locked. Run allocation/deallocation are protected by the arena lock, 281 malloc_mutex_t lock; member in struct:arena_bin_s 320 malloc_mutex_t lock; member in struct:arena_s 894 malloc_mutex_lock(&arena->lock); 896 malloc_mutex_unlock(&arena->lock);
|
/external/kernel-headers/original/uapi/drm/ |
H A D | via_drm.h | 154 __u32 lock; member in struct:_drm_via_futex 195 * We want the lock integers alone on, and aligned to, a cache line.
|
/external/libunwind/include/tdep-ia64/ |
H A D | libunwind_i.h | 194 pthread_mutex_t lock; /* global data lock */ member in struct:ia64_global_unwind_state
|
/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/valgrind/main/helgrind/ |
H A D | hg_errors.c | 121 lock, and return its corresponding LockP. 176 /* Forget about the bag of lock holders - don't copy that. 279 XE_UnlockUnlocked, // unlocking a not-locked lock 280 XE_UnlockForeign, // unlocking a lock held by some other thread 281 XE_UnlockBogus, // unlocking an address not known to be a lock 283 XE_LockOrder, // lock order error 313 Lock* lock; /* lock (that is already unlocked) */ member in struct:__anon32822::__anon32823::__anon32825 317 Thread* owner; /* thread that actually holds the lock */ 318 Lock* lock; /* loc member in struct:__anon32822::__anon32823::__anon32826 [all...] |
/external/chromium_org/base/debug/ |
H A D | trace_event_impl.cc | 436 // A helper class that allows the lock to be acquired in the middle of the scope 440 explicit OptionalAutoLock(Lock& lock) argument 441 : lock_(lock), 1099 AutoLock lock(trace_log->lock_); 1119 AutoLock lock(trace_log_->lock_); 1131 AutoLock lock(trace_log_->lock_); 1136 AutoLock lock(trace_log_->lock_); 1339 // The g_category_groups is append only, avoid using a lock for the fast path. 1350 // This is the slow path: the lock is not held in the case above, so more 1352 // Only hold to lock whe 2267 GetEventByHandleInternal(TraceEventHandle handle, OptionalAutoLock* lock) argument [all...] |
/external/chromium_org/cc/test/ |
H A D | test_web_graphics_context_3d.h | 18 #include "base/synchronization/lock.h" 416 base::Lock lock; member in struct:cc::TestWebGraphicsContext3D::Namespace
|
/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | kiosk_browsertest.cc | 17 #include "base/synchronization/lock.h" 169 void LockAndUnlock(scoped_ptr<base::Lock> lock) { argument 170 lock->Acquire(); 171 lock->Release(); 550 // Configure network should bring up lock screen for owner. 576 // Returns a lock that is holding a task on the FILE thread. Any tasks posted 578 // lock is released. 584 scoped_ptr<base::Lock> lock(new base::Lock); 585 scoped_ptr<base::AutoLock> auto_lock(new base::AutoLock(*lock)); 588 base::Bind(&LockAndUnlock, base::Passed(&lock))); 717 scoped_ptr<base::AutoLock> lock = LockFileThread(); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | keyboard_overlay.js | 40 'caps lock': '3A', 417 // 'Shift - Shift' (Toggle caps lock) on the left shift key, the 490 // Add data for the caps lock key 493 keys['3A'] = {label: 'caps lock', format: 'left'}; 611 '3A': [5.0, 167.0, 105.0, 60.0], // caps lock 612 '5B': [803.0, 6.0, 72.0, 35.0], // lock key 637 '3A': {'label': 'caps lock', 'format': 'left'}, 638 '5B': {'label': 'lock'},
|
/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...] |