Home
last modified time | relevance | path

Searched defs:AutoLock (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/core/
DSkTaskGroup.cpp87 struct AutoLock { struct in __anonc732b1eb0111::ThreadPool
88 AutoLock(SkSpinlock* lock) : fLock(lock) { fLock->acquire(); } in AutoLock() argument
89 ~AutoLock() { fLock->release(); } in ~AutoLock()
91 SkSpinlock* fLock;
/external/libchrome/base/synchronization/
Dlock.h101 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() function
105 AutoLock(Lock& lock, const AlreadyAcquired&) : lock_(lock) { in AutoLock() function
/external/sfntly/cpp/src/sfntly/port/
Dlock.h61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() function
/external/drm_hwcomposer/
Dautolock.h23 AutoLock(pthread_mutex_t *mutex, const char *const name) in AutoLock() function
/external/opencv3/modules/core/src/
Dalloc.cpp160 struct AutoLock struct
162 AutoLock(CriticalSection& _cs) : cs(&_cs) { cs->lock(); } in AutoLock() argument
163 ~AutoLock() { cs->unlock(); } in ~AutoLock()
164 CriticalSection* cs;
/external/webrtc/webrtc/examples/peerconnection/client/
Dmain_wnd.h144 explicit AutoLock(T* obj) : obj_(obj) { obj_->Lock(); } in AutoLock() function
/external/opencv3/modules/core/include/opencv2/core/
Dutility.hpp504 class CV_EXPORTS AutoLock class
507 AutoLock(Mutex& m) : mutex(&m) { mutex->lock(); } in AutoLock() function in cv::AutoLock