Searched defs:lock (Results 126 - 150 of 371) sorted by relevance

1234567891011>>

/external/lldb/include/lldb/Host/
H A DProcessRunLock.h117 // Try to lock the read lock, but only do so if there are no writers.
119 TryLock (ProcessRunLock *lock) argument
123 if (m_lock == lock)
124 return true; // We already have this lock locked
128 if (lock)
130 if (lock->ReadTryLock())
132 m_lock = lock;
/external/llvm/utils/emacs/
H A Dtablegen-mode.el14 (defvar tablegen-font-lock-keywords
23 ;; '("\/\/" . font-lock-comment-face)
25 '("\"[^\"]+\"" . font-lock-string-face)
27 '("\\<0x[0-9A-Fa-f]+\\>" . font-lock-preprocessor-face)
29 '("\\<0b[01]+\\>" . font-lock-preprocessor-face)
31 '("\\<[-]?[0-9]+\\>" . font-lock-preprocessor-face)
33 '("\\<[-+]?[0-9]+\.[0-9]*\([eE][-+]?[0-9]+\)?\\>" . font-lock-preprocessor-face)
43 (put 'tablegen-mode 'font-lock-defaults '(tablegen-font-lock-keywords))
103 (make-local-variable 'font-lock
[all...]
/external/mesa3d/include/GL/internal/
H A Dsarea.h84 drmLock lock; member in struct:_XF86DRISAREA
85 /** \todo Use readers/writer lock for drawable_lock */
/external/sfntly/cpp/src/test/
H A Dlock_test.cc20 #include "sfntly/port/lock.h"
29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} argument
62 Lock lock; local
63 BasicLockTestThread thread(&lock);
70 lock.Acquire();
72 lock.Unlock();
75 lock.Acquire();
78 lock.Unlock();
81 if (lock
106 TryLockTestThread(Lock* lock) argument
124 Lock lock; local
165 MutexLockTestThread(Lock* lock, int* value) argument
168 DoStuff(Lock* lock, int* value) argument
190 Lock lock; local
207 Lock lock; local
[all...]
/external/smack/src/com/kenai/jbosh/
H A DApacheHTTPResponse.java65 private final Lock lock = new ReentrantLock(); field in class:ApacheHTTPResponse
184 lock.lock();
190 lock.unlock();
206 lock.lock();
212 lock.unlock();
/external/chromium_org/ash/wm/
H A Dtoplevel_window_event_handler_unittest.cc471 // Tests that a gesture cannot minimize a window in login/lock screen.
480 aura::Window* lock = local
483 lock->AddChild(target.get());
/external/chromium_org/base/threading/
H A Dwatchdog.cc25 Lock lock; member in struct:base::__anon2565::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_);
163 AutoLock static_lock(static_data->lock);
179 AutoLock lock(static_dat
[all...]
H A Dworker_pool_posix_unittest.cc12 #include "base/synchronization/lock.h"
25 Lock* lock() { return &pool_->lock_; } function in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer
101 peer_.set_num_idle_threads_cv(new ConditionVariable(peer_.lock()));
117 base::AutoLock pool_locked(*peer_.lock());
222 base::AutoLock locked(*peer_.lock());
/external/chromium_org/base/win/
H A Dscoped_handle.cc40 // using the lock (hence, synchornizing multiple threads) even when the
45 // not propagated immediately to all CPUs (as would happen with a lock).
58 explicit AutoNativeLock(NativeLock& lock) : lock_(lock) { argument
81 AutoNativeLock lock(g_lock.Get());
95 // Grab the thread id before the lock.
98 AutoNativeLock lock(g_lock.Get());
116 AutoNativeLock lock(g_lock.Get());
135 AutoNativeLock lock(g_lock.Get());
/external/chromium_org/chrome/browser/chromeos/drive/
H A Ddirectory_loader_unittest.cc229 scoped_ptr<base::ScopedClosureRunner> lock = loader_controller_->GetLock(); local
241 // Update is pending due to the lock.
245 lock.reset();
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_unittest.cc238 scoped_ptr<LevelDBLock> lock = local
240 ASSERT_TRUE(lock);
/external/chromium_org/content/renderer/gpu/
H A Dframe_swap_message_queue.cc38 SendMessageScopeImpl(base::Lock* lock) : auto_lock_(*lock) {} argument
122 base::AutoLock lock(lock_);
145 base::AutoLock lock(lock_);
150 base::AutoLock lock(lock_);
159 base::AutoLock lock(lock_);
/external/chromium_org/media/blink/
H A Dwebaudiosourceprovider_impl.cc23 // the lock will be released upon destruction.
28 explicit AutoTryLock(base::Lock& lock) argument
29 : lock_(lock),
105 // Use a try lock to avoid contention in the real-time audio thread.
108 // Provide silence if we failed to acquire the lock or the source is not
/external/chromium_org/media/filters/
H A Dffmpeg_glue.cc10 #include "base/synchronization/lock.h"
67 static int LockManagerOperation(void** lock, enum AVLockOp op) { argument
70 *lock = new base::Lock();
74 static_cast<base::Lock*>(*lock)->Acquire();
78 static_cast<base::Lock*>(*lock)->Release();
82 delete static_cast<base::Lock*>(*lock);
83 *lock = NULL;
/external/chromium_org/ppapi/proxy/
H A Dpdf_resource_unittest.cc46 ProxyAutoLock lock; local
62 ProxyAutoLock lock; local
183 ProxyAutoLock lock; local
/external/chromium_org/ppapi/shared_impl/
H A Dppb_var_shared.cc28 ProxyAutoLock lock; local
33 ProxyAutoLock lock; local
38 ProxyAutoLock lock; local
47 ProxyAutoLock lock; local
58 ProxyAutoLock lock; local
68 ProxyAutoLock lock; local
84 ProxyAutoLock lock; local
90 ProxyAutoLock lock; local
99 ProxyAutoLock lock; local
107 ProxyAutoLock lock; local
[all...]
H A Dproxy_lock.h25 // 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
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.
50 // Assert that the lock is owned by the current thread (in the plugin
60 // pretends to be the plugin. This allows the lock t
189 ProxyAutoLock lock; local
224 ProxyAutoLock lock; local
247 ProxyAutoLock lock; local
256 ProxyAutoLock lock; local
277 ProxyAutoLock lock; local
286 ProxyAutoLock lock; local
307 ProxyAutoLock lock; local
316 ProxyAutoLock lock; local
[all...]
/external/chromium_org/ppapi/thunk/
H A Dppb_file_ref_thunk.cc28 ppapi::ProxyAutoLock lock; local
/external/chromium_org/rlz/win/lib/
H A Dmachine_deal.cc125 LibMutex lock; local
126 if (lock.failed())
253 LibMutex lock; local
254 if (lock.failed())
H A Drlz_lib_win.cc84 LibMutex lock; local
85 if (lock.failed())
/external/chromium_org/third_party/WebKit/Source/modules/screen_orientation/
H A DScreenOrientation.cpp147 ScriptPromise ScreenOrientation::lock(ScriptState* state, const AtomicString& lockString) function in class:blink::ScreenOrientation
161 RefPtrWillBeRawPtr<DOMException> exception = DOMException::create(SecurityError, "The document is sandboxed and lacks the 'allow-orientation-lock' flag.");
166 controller()->lock(stringToOrientationLock(lockString), new LockOrientationCallback(resolver));
H A DScreenOrientationController.cpp156 void ScreenOrientationController::lock(WebScreenOrientationLockType orientation, WebLockOrientationCallback* callback) function in class:blink::ScreenOrientationController
/external/chromium_org/third_party/WebKit/Source/platform/
H A DPurgeableVector.cpp169 bool PurgeableVector::lock() function in class:blink::PurgeableVector
179 return m_discardable->lock();
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DThreadingWin.cpp127 atomicallyInitializedStaticMutex->lock();
169 void MutexBase::lock() function in class:WTF::MutexBase
185 // which will return an error if the lock is already owned by the
192 if (result != 0) { // We got the lock
193 // If this thread already had the lock, we must unlock and return
196 // check in the lock method (presumably due to performance?). This
197 // means lock() will succeed even if the current thread has already
215 if (result == 0) { // We didn't get the lock.
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_wrappers.cpp71 ScopedGlobalLock lock; local
147 ScopedGlobalLock lock; local
168 ScopedGlobalLock lock; local
201 ScopedGlobalLock lock; local
216 ScopedGlobalLock lock; local
229 ScopedGlobalLock lock; local

Completed in 587 milliseconds

1234567891011>>