HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 226 - 250 of 996) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /device/generic/goldfish/gralloc/
gralloc_priv.h 44 pthread_mutex_t lock; member in struct:private_module_t
  /device/generic/goldfish-opengl/android-emu/android/base/synchronization/
AndroidLock.h 45 // where it's OK to leak the underlying system object. Use Lock for scoped or
53 // Acquire the lock.
54 void lock() { function in class:android::base::guest::StaticLock
76 // Release the lock.
104 class Lock : public StaticLock {
108 constexpr Lock() = default;
112 ~Lock() { ::pthread_mutex_destroy(&mLock); }
147 // Helper class to lock / unlock a mutex automatically on scope
149 // NB: not thread-safe (as opposed to the Lock class)
152 AutoLock(StaticLock& lock) : mLock(lock) { mLock.lock();
158 void lock() { function in class:android::base::guest::AutoLock
    [all...]
  /device/google/contexthub/sensorhal/
directchannel.cpp 141 ALOGE("Function pointer for retain, release, lock, unlock and getBackingStore are "
200 int GrallocHalWrapper::lock(const native_handle_t *handle, function in class:android::GrallocHalWrapper
204 return mGrallocModule->lock(mGrallocModule, handle, usage, l, t, w, h, vaddr);
290 mError = GrallocHalWrapper::getInstance().lock(mNativeHandle,
293 ALOGE("lock buffer failed");
298 ALOGE("lock buffer => nullptr");
  /device/google/cuttlefish_common/guest/hals/gralloc/
gralloc.cpp 121 int lock(struct gralloc_module_t const* /*module*/, function
161 int retval = lock(module, handle, usage, l, t, w, h, &mapped);
317 .lock = lock,
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
thread_beos.h 166 * Lock support.
173 benaphore_t *lock; local
180 lock = (benaphore_t *)malloc( sizeof( benaphore_t ) );
181 if( lock == NULL ) {
187 PyOS_snprintf(name, sizeof(name), "python lock (%d)", this_lock);
189 retval = benaphore_create( name, lock );
195 dprintf(("PyThread_allocate_lock() -> %p\n", lock));
196 return (PyThread_type_lock) lock;
199 void PyThread_free_lock( PyThread_type_lock lock )
203 dprintf(("PyThread_free_lock(%p) called\n", lock));
    [all...]
thread_os2.h 82 * Lock support. This is implemented with an event semaphore and critical
109 type_os2_lock lock = (type_os2_lock)malloc(sizeof(struct os2_lock_t));
115 lock->is_set = 0;
117 DosCreateEventSem(NULL, &lock->changed, 0, 0);
121 lock->changed));
123 return (PyThread_type_lock)lock;
131 type_os2_lock lock = (type_os2_lock)aLock; local
143 DosCloseEventSem(lock->changed);
149 * Return 1 on success if the lock was acquired
151 * and 0 if the lock was not acquired.
161 type_os2_lock lock = (type_os2_lock)aLock; local
208 type_os2_lock lock = (type_os2_lock)aLock; local
    [all...]
thread_pthread.h 98 /* A pthread mutex isn't sufficient to model the Python lock type
101 * -> a thread tries to lock a mutex it already has locked
107 * The pthread_lock struct implements a Python lock as a "locked?" bit
115 /* a <cond, mutex> pair to handle an acquire of a locked lock */
252 * Lock support.
258 sem_t *lock; local
265 lock = (sem_t *)malloc(sizeof(sem_t));
267 if (lock) {
268 status = sem_init(lock,0,1);
272 free((void *)lock);
358 pthread_lock *lock; local
    [all...]
thread_sgi.h 16 static ulock_t wait_lock; /* lock used to wait for other threads */
215 * Lock support.
219 ulock_t lock; local
225 if ((lock = usnewlock(shared_arena)) == NULL)
227 (void) usinitlock(lock);
228 dprintf(("PyThread_allocate_lock() -> %p\n", lock));
229 return (PyThread_type_lock) lock;
232 void PyThread_free_lock(PyThread_type_lock lock)
234 dprintf(("PyThread_free_lock(%p) called\n", lock));
235 usfreelock((ulock_t) lock, shared_arena);
    [all...]
  /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/
rx-newthread.hpp 48 mutable std::mutex lock; member in struct:rxcpp::schedulers::new_thread::new_worker::new_worker_state
73 std::unique_lock<std::mutex> guard(keepAlive->lock);
98 std::unique_lock<std::mutex> guard(keepAlive->lock);
135 std::unique_lock<std::mutex> guard(state->lock);
  /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/
rx-replaysubject.hpp 41 mutable std::mutex lock; member in class:rxcpp::subjects::detail::replay_observer::replay_observer_state
73 std::unique_lock<std::mutex> guard(lock);
90 std::unique_lock<std::mutex> guard(lock);
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
SimpleXYSeries.java 40 lock.readLock().lock();
45 lock.readLock().unlock();
56 private ReentrantReadWriteLock lock = new ReentrantReadWriteLock(true); field in class:SimpleXYSeries
95 lock.writeLock().lock();
99 lock.writeLock().unlock();
111 lock.writeLock().lock();
155 lock.writeLock().unlock();
    [all...]
  /external/apache-http/src/org/apache/http/client/methods/
HttpRequestBase.java 36 import java.util.concurrent.locks.Lock;
67 private Lock abortLock;
110 this.abortLock.lock();
125 this.abortLock.lock();
142 this.abortLock.lock();
155 // Trigger the callbacks outside of the lock, to prevent
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
ConnPoolByRoute.java 189 poolLock.lock();
210 poolLock.lock();
231 poolLock.lock();
280 poolLock.lock();
383 poolLock.lock();
427 poolLock.lock();
496 poolLock.lock();
532 poolLock.lock();
559 poolLock.lock();
581 poolLock.lock();
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyPairGeneratorSpi.java 28 private static Object lock = new Object(); field in class:KeyPairGeneratorSpi
115 synchronized (lock)
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyPairGeneratorSpi.java 32 private static Object lock = new Object(); field in class:KeyPairGeneratorSpi
119 synchronized (lock)
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyPairGeneratorSpi.java 34 private static Object lock = new Object(); field in class:KeyPairGeneratorSpi
117 synchronized (lock)
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_stackdepotbase.h 41 static Node *lock(atomic_uintptr_t *p);
74 Node *StackDepotBase<Node, kReservedBits, kTabSizeLog>::lock( function in class:__sanitizer::StackDepotBase
109 // If failed, lock, retry and insert new.
110 Node *s2 = lock(p);
163 lock(&tab[i]);
  /external/deqp/framework/platform/android/
tcuAndroidInternals.cpp 54 setFuncPtr(gb.lock, m_library, "_ZN7android13GraphicBuffer4lockEjPPv");
260 status_t GraphicBuffer::lock (deUint32 usage, void** vaddr) function in class:tcu::Android::internal::GraphicBuffer
262 return m_functions.lock(m_impl, usage, vaddr);
  /external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
JvmtiAgent.java 38 private static final Object lock = new Object(); field in class:JvmtiAgent
114 synchronized (lock) {
  /external/emma/core/java12/com/vladium/emma/data/
CoverageData.java 30 public Object lock () method in class:CoverageData
49 synchronized (lock ()) method
  /external/emma/core/java12/com/vladium/emma/rt/
RT.java 119 synchronized (cdata.lock ())
  /external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
CronetClientTransport.java 54 private final Object lock = new Object(); field in class:CronetClientTransport
55 @GuardedBy("lock")
65 @GuardedBy("lock")
69 @GuardedBy("lock")
71 @GuardedBy("lock")
73 @GuardedBy("lock")
75 @GuardedBy("lock")
123 url, userAgent, executor, headers, CronetClientTransport.this, this, lock, maxMessageSize,
128 synchronized (lock) {
143 @GuardedBy("lock")
    [all...]
  /external/guice/core/src/com/google/inject/internal/
WeakKeySet.java 48 private final Object lock; field in class:WeakKeySet
73 synchronized (lock) {
86 WeakKeySet(Object lock) {
87 this.lock = lock;
  /external/iptables/iptables/
xshared.c 259 fprintf(stderr, "Fatal: can't open lock file %s: %s\n",
268 fprintf(stderr, "Can't lock %s: %s\n", XT_LOCK_NAME,
280 fprintf(stderr, "Another app is currently holding the xtables lock; "
281 "still %lds %ldus time ahead to have a chance to grab the lock...\n",
291 void xtables_unlock(int lock)
293 if (lock >= 0)
294 close(lock);
299 int lock = xtables_lock(wait, wait_interval); local
301 if (lock == XT_LOCK_FAILED) {
306 if (lock == XT_LOCK_BUSY)
    [all...]
  /external/jemalloc/include/jemalloc/internal/
tsd.h 587 malloc_mutex_t lock; member in struct:tsd_init_head_s

Completed in 634 milliseconds

1 2 3 4 5 6 7 8 91011>>