Searched defs:lock (Results 51 - 75 of 340) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DSpinLockTest.cpp41 static int lock = 0; member in namespace:__anon10478
67 spinLockLock(&lock);
69 spinLockUnlock(&lock);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dsharedexclusivelock.h37 // This class provides shared-exclusive lock. It can be used in cases like
61 explicit SharedScope(SharedExclusiveLock* lock) : lock_(lock) { argument
77 explicit ExclusiveScope(SharedExclusiveLock* lock) : lock_(lock) { argument
/external/chromium_org/third_party/npapi/npspy/extern/nspr/private/
H A Dpprthred.h287 ** Test and then lock the lock if it's not already locked by some other
288 ** thread. Return PR_FALSE if some other thread owned the lock at the
291 NSPR_API(PRBool) PR_TestAndLock(PRLock *lock); variable
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLIndexBuffer.cpp29 void* GrGLIndexBuffer::lock() { function in class:GrGLIndexBuffer
31 return fImpl.lock(this->getGpuGL());
H A DGrGLVertexBuffer.cpp30 void* GrGLVertexBuffer::lock() { function in class:GrGLVertexBuffer
32 return fImpl.lock(this->getGpuGL());
/external/clang/test/CodeGen/
H A Datomic.c91 void release_return(int *lock) { argument
93 return __sync_lock_release(lock);
/external/kernel-headers/original/linux/
H A Dblockgroup_lock.h37 spinlock_t lock; member in struct:bgl_lock
49 spin_lock_init(&bgl->locks[i].lock);
57 (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
H A Dseq_file.h22 struct mutex lock; member in struct:seq_file
/external/skia/src/gpu/gl/
H A DGrGLIndexBuffer.cpp29 void* GrGLIndexBuffer::lock() { function in class:GrGLIndexBuffer
31 return fImpl.lock(this->getGpuGL());
H A DGrGLVertexBuffer.cpp30 void* GrGLVertexBuffer::lock() { function in class:GrGLVertexBuffer
32 return fImpl.lock(this->getGpuGL());
/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...]
H A DHTTPExchange.java47 private final Lock lock = new ReentrantLock(); field in class:HTTPExchange
52 private final Condition ready = lock.newCondition();
92 lock.lock();
101 lock.unlock();
111 lock.lock();
122 lock.unlock();
/external/valgrind/main/drd/tests/
H A Dunified_annotations.h38 const volatile void *lock)
37 AnnotateCondVarWait(const char *file, int line, const volatile void *cv, const volatile void *lock) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
H A DKeyPairGeneratorSpi.java25 private static Object lock = new Object(); field in class:KeyPairGeneratorSpi
84 synchronized (lock)
/external/chromium/base/synchronization/
H A Dlock.h26 // If the lock is not held, take it and return true. If the lock is already
28 // by a thread already holding the lock (what happens is undefined and an
40 // acquire the lock a second time (while already holding it).
63 // to see our lock and tweak our debugging counters, as it releases
80 // Be VERY careful to only access members under that lock.
88 // Platform specific underlying lock implementation.
97 explicit AutoLock(Lock& lock) : lock_(lock) { argument
111 // AutoUnlock is a helper that will Release() the |lock| argumen
115 AutoUnlock(Lock& lock) argument
[all...]
/external/chromium/chrome/browser/content_settings/
H A Dcontent_settings_base_provider.h13 #include "base/synchronization/lock.h"
107 base::Lock& lock() const { function in class:content_settings::BaseProvider
/external/chromium_org/base/synchronization/
H A Dlock_unittest.cc5 #include "base/synchronization/lock.h"
19 explicit BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} argument
52 Lock lock; local
53 BasicLockTestThread thread(&lock);
60 lock.Acquire();
62 lock.Release();
65 lock.Acquire();
68 lock.Release();
71 if (lock
94 TryLockTestThread(Lock* lock) argument
112 Lock lock; local
152 MutexLockTestThread(Lock* lock, int* value) argument
155 DoStuff(Lock* lock, int* value) argument
177 Lock lock; local
193 Lock lock; local
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dimmersive_mode_controller_ash_browsertest.cc229 scoped_ptr<ImmersiveRevealedLock> lock; local
232 // lock causing the top-of-window views to be revealed (and the mouse
237 lock.reset(controller()->GetRevealedLock(
240 lock.reset();
256 // reveal in ImmersiveModeController::SetEnabled(true) and there is a lock
261 lock.reset(controller()->GetRevealedLock(
266 lock.reset();
283 // 1) Test acquiring and releasing a revealed state lock while immersive mode
284 // is disabled. Acquiring or releasing the lock should have no effect till
292 // Immersive mode should start in the revealed state due to the lock
[all...]
/external/chromium_org/net/cert/
H A Dcert_database_nss.cc99 crypto::AutoNSSWriteLock lock; local
/external/chromium_org/ppapi/proxy/
H A Dppp_messaging_proxy_unittest.cc57 ProxyAutoLock lock; local
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DMediaElementAudioSourceNode.cpp114 // If we fail to acquire the lock then the HTMLMediaElement must be in the middle of
133 // We failed to acquire the lock.
142 void MediaElementAudioSourceNode::lock() function in class:WebCore::MediaElementAudioSourceNode
145 m_processLock.lock();
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-mutex-private.hh124 inline void lock (void) { hb_mutex_impl_lock (&m); } function in struct:hb_mutex_t
/external/emma/core/java12/com/vladium/emma/data/
H A DICoverageData.java33 Object lock (); method in interface:ICoverageData
H A DIMetaData.java22 Object lock (); method in interface:IMetaData
/external/harfbuzz_ng/src/
H A Dhb-mutex-private.hh124 inline void lock (void) { hb_mutex_impl_lock (&m); } function in struct:hb_mutex_t

Completed in 1068 milliseconds

1234567891011>>