HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 176 - 200 of 1458) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/npapi/npspy/extern/nspr/private/
pprthred.h 287 ** 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
359 ** Special X-Lock hack for client
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLBufferImpl.cpp 72 void* GrGLBufferImpl::lock(GrGpuGL* gpu) { function in class:GrGLBufferImpl
136 // portions of the buffer (lock() does a glBufferData(..size, NULL..))
  /external/easymock/src/org/easymock/internal/
ReplayState.java 30 private final ReentrantLock lock = new ReentrantLock(); field in class:ReplayState
42 lock.lock();
47 lock.unlock();
  /external/emma/core/java12/com/vladium/emma/data/
ICoverageData.java 33 Object lock (); method in interface:ICoverageData
IMetaData.java 22 Object lock (); method in interface:IMetaData
  /external/guava/guava/src/com/google/common/util/concurrent/
MoreExecutors.java 37 import java.util.concurrent.locks.Lock;
231 * Lock used whenever accessing the state variables
234 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();
    [all...]
  /external/kernel-headers/original/linux/
percpu_counter.h 18 spinlock_t lock; member in struct:percpu_counter
31 spin_lock_init(&fbc->lock);
seq_file.h 22 struct mutex lock; member in struct:seq_file
  /external/qemu/distrib/sdl-1.2.15/src/thread/dc/
SDL_syscond.c 34 SDL_mutex *lock; member in struct:SDL_cond
48 cond->lock = SDL_CreateMutex();
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) {
72 if ( cond->lock ) {
73 SDL_DestroyMutex(cond->lock);
90 SDL_LockMutex(cond->lock);
94 SDL_UnlockMutex(cond->lock);
97 SDL_UnlockMutex(cond->lock);
114 SDL_LockMutex(cond->lock);
126 SDL_UnlockMutex(cond->lock);
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/thread/generic/
SDL_syscond.c 34 SDL_mutex *lock; member in struct:SDL_cond
48 cond->lock = SDL_CreateMutex();
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) {
72 if ( cond->lock ) {
73 SDL_DestroyMutex(cond->lock);
90 SDL_LockMutex(cond->lock);
94 SDL_UnlockMutex(cond->lock);
97 SDL_UnlockMutex(cond->lock);
114 SDL_LockMutex(cond->lock);
126 SDL_UnlockMutex(cond->lock);
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/thread/os2/
SDL_syscond.c 34 SDL_mutex *lock; member in struct:SDL_cond
48 cond->lock = SDL_CreateMutex();
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) {
72 if ( cond->lock ) {
73 SDL_DestroyMutex(cond->lock);
90 SDL_LockMutex(cond->lock);
94 SDL_UnlockMutex(cond->lock);
97 SDL_UnlockMutex(cond->lock);
114 SDL_LockMutex(cond->lock);
126 SDL_UnlockMutex(cond->lock);
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
WifiManagerTest.java 145 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
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"); local
158 lock.setReferenceCounted(false)
169 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
175 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
    [all...]
  /external/skia/src/gpu/gl/
GrGLBufferImpl.cpp 72 void* GrGLBufferImpl::lock(GrGpuGL* gpu) { function in class:GrGLBufferImpl
136 // portions of the buffer (lock() does a glBufferData(..size, NULL..))
  /frameworks/native/libs/ui/
GraphicBufferMapper.cpp 73 status_t GraphicBufferMapper::lock(buffer_handle_t handle, function in class:android::GraphicBufferMapper
79 err = mAllocMod->lock(mAllocMod, handle, usage,
83 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err));
97 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err));
  /frameworks/native/services/surfaceflinger/
Barrier.h 32 Mutex::Autolock _l(lock);
37 Mutex::Autolock _l(lock);
41 Mutex::Autolock _l(lock);
43 cv.wait(lock);
48 mutable Mutex lock; member in class:android::Barrier
  /hardware/libhardware/modules/gralloc/
gr.h 55 inline Autolock(Locker& locker) : locker(locker) { locker.lock(); }
60 inline void lock() { pthread_mutex_lock(&mutex); } function in class:Locker
  /hardware/qcom/camera/QCamera2/stack/common/
cam_queue.h 40 pthread_mutex_t lock; member in struct:__anon33061
45 pthread_mutex_init(&queue->lock, NULL);
62 pthread_mutex_lock(&queue->lock);
65 pthread_mutex_unlock(&queue->lock);
77 pthread_mutex_lock(&queue->lock);
85 pthread_mutex_unlock(&queue->lock);
101 pthread_mutex_lock(&queue->lock);
121 pthread_mutex_unlock(&queue->lock);
128 pthread_mutex_destroy(&queue->lock);
  /hardware/qcom/display/msm8960/libgenlock/
genlock.cpp 42 /* Internal function to map the userspace locks to the kernel lock types */
47 // If the user sets both a read and write lock, higher preference is
48 // given to the write lock.
62 /* Internal function to perform the actual lock/unlock operations */
77 ALOGE("%s: the lock has not been created,"
82 genlock_lock lock; local
83 lock.op = lockType;
84 lock.flags = flags;
85 lock.timeout = timeout;
86 lock.fd = hnd->genlockHandle
155 genlock_lock lock; local
240 genlock_lock lock; local
332 genlock_lock lock; local
    [all...]
  /hardware/qcom/display/msm8x26/libgenlock/
genlock.cpp 42 /* Internal function to map the userspace locks to the kernel lock types */
47 // If the user sets both a read and write lock, higher preference is
48 // given to the write lock.
62 /* Internal function to perform the actual lock/unlock operations */
77 ALOGE("%s: the lock has not been created,"
82 genlock_lock lock; local
83 lock.op = lockType;
84 lock.flags = flags;
85 lock.timeout = timeout;
86 lock.fd = hnd->genlockHandle
155 genlock_lock lock; local
240 genlock_lock lock; local
332 genlock_lock lock; local
    [all...]
  /libcore/luni/src/main/java/java/io/
Reader.java 43 protected Object lock; field in class:Reader
50 lock = this;
54 * Constructs a new {@code Reader} with {@code lock} used to synchronize
57 * @param lock
60 * if {@code lock} is {@code null}.
62 protected Reader(Object lock) {
63 if (lock == null) {
64 throw new NullPointerException("lock == null");
66 this.lock = lock;
    [all...]
Writer.java 41 protected Object lock; field in class:Writer
48 lock = this;
52 * Constructs a new {@code Writer} with {@code lock} used to synchronize
55 * @param lock
58 * if {@code lock} is {@code null}.
60 protected Writer(Object lock) {
61 if (lock == null) {
62 throw new NullPointerException("lock == null");
64 this.lock = lock;
    [all...]
  /libcore/luni/src/main/java/java/util/
TimerTask.java 28 /* Lock object for synchronization. It's also used by Timer class. */
29 final Object lock = new Object(); field in class:TimerTask
51 synchronized (lock) {
60 synchronized (lock) {
72 synchronized (lock) {
92 synchronized (lock) {
107 synchronized (lock) {
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock.algorithm/
lock.pass.cpp 13 // 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(l0, l1)
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/
spinlock_pt.hpp 39 void lock() function in class:boost::detail::spinlock
64 sp.lock();
spinlock_sync.hpp 44 void lock() function in class:boost::detail::spinlock
72 sp.lock();

Completed in 687 milliseconds

1 2 3 4 5 6 78 91011>>