/external/python/cpython2/Python/ |
thread_lwp.h | 9 struct lock { struct 59 * Lock support. 63 struct lock *lock; local 70 lock = (struct lock *) malloc(sizeof(struct lock)); 71 lock->lock_locked = 0; 72 (void) mon_create(&lock->lock_monitor); 73 (void) cv_create(&lock->lock_condvar, lock->lock_monitor) [all...] |
/external/robolectric/v1/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/swiftshader/src/Common/ |
GrallocAndroid.hpp | 32 int lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) function in class:GrallocModule 38 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr); 53 ALOGE("no gralloc module to lock");
|
MutexLock.hpp | 45 void lock() function in class:sw::MutexLock 87 void lock() 182 mutex.lock();
|
/external/swiftshader/src/Main/ |
FrameBufferAndroid.cpp | 80 void *FrameBufferAndroid::lock() function in class:sw::FrameBufferAndroid 87 if(GrallocModule::getInstance()->lock(buffer->handle, 91 ALOGE("%s failed to lock buffer %p", __FUNCTION__, buffer); 97 ALOGI("lock failed: buffer of %dx%d too small for window of %dx%d",
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
UniqueLock.h | 22 /// name, it's really more of a wrapper for a lock. It may or may not have 25 /// and re-lock it freely during its lifetime. 36 explicit unique_lock(MutexT &m) : M(&m), locked(true) { M->lock(); } 49 void lock() { function in class:llvm::unique_lock 52 M->lock();
|
/external/toybox/toys/pending/ |
userdel.c | 30 struct flock lock; local 41 lock.l_type = F_WRLCK; 42 lock.l_whence = SEEK_SET; 43 lock.l_start = lock.l_len = 0; 45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0) 46 perror_msg("Couldn't lock file %s",filename); 48 lock.l_type = F_UNLCK; //unlocking at a later stage 78 fcntl(fileno(exfp), F_SETLK, &lock); local
|
/external/v8/src/base/platform/ |
condition-variable.cc | 43 Mutex lock; local 44 LockGuard<Mutex> l(&lock); 48 pthread_cond_timedwait_relative_np(&native_handle_, &lock.native_handle(), 284 mutex->Lock(); 318 mutex->Lock();
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
functions-original.cc | 39 void lock() {} function in namespace:blink
|
/frameworks/base/services/net/java/android/net/ip/ |
IpReachabilityMonitor.java | 160 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, lockName); local 164 lock.acquire(durationMs);
|
/frameworks/native/services/surfaceflinger/ |
Barrier.h | 36 Mutex::Autolock _l(lock); 43 Mutex::Autolock _l(lock); 51 Mutex::Autolock _l(lock); 53 cv.wait(lock); 58 mutable Mutex lock; member in class:android::Barrier
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
SelfDestructiveThread.java | 166 final ReentrantLock lock = new ReentrantLock(); local 167 final Condition cond = lock.newCondition(); 179 lock.lock(); 184 lock.unlock(); 189 lock.lock(); 209 lock.unlock();
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
sync.h | 38 int lock() { function in class:Mutex
|
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoframe_private.h | 32 GStaticRecMutex lock; member in struct:_MixVideoFramePrivate
|
/hardware/interfaces/wifi/1.2/default/ |
hidl_return_util.h | 46 const auto lock = hidl_sync_util::acquireGlobalLock(); local 56 // This version passes the global lock acquired to the body of the method. 62 auto lock = hidl_sync_util::acquireGlobalLock(); local 64 hidl_cb((obj->*work)(&lock, std::forward<Args>(args)...)); 78 const auto lock = hidl_sync_util::acquireGlobalLock(); local 99 const auto lock = hidl_sync_util::acquireGlobalLock(); local
|
/hardware/libhardware/modules/gralloc/ |
gr.h | 51 inline explicit Autolock(Locker& locker) : locker(locker) { locker.lock(); } 56 inline void lock() { pthread_mutex_lock(&mutex); } function in class:Locker
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
cam_queue.h | 44 pthread_mutex_t lock; member in struct:__anon48907 49 pthread_mutex_init(&queue->lock, NULL); 66 pthread_mutex_lock(&queue->lock); 69 pthread_mutex_unlock(&queue->lock); 81 pthread_mutex_lock(&queue->lock); 89 pthread_mutex_unlock(&queue->lock); 105 pthread_mutex_lock(&queue->lock); 125 pthread_mutex_unlock(&queue->lock); 132 pthread_mutex_destroy(&queue->lock);
|
/hardware/qcom/display/msm8960/libgenlock/ |
genlock.cpp | 48 /* Internal function to map the userspace locks to the kernel lock types */ 52 // If the user sets both a read and write lock, higher preference is 53 // given to the write lock. 66 /* Internal function to perform the actual lock/unlock operations */ 80 ALOGE("%s: the lock has not been created," 85 genlock_lock lock; local 86 lock.op = lockType; 87 lock.flags = flags; 88 lock.timeout = timeout; 89 lock.fd = hnd->genlockHandle 162 genlock_lock lock; local 247 genlock_lock lock; local 339 genlock_lock lock; local [all...] |
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
loc_api_sync_call.h | 40 pthread_mutex_t lock; member in struct:__anon50223
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
loc_api_sync_call.h | 40 pthread_mutex_t lock; member in struct:__anon50309
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
loc_api_sync_call.h | 40 pthread_mutex_t lock; member in struct:__anon50367
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
loc_api_sync_call.h | 40 pthread_mutex_t lock; member in struct:__anon50659
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
loc_api_sync_call.h | 40 pthread_mutex_t lock; member in struct:__anon50717
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
sync.h | 38 int lock() { function in class:Mutex
|
/libcore/ojluni/src/main/java/java/net/ |
InMemoryCookieStore.java | 69 private ReentrantLock lock = null; field in class:InMemoryCookieStore 83 lock = new ReentrantLock(false); 97 lock.lock(); 105 lock.unlock(); 125 lock.lock(); 132 lock.unlock(); 145 lock.lock(); [all...] |