Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 – 25 of 262) sorted by relevance

1234567891011

/external/chromium/sdch/open-vcdiff/src/
Dmutex.h135 class Mutex {
141 inline Mutex();
144 inline ~Mutex();
170 Mutex(Mutex* /*ignored*/) {} in Mutex() argument
172 Mutex(const Mutex&);
173 void operator=(const Mutex&);
190 Mutex::Mutex() : mutex_(0) { } in Mutex() function
191 Mutex::~Mutex() { assert(mutex_ == 0); } in ~Mutex()
192 void Mutex::Lock() { assert(--mutex_ == -1); } in Lock()
193 void Mutex::Unlock() { assert(mutex_++ == -1); } in Unlock()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcommon.cc126 static Mutex* log_silencer_count_mutex_ = NULL;
134 log_silencer_count_mutex_ = new Mutex; in InitLogSilencerCount()
243 struct Mutex::Internal {
251 Mutex::Mutex() in Mutex() function in google::protobuf::Mutex
256 Mutex::~Mutex() { in ~Mutex()
261 void Mutex::Lock() { in Lock()
268 void Mutex::Unlock() { in Unlock()
275 void Mutex::AssertHeld() { in AssertHeld()
283 struct Mutex::Internal {
287 Mutex::Mutex() in Mutex() function in google::protobuf::Mutex
[all …]
/external/webkit/Source/JavaScriptCore/wtf/
DThreadingNone.cpp45 Mutex::Mutex() { } in Mutex() function in WTF::Mutex
46 Mutex::~Mutex() { } in ~Mutex()
47 void Mutex::lock() { } in lock()
48 bool Mutex::tryLock() { return false; } in tryLock()
49 void Mutex::unlock() { } in unlock()
53 void ThreadCondition::wait(Mutex&) { } in wait() argument
54 bool ThreadCondition::timedWait(Mutex&, double) { return false; } in timedWait() argument
DThreadingPrimitives.h100 class Mutex {
101 WTF_MAKE_NONCOPYABLE(Mutex); WTF_MAKE_FAST_ALLOCATED;
103 Mutex();
104 ~Mutex();
116 typedef Locker<Mutex> MutexLocker;
142 void wait(Mutex& mutex);
145 bool timedWait(Mutex&, double absoluteTime);
161 using WTF::Mutex;
DThreadingPthreads.cpp66 static Mutex* atomicallyInitializedStaticMutex;
70 static Mutex& threadMapMutex() in threadMapMutex()
72 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); in threadMapMutex()
81 atomicallyInitializedStaticMutex = new Mutex; in initializeThreading()
251 Mutex::Mutex() in Mutex() function in WTF::Mutex
262 Mutex::~Mutex() in ~Mutex()
267 void Mutex::lock() in lock()
273 bool Mutex::tryLock() in tryLock()
286 void Mutex::unlock() in unlock()
358 void ThreadCondition::wait(Mutex& mutex) in wait()
[all …]
DThreadingWin.cpp139 static Mutex* atomicallyInitializedStaticMutex;
152 static Mutex& threadMapMutex() in threadMapMutex()
154 static Mutex mutex; in threadMapMutex()
163 atomicallyInitializedStaticMutex = new Mutex; in initializeThreading()
277 Mutex::Mutex() in Mutex() function in WTF::Mutex
283 Mutex::~Mutex() in ~Mutex()
288 void Mutex::lock() in lock()
294 bool Mutex::tryLock() in tryLock()
320 void Mutex::unlock() in unlock()
456 void ThreadCondition::wait(Mutex& mutex) in wait()
[all …]
/external/icu4c/common/
Dmutex.h51 class U_COMMON_API Mutex : public UMemory {
53 inline Mutex(UMTX *mutex = NULL);
54 inline ~Mutex();
59 Mutex(const Mutex &other); // forbid copying of this class
60 Mutex &operator=(const Mutex &other); // forbid copying of this class
63 inline Mutex::Mutex(UMTX *mutex) in Mutex() function
69 inline Mutex::~Mutex() in ~Mutex()
Dservnotf.cpp30 Mutex lmx(&notifyLock); in ~ICUNotifier()
48 Mutex lmx(&notifyLock); in addListener()
81 Mutex lmx(&notifyLock); in removeListener()
104 Mutex lmx(&notifyLock); in notifyChanged()
/external/webkit/Source/JavaScriptCore/wtf/gtk/
DThreadingGtk.cpp48 static Mutex* atomicallyInitializedStaticMutex;
50 static Mutex& threadMapMutex() in threadMapMutex()
52 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); in threadMapMutex()
63 atomicallyInitializedStaticMutex = new Mutex; in initializeThreading()
175 Mutex::Mutex() in Mutex() function in WTF::Mutex
180 Mutex::~Mutex() in ~Mutex()
184 void Mutex::lock() in lock()
189 bool Mutex::tryLock() in tryLock()
194 void Mutex::unlock() in unlock()
208 void ThreadCondition::wait(Mutex& mutex) in wait()
[all …]
/external/webkit/Source/JavaScriptCore/wtf/qt/
DThreadingQt.cpp85 static Mutex* atomicallyInitializedStaticMutex;
87 static Mutex& threadMapMutex() in threadMapMutex()
89 static Mutex mutex; in threadMapMutex()
144 atomicallyInitializedStaticMutex = new Mutex; in initializeThreading()
216 Mutex::Mutex() in Mutex() function in WTF::Mutex
221 Mutex::~Mutex() in ~Mutex()
226 void Mutex::lock() in lock()
231 bool Mutex::tryLock() in tryLock()
236 void Mutex::unlock() in unlock()
251 void ThreadCondition::wait(Mutex& mutex) in wait()
[all …]
/external/valgrind/unittest/
Ddemo_tests.cc42 Mutex mu1; // This Mutex guards var.
43 Mutex mu2; // This Mutex is not related to var.
74 Mutex MU1;
75 Mutex MU2;
116 Mutex MU;
134 Mutex MU;
184 Mutex MU1;
185 Mutex MU2;
209 Mutex MU1;
210 Mutex MU2;
[all …]
Dracecheck_unittest.cc133 Mutex MU;
181 Mutex MU;
263 Mutex MU;
313 Mutex MU;
365 Mutex MU;
503 Mutex MU;
551 Mutex MU;
641 Mutex MU;
693 Mutex MU;
694 Mutex MU2;
[all …]
/external/valgrind/main/drd/tests/
Dtsan_unittest.cpp54 #define RWLock Mutex // Mutex does work as an rw-lock.
144 Mutex printf_mu;
371 Mutex MU;
419 Mutex MU;
501 Mutex MU;
553 Mutex MU;
605 Mutex MU;
742 Mutex MU;
797 Mutex MU;
845 Mutex MU;
[all …]
Dannotate_smart_pointer.cpp58 class Mutex class
61 Mutex() : m_mutex() in Mutex() function in Mutex
63 ~Mutex() in ~Mutex()
119 class Mutex class
122 Mutex() : m_mutex() in Mutex() function in Mutex
124 ~Mutex() in ~Mutex()
293 mutable Mutex m_mutex;
/external/webkit/Source/WebCore/platform/graphics/android/
DClassTracker.cpp51 android::Mutex::Autolock lock(m_lock); in increment()
61 android::Mutex::Autolock lock(m_lock); in decrement()
72 android::Mutex::Autolock lock(m_lock); in add()
78 android::Mutex::Autolock lock(m_lock); in remove()
84 android::Mutex::Autolock lock(m_lock); in show()
DMediaTexture.cpp87 android::Mutex::Autolock lock(m_mediaLock); in isContentInverted()
92 android::Mutex::Autolock lock(m_mediaLock); in invertContents()
99 android::Mutex::Autolock lock(m_mediaLock); in initNativeWindowIfNeeded()
150 android::Mutex::Autolock lock(m_mediaLock); in draw()
206 android::Mutex::Autolock lock(m_mediaLock); in requestNativeWindowForVideo()
252 android::Mutex::Autolock lock(m_mediaLock); in getNativeWindowForContent()
261 android::Mutex::Autolock lock(m_mediaLock); in releaseNativeWindow()
274 android::Mutex::Autolock lock(m_mediaLock); in setDimensions()
287 android::Mutex::Autolock lock(m_mediaLock); in setFramerateCallback()
DVideoLayerManager.cpp62 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); in getTextureId()
72 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); in getMatrix()
92 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); in registerTexture()
120 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); in updateVideoLayerSize()
139 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); in updateMatrix()
216 android::Mutex::Autolock lock(m_videoLayerInfoMapLock); in removeLayer()
/external/webkit/Source/WebKit2/Platform/
DWorkQueue.h97 Mutex m_isValidMutex;
106 Mutex m_eventSourcesMutex;
156 Mutex m_workItemQueueLock;
159 Mutex m_handlesLock;
175 Mutex m_eventLoopLock;
177 Mutex m_eventSourcesLock;
/external/webkit/Source/JavaScriptCore/wtf/unicode/icu/
DCollatorICU.cpp47 static Mutex& cachedCollatorMutex() in cachedCollatorMutex()
49 AtomicallyInitializedStatic(Mutex&, mutex = *new Mutex); in cachedCollatorMutex()
106 Locker<Mutex> lock(cachedCollatorMutex()); in createCollator()
139 Locker<Mutex> lock(cachedCollatorMutex()); in releaseCollator()
/external/webkit/Source/WebCore/platform/sql/
DSQLiteDatabase.h112 Mutex& databaseMutex() { return m_lockingMutex; } in databaseMutex()
148 Mutex m_authorizerLock;
151 Mutex m_lockingMutex;
154 Mutex m_databaseClosingMutex;
/external/llvm/lib/Support/Windows/
DMutex.inc1 //===- llvm/Support/Win32/Mutex.inc - Win32 Mutex Implementation -*- C++ -*-===//
10 // This file implements the Win32 specific (non-pthread) Mutex class.
20 #include "llvm/Support/Mutex.h"
/external/llvm/include/llvm/Support/
DMutexGuard.h28 sys::Mutex &M;
32 MutexGuard(sys::Mutex &m) : M(m) { M.acquire(); } in MutexGuard()
37 bool holds(const sys::Mutex& lock) const { return &M == &lock; } in holds()
/external/webkit/Source/WebKit2/win/
DWebKit2CFLite.def104 ??0Mutex@WTF@@QAE@XZ
106 ??1Mutex@WTF@@QAE@XZ
116 ?lock@Mutex@WTF@@QAEXXZ
122 ?tryLock@Mutex@WTF@@QAE_NXZ
123 ?unlock@Mutex@WTF@@QAEXXZ
DWebKit2.def111 ??0Mutex@WTF@@QAE@XZ
113 ??1Mutex@WTF@@QAE@XZ
123 ?lock@Mutex@WTF@@QAEXXZ
129 ?tryLock@Mutex@WTF@@QAE_NXZ
130 ?unlock@Mutex@WTF@@QAEXXZ
/external/webkit/Source/WebKit/win/WebKit.vcproj/
DWebKit_Cairo_debug.def114 ??0Mutex@WTF@@QAE@XZ
116 ??1Mutex@WTF@@QAE@XZ
126 ?lock@Mutex@WTF@@QAEXXZ
132 ?tryLock@Mutex@WTF@@QAE_NXZ
133 ?unlock@Mutex@WTF@@QAEXXZ

1234567891011