Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 129) sorted by relevance

123456

/device/generic/goldfish-opengl/android-emu/android/base/synchronization/
DAndroidConditionVariable.h74 void wait(StaticLock* lock, Predicate pred) { in wait()
81 void wait(AutoLock* lock, Predicate pred) { in wait()
174 inline void ConditionVariable::signalAndUnlock(StaticLock* lock) { in signalAndUnlock()
178 inline void ConditionVariable::signalAndUnlock(AutoLock* lock) { in signalAndUnlock()
183 inline void ConditionVariable::broadcastAndUnlock(StaticLock* lock) { in broadcastAndUnlock()
187 inline void ConditionVariable::broadcastAndUnlock(AutoLock* lock) { in broadcastAndUnlock()
192 inline void ConditionVariable::signalAndUnlock(StaticLock* lock) { in signalAndUnlock()
196 inline void ConditionVariable::signalAndUnlock(AutoLock* lock) { in signalAndUnlock()
200 inline void ConditionVariable::broadcastAndUnlock(StaticLock* lock) { in broadcastAndUnlock()
204 inline void ConditionVariable::broadcastAndUnlock(AutoLock* lock) { in broadcastAndUnlock()
DAndroidMessageChannel.cpp24 AutoLock lock(mLock); in size() local
29 android::base::guest::AutoLock lock(mLock); in stop() local
37 AutoLock lock(mLock); in isStopped() local
42 AutoLock lock(mLock); in waitForEmpty() local
DAndroidLock.h54 void lock() { in lock() function
152 AutoLock(StaticLock& lock) : mLock(lock) { mLock.lock(); } in AutoLock()
158 void lock() { in lock() function
189 AutoWriteLock(ReadWriteLock& lock) : mLock(lock) { mLock.lockWrite(); } in AutoWriteLock()
218 AutoReadLock(ReadWriteLock& lock) : mLock(lock) { mLock.lockRead(); } in AutoReadLock()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dthread_lwp.h9 struct lock { struct
10 int lock_locked; argument
11 cv_t lock_condvar; argument
12 mon_t lock_monitor; argument
63 struct lock *lock; in PyThread_allocate_lock() local
78 void PyThread_free_lock(PyThread_type_lock lock) in PyThread_free_lock()
85 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock()
106 void PyThread_release_lock(PyThread_type_lock lock) in PyThread_release_lock()
Dthread_cthread.h68 mutex_t lock; in PyThread_allocate_lock() local
85 PyThread_free_lock(PyThread_type_lock lock) in PyThread_free_lock()
92 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock()
108 PyThread_release_lock(PyThread_type_lock lock) in PyThread_release_lock()
Dthread_solaris.h82 mutex_t *lock; in PyThread_allocate_lock() local
99 PyThread_free_lock(PyThread_type_lock lock) in PyThread_free_lock()
107 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock()
125 PyThread_release_lock(PyThread_type_lock lock) in PyThread_release_lock()
Dthread_pthread.h258 sem_t *lock; in PyThread_allocate_lock() local
282 PyThread_free_lock(PyThread_type_lock lock) in PyThread_free_lock()
311 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock()
339 PyThread_release_lock(PyThread_type_lock lock) in PyThread_release_lock()
358 pthread_lock *lock; in PyThread_allocate_lock() local
389 PyThread_free_lock(PyThread_type_lock lock) in PyThread_free_lock()
406 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock()
440 PyThread_release_lock(PyThread_type_lock lock) in PyThread_release_lock()
Dthread_foobar.h56 PyThread_free_lock(PyThread_type_lock lock) in PyThread_free_lock()
62 PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock()
72 PyThread_release_lock(PyThread_type_lock lock) in PyThread_release_lock()
/device/generic/goldfish/gnss/
Ddata_sink.cpp23 std::unique_lock<std::mutex> lock(mtx); in gnssLocation() local
30 std::unique_lock<std::mutex> lock(mtx); in gnssSvStatus() local
37 std::unique_lock<std::mutex> lock(mtx); in gnssStatus() local
45 std::unique_lock<std::mutex> lock(mtx); in gnssNmea() local
52 std::unique_lock<std::mutex> lock(mtx); in setCallback20() local
57 std::unique_lock<std::mutex> lock(mtx); in cleanup() local
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DPortableMutex.h38 static __inline__ void mutex_lock(mutex_t* lock) { in mutex_lock()
42 static __inline__ void mutex_unlock(mutex_t* lock) { in mutex_unlock()
46 static __inline__ int mutex_init(mutex_t* lock) { in mutex_init()
50 static __inline__ void mutex_destroy(mutex_t* lock) { in mutex_destroy()
/device/google/cuttlefish/host/libs/wayland/
Dwayland_surface.cpp25 std::unique_lock<std::mutex> lock(state_mutex_); in SetRegion() local
30 std::unique_lock<std::mutex> lock(state_mutex_); in Attach() local
35 std::unique_lock<std::mutex> lock(state_mutex_); in Commit() local
40 std::unique_lock<std::mutex> lock(callback_mutex_); in Commit() local
72 std::unique_lock<std::mutex> lock(callback_mutex_); in OnFrameAfter() local
/device/generic/goldfish/wifi/wifi_hal/
Dhalstate.cpp24 std::unique_lock<std::mutex> lock(mStateMutex); in init() local
51 std::unique_lock<std::mutex> lock(mStateMutex); in stop() local
81 std::unique_lock<std::mutex> lock(mStateMutex); in eventLoop() local
99 std::unique_lock<std::mutex> lock(mStateMutex); in onStop() local
Dnetlink.cpp91 std::unique_lock<std::mutex> lock(mStopHandlerMutex); in stop() local
138 std::unique_lock<std::mutex> lock(mStopHandlerMutex); in eventLoop() local
160 std::unique_lock<std::mutex> lock(mHandlersMutex); in sendMessage() local
253 std::unique_lock<std::mutex> lock(mHandlersMutex); in notifyHandler() local
/device/google/contexthub/firmware/os/core/
Dtrylock.c21 void trylockInit(struct TryLock *lock) in trylockInit()
26 void trylockRelease(struct TryLock *lock) in trylockRelease()
31 bool trylockTryTake(struct TryLock *lock) in trylockTryTake()
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.cpp42 Mutex::Autolock lock(mMutex); in ~JpegCompressor() local
60 Mutex::Autolock lock(mMutex); in start() local
89 Mutex::Autolock lock(mMutex); in compressSynchronous() local
207 Mutex::Autolock lock(mBusyMutex); in isStreamInUse() local
218 Mutex::Autolock lock(mBusyMutex); in waitForDone() local
227 Mutex::Autolock lock(mBusyMutex); in cleanUp() local
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp118 std::unique_lock<std::mutex> lock(m_mtx); in setOperationMode() local
134 std::unique_lock<std::mutex> lock(m_mtx); in activate() local
178 std::unique_lock<std::mutex> lock(m_mtx); in batch() local
194 std::unique_lock<std::mutex> lock(m_mtx); in flush() local
216 std::unique_lock<std::mutex> lock(m_mtx); in injectSensorData_2_1() local
231 std::unique_lock<std::mutex> lock(m_mtx); in initialize() local
242 std::unique_lock<std::mutex> lock(m_mtx); in postSensorEvent() local
282 std::unique_lock<std::mutex> lock(m_mtx); in batchThread() local
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp340 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in createVirtualDisplay() local
361 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in destroyVirtualDisplay() local
390 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex, in dump() local
449 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in registerCallback() local
557 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in acceptChanges() local
585 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in createLayer() local
596 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in destroyLayer() local
619 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getActiveConfig() local
634 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getAttribute() local
649 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getChangedCompositionTypes() local
[all …]
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DJpegCompressor.cpp36 JpegCompressor::~JpegCompressor() { Mutex::Autolock lock(mMutex); } in ~JpegCompressor() local
54 Mutex::Autolock lock(mMutex); in start() local
80 Mutex::Autolock lock(mMutex); in compressSynchronous() local
210 Mutex::Autolock lock(mBusyMutex); in isStreamInUse() local
221 Mutex::Autolock lock(mBusyMutex); in waitForDone() local
242 Mutex::Autolock lock(mBusyMutex); in cleanUp() local
/device/generic/goldfish/camera/
DWorkerThread.cpp41 Mutex::Autolock lock(mRunningMutex); in startThread() local
50 Mutex::Autolock lock(mRunningMutex); in stopThread() local
80 Mutex::Autolock lock(mRunningMutex); in threadLoop() local
DEmulatedFakeCamera2.cpp685 Mutex::Autolock lock(mInputMutex); in readyToRun() local
697 Mutex::Autolock lock(mInputMutex); in waitUntilRunning() local
708 Mutex::Autolock lock(mInputMutex); in newRequestAvailable() local
717 Mutex::Autolock lock(mInternalsMutex); in isStreamInUse() local
727 Mutex::Autolock lock(mInputMutex); in getInProgressCount() local
736 Mutex::Autolock lock(mInputMutex); in threadLoop() local
767 Mutex::Autolock lock(mInputMutex); in threadLoop() local
771 Mutex::Autolock lock(mInputMutex); in threadLoop() local
948 Mutex::Autolock lock(mInputMutex); in configureNextCapture() local
1050 Mutex::Autolock lock(mInputMutex); in configureNextReprocess() local
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidWorkPool.cpp83 AutoLock lock(mLock); in decrementBroadcast() local
214 AutoLock lock(mLock); in acquire() local
227 AutoLock lock(mLock); in run() local
251 AutoLock lock(mLock); in shouldCleanupWaitGroup() local
272 AutoLock lock(mLock); in exit() local
289 AutoLock lock(mLock); in threadFunc() local
294 AutoLock lock(mLock); in threadFunc() local
310 AutoLock lock(mLock); in doRun() local
343 AutoLock lock(mLock); in schedule() local
385 AutoLock lock(mLock); in waitAny() local
[all …]
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp371 std::unique_lock<std::mutex> lock(mStateMutex); in registerCallback() local
470 std::unique_lock<std::mutex> lock(mStateMutex); in acceptChanges() local
498 std::unique_lock<std::mutex> lock(mStateMutex); in createLayer() local
510 std::unique_lock<std::mutex> lock(mStateMutex); in destroyLayer() local
534 std::unique_lock<std::mutex> lock(mStateMutex); in getActiveConfig() local
551 std::unique_lock<std::mutex> lock(mStateMutex); in getDisplayAttribute() local
567 std::unique_lock<std::mutex> lock(mStateMutex); in getChangedCompositionTypes() local
600 std::unique_lock<std::mutex> lock(mStateMutex); in getColorModes() local
618 std::unique_lock<std::mutex> lock(mStateMutex); in getConfigs() local
654 std::unique_lock<std::mutex> lock(mStateMutex); in getName() local
[all …]
/device/linaro/bootloader/arm-trusted-firmware/lib/locks/bakery/
Dbakery_lock_normal.c56 #define get_bakery_info(cpu_ix, lock) \ argument
85 static unsigned int bakery_get_ticket(bakery_lock_t *lock, in bakery_get_ticket()
149 void bakery_lock_get(bakery_lock_t *lock) in bakery_lock_get()
210 void bakery_lock_release(bakery_lock_t *lock) in bakery_lock_release()
/device/linaro/hikey/hifi/xaf/host-apf/include/os/xos/
Dxf-osal.h47 static inline void __xf_lock_init(xf_lock_t *lock) in __xf_lock_init()
53 static inline void __xf_lock(xf_lock_t *lock) in __xf_lock()
59 static inline void __xf_unlock(xf_lock_t *lock) in __xf_unlock()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCamera2.cpp687 Mutex::Autolock lock(mInputMutex); in readyToRun() local
699 Mutex::Autolock lock(mInputMutex); in waitUntilRunning() local
710 Mutex::Autolock lock(mInputMutex); in newRequestAvailable() local
719 Mutex::Autolock lock(mInternalsMutex); in isStreamInUse() local
729 Mutex::Autolock lock(mInputMutex); in getInProgressCount() local
738 Mutex::Autolock lock(mInputMutex); in threadLoop() local
767 Mutex::Autolock lock(mInputMutex); in threadLoop() local
771 Mutex::Autolock lock(mInputMutex); in threadLoop() local
938 Mutex::Autolock lock(mInputMutex); in configureNextCapture() local
1036 Mutex::Autolock lock(mInputMutex); in configureNextReprocess() local
[all …]

123456