Searched refs:lock (Results 101 - 125 of 1392) sorted by relevance

1234567891011>>

/external/smack/src/com/kenai/jbosh/
H A DApacheHTTPSender.java47 private final Lock lock = new ReentrantLock(); field in class:ApacheHTTPSender
77 lock.lock();
82 lock.unlock();
90 lock.lock();
98 lock.unlock();
110 lock.lock();
118 lock
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_StringReader.java52 synchronized (lock) {
77 synchronized (lock) {
112 synchronized (lock) {
140 synchronized (lock) {
173 synchronized (lock) {
191 synchronized (lock) {
211 synchronized (lock) {
/external/chromium_org/android_webview/browser/
H A Dshared_renderer_state.cc36 base::AutoLock lock(lock_);
44 base::AutoLock lock(lock_);
59 base::AutoLock lock(lock_);
65 base::AutoLock lock(lock_);
110 base::AutoLock lock(lock_);
123 base::AutoLock lock(lock_);
146 base::AutoLock lock(lock_);
151 base::AutoLock lock(lock_);
156 base::AutoLock lock(lock_);
162 base::AutoLock lock(lock
[all...]
/external/libcxxabi/src/
H A Dcxa_guard.cpp119 uint8_t lock[2]; member in union:__cxxabiv1::__anon23627::__anon23628
121 return f.lock[1] != 0;
131 uint8_t lock[2]; member in union:__cxxabiv1::__anon23627::__anon23629
133 f.lock[1] = y;
144 uint8_t lock[2]; member in union:__cxxabiv1::__anon23627::__anon23630
146 return f.lock[1] != 0;
156 uint8_t lock[2]; member in union:__cxxabiv1::__anon23627::__anon23631
158 f.lock[1] = y;
198 lock_type lock = get_lock(*guard_object);
199 if (lock)
[all...]
/external/srec/portable/src/
H A DPFileImpl.c44 impl->lock = NULL;
70 rc = PtrdMonitorCreate(&impl->lock);
84 if (impl->lock != NULL) \
85 CHKLOG(rc, PtrdMonitorLock(impl->lock));
93 if (impl->lock!=NULL) \
94 CHKLOG(rc, PtrdMonitorUnlock(impl->lock)); \
97 if (impl->lock!=NULL) \
98 PtrdMonitorUnlock(impl->lock); \
124 if (impl->lock != NULL)
126 PtrdMonitorUnlock(impl->lock);
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dproxy_lock_unittest.cc25 // If we expect to be unlocked, try to lock. We rely on the checking inside
27 ProxyAutoLock lock; local
74 ProxyAutoLock lock; local
82 ProxyAutoLock lock; local
90 ProxyAutoLock lock; local
103 ProxyAutoLock lock; local
112 ProxyAutoLock lock; local
121 ProxyAutoLock lock; local
130 ProxyAutoLock lock; local
138 ProxyAutoLock lock; local
[all...]
/external/chromium_org/third_party/webrtc/video/
H A Dsend_statistics_proxy.cc30 CriticalSectionScoped lock(crit_.get());
35 CriticalSectionScoped lock(crit_.get());
41 CriticalSectionScoped lock(crit_.get());
46 CriticalSectionScoped lock(crit_.get());
68 CriticalSectionScoped lock(crit_.get());
79 CriticalSectionScoped lock(crit_.get());
89 CriticalSectionScoped lock(crit_.get());
100 CriticalSectionScoped lock(crit_.get());
122 CriticalSectionScoped lock(crit_.get());
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
H A DTestThread.java53 // We can't use the AtomicBoolean as the lock or findbugs will freak out...
115 final Object lock = new Object();
123 synchronized (lock) {
125 lock.notify();
129 synchronized (lock) {
132 lock.wait();
/external/chromium_org/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/
H A DSocketTunnelBase.java86 final Lock lock = mDataChanneliReferenceLock.readLock();
87 lock.lock();
91 lock.unlock();
101 final Lock lock = mDataChanneliReferenceLock.writeLock();
102 lock.lock();
106 lock.unlock();
116 final Lock lock = mDataChanneliReferenceLock.writeLock();
117 lock
[all...]
/external/chromium_org/content/renderer/media/
H A Dmedia_stream_audio_sink_owner.cc25 base::AutoLock lock(lock_);
27 // lock.
40 base::AutoLock lock(lock_);
47 base::AutoLock lock(lock_);
53 base::AutoLock lock(lock_);
60 base::AutoLock lock(lock_);
/external/chromium_org/ppapi/thunk/
H A Dppb_var_array_thunk.cc16 ProxyAutoLock lock; local
24 ProxyAutoLock lock; local
33 ProxyAutoLock lock; local
42 ProxyAutoLock lock; local
51 ProxyAutoLock lock; local
/external/chromium_org/third_party/cld/base/
H A Ddynamic_annotations.h56 // MutexLock lock(&mu_);
62 // MutexLock lock(&mu_);
72 // and the lock at address "lock" is held.
73 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \
74 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock)
77 // w/o lock.
203 // The "lock" argument is a pointer to the lock object.
205 // Report that a lock ha
[all...]
/external/chromium_org/third_party/tlslite/tlslite/
H A Dsessioncache.py40 self.lock = threading.Lock()
53 self.lock.acquire()
68 self.lock.release()
72 self.lock.acquire()
85 self.lock.release()
/external/guava/guava/src/com/google/common/util/concurrent/
H A DMoreExecutors.java234 private final Lock lock = new ReentrantLock(); field in class:MoreExecutors.SameThreadExecutorService
237 private final Condition termination = lock.newCondition();
261 lock.lock();
265 lock.unlock();
271 lock.lock();
275 lock.unlock();
288 lock.lock();
[all...]
/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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DWifiManagerTest.java145 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG");
146 lock.acquire();
147 lock.acquire();
148 assertTrue(lock.isHeld());
149 lock.release();
150 assertTrue(lock.isHeld());
151 lock.release();
152 assertFalse(lock.isHeld());
157 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG");
158 lock
[all...]
/external/libcxx/test/thread/thread.mutex/thread.lock.algorithm/
H A Dlock.pass.cpp13 // void lock(L1&, L2&, L3&...);
25 void lock() function in class:L0
48 void lock() function in class:L1
71 void lock() function in class:L2
92 std::lock(l0, l1);
99 std::lock(l0, l1);
106 std::lock(l0, l1);
115 std::lock(l0, l1);
129 std::lock(l0, l1);
143 std::lock(l
[all...]
/external/chromium_org/base/test/
H A Dtask_runner_test_template.cc20 AutoLock lock(lock_);
30 AutoLock lock(lock_);
35 AutoLock lock(lock_);
/external/chromium_org/content/browser/screen_orientation/
H A Dscreen_orientation_provider_android.h50 // Whether the passed |lock| matches the current orientation. In other words,
51 // whether the orientation will need to change to match the |lock|.
52 bool LockMatchesCurrentOrientation(blink::WebScreenOrientationLockType lock);
54 // Returns the lock type that should be associated with 'natural' lock.
55 // Returns WebScreenOrientationLockDefault if the natural lock type can't be
65 // Whether the ScreenOrientationProvider currently has a lock applied.
69 LockInformation(int request_id, blink::WebScreenOrientationLockType lock);
71 blink::WebScreenOrientationLockType lock; member in struct:content::ScreenOrientationProviderAndroid::LockInformation
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dsem_init.c112 if (pthread_mutex_init(&s->lock, NULL) == 0)
125 (void) pthread_mutex_destroy(&s->lock);
140 (void) pthread_mutex_destroy(&s->lock);
H A Dsem_post_multiple.c87 else if ((result = pthread_mutex_lock (&s->lock)) == 0)
93 (void) pthread_mutex_unlock (&s->lock);
131 (void) pthread_mutex_unlock (&s->lock);
/external/chromium_org/sandbox/win/src/
H A Dwin2k_threadpool.cc24 AutoLock lock(&lock_);
33 AutoLock lock(&lock_);
49 AutoLock lock(&lock_);
/external/chromium_org/sync/util/
H A Dextensions_activity.cc19 base::AutoLock lock(records_lock_);
25 base::AutoLock lock(records_lock_);
33 base::AutoLock lock(records_lock_);
/external/chromium_org/third_party/skia/tests/
H A DDiscardableMemoryPoolTest.cpp22 REPORTER_ASSERT(reporter, !dm1->lock());
30 REPORTER_ASSERT(reporter, dm2->lock());
33 REPORTER_ASSERT(reporter, !dm2->lock());
/external/chromium_org/third_party/webrtc/voice_engine/
H A Dmonitor_module.cc34 CriticalSectionScoped lock(&_callbackCritSect);
46 CriticalSectionScoped lock(&_callbackCritSect);
76 CriticalSectionScoped lock(&_callbackCritSect);

Completed in 809 milliseconds

1234567891011>>