/frameworks/base/media/libstagefright/omx/ |
OMX.cpp | 54 Mutex mLock; 86 Mutex::Autolock autoLock(mLock); 97 Mutex::Autolock autoLock(mLock); 127 Mutex::Autolock autoLock(mLock); 161 Mutex::Autolock autoLock(mLock); 209 Mutex::Autolock autoLock(mLock); 393 Mutex::Autolock autoLock(mLock); 401 Mutex::Autolock autoLock(mLock); 445 Mutex::Autolock autoLock(mLock);
|
/bionic/libc/stdio/ |
flockfile.c | 57 pthread_mutex_t mutex; member in struct:FileLock 138 pthread_mutex_init( &lock->mutex, &attr ); 149 pthread_mutex_lock(&lock->mutex); 169 if (lock != NULL && !pthread_mutex_trylock(&lock->mutex)) { 186 pthread_mutex_unlock(&lock->mutex);
|
/external/icu4c/test/intltest/ |
caltztst.cpp | 22 #include "mutex.h" 47 Mutex lock; 75 Mutex lock; 94 Mutex lock; 121 Mutex lock;
|
/external/skia/include/core/ |
SkPixelRef.h | 38 explicit SkPixelRef(SkMutex* mutex = NULL); 128 acquire a mutex for thread safety, so this method need not do that. 132 already acquire a mutex for thread safety, so this method need not do 137 /** Return the mutex associated with this pixelref. This value is assigned 140 SkMutex* mutex() const { return fMutex; } function in class:SkPixelRef
|
/system/core/libcutils/ |
atomic.c | 185 // mutex locking. normally, this is bad because we must initialize 191 // pthread library, a mutex is simply a volatile word whose value is always 192 // initialized to 0. In other words, simply declaring a static mutex 271 * The alternative is to use a pthread mutex, but 274 * a mutex without any other synchronization primitive.
|
/external/v8/src/ |
platform.h | 42 // sensitive like mutex locking/unlocking. 222 // Factory method for creating platform dependent Mutex. 223 // Please use delete to reclaim the storage for the returned Mutex. 224 static Mutex* CreateMutex(); 396 // Mutex 399 // The implementations of mutex should allow for nested/recursive locking. 401 class Mutex { 403 virtual ~Mutex() {} 405 // Locks the given mutex. If the mutex is currently unlocked, it become [all...] |
/frameworks/base/libs/audioflinger/ |
AudioPolicyService.cpp | 127 Mutex::Autolock _l(mLock); 160 Mutex::Autolock _l(mLock); 193 Mutex::Autolock _l(mLock); 222 Mutex::Autolock _l(mLock); 232 Mutex::Autolock _l(mLock); 242 Mutex::Autolock _l(mLock); 252 Mutex::Autolock _l(mLock); 265 Mutex::Autolock _l(mLock); 274 Mutex::Autolock _l(mLock); 283 Mutex::Autolock _l(mLock) [all...] |
/external/opencore/android/author/ |
android_audio_input_threadsafe_callbacks.cpp | 78 Mutex.Lock(); 82 Mutex.Unlock(); 98 Mutex.Unlock();
|
/external/qemu/distrib/sdl-1.2.12/src/thread/os2/ |
SDL_syssem.c | 51 /* Create the mutex semaphore */ 95 /* if error waiting mutex */ 134 /* if error waiting mutex */
|
/external/skia/include/images/ |
SkImageRef.h | 69 When this is called we will have already acquired the mutex! 75 When these are called, we will have already acquired the mutex! 88 // called with mutex already held. returns true if the bitmap is in the
|
/external/webkit/JavaScriptCore/wtf/ |
MainThread.cpp | 56 Mutex& mainThreadFunctionQueueMutex() 58 DEFINE_STATIC_LOCAL(Mutex, staticMutex, ()); 134 Mutex& functionQueueMutex = mainThreadFunctionQueueMutex();
|
MainThread.h | 35 class Mutex; 52 Mutex& mainThreadFunctionQueueMutex();
|
/external/webkit/WebCore/dom/default/ |
PlatformMessagePortChannel.h | 46 // The goal of this implementation is to eliminate contention except when cloning or closing the port, so each side of the channel has its own separate mutex. 100 // Mutex used to ensure exclusive access to the object internals. 101 Mutex m_mutex;
|
/external/webkit/WebCore/platform/sql/ |
SQLiteDatabase.h | 106 // (un)locks the database like a mutex 124 Mutex m_authorizerLock; 127 Mutex m_lockingMutex;
|
/frameworks/base/opengl/libagl/ |
BufferObjectManager.cpp | 55 Mutex::Autolock _l(mLock); 72 Mutex::Autolock _l(mLock); 87 Mutex::Autolock _l(mLock);
|
/external/icu4c/common/ |
serv.cpp | 357 Mutex mutex(&lock); 403 inline XMutex(UMTX *mutex, UBool reentering) 404 : fMutex(mutex) 446 // if factory is not null, we're calling from within the mutex, 449 XMutex mutex(&ncthis->lock, factory != NULL); 617 Mutex mutex(&ncthis->lock); 695 Mutex mutex(&ncthis->lock) [all...] |
/external/libxml2/ |
threads.c | 110 HANDLE mutex; 187 * Returns a new simple mutex pointer or NULL in case of error 200 tok->mutex = CreateMutex(NULL, FALSE, NULL); 213 * @tok: the simple mutex 228 CloseHandle(tok->mutex); 237 * @tok: the simple mutex 250 WaitForSingleObject(tok->mutex, INFINITE); 266 * @tok: the simple mutex 279 ReleaseMutex(tok->mutex); 291 * xmlRNewMutex() is used to allocate a reentrant mutex for use i [all...] |
/external/opencore/doc/oscl_html/ |
oscl__semaphore_8h.html | 9 <hr><h1>oscl_semaphore.h File Reference</h1>This file provides implementation of mutex. 22 This file provides implementation of mutex.
|
/external/webkit/WebCore/storage/ |
StorageAreaSync.h | 83 Mutex m_syncLock; 88 mutable Mutex m_importLock;
|
/external/webkit/WebKit/chromium/src/ |
PlatformMessagePortChannel.h | 82 // Mutex used to ensure exclusive access to the object internals. 83 Mutex m_mutex;
|
/frameworks/base/include/media/ |
JetPlayer.h | 80 Mutex mMutex; // mutex to sync the render and playback thread with the JET calls
|
mediametadataretriever.h | 101 static Mutex sServiceLock; 104 Mutex mLock;
|
/frameworks/base/media/libstagefright/ |
HTTPDataSource.cpp | 43 Mutex::Autolock autoLock(mStateLock); 213 Mutex::Autolock autoLock(mStateLock); 229 Mutex::Autolock autoLock(mStateLock); 246 Mutex::Autolock autoLock(mStateLock); 262 Mutex::Autolock autoLock(mStateLock); 271 Mutex::Autolock autoLock(mStateLock); 280 Mutex::Autolock autoLock(mStateLock); 328 Mutex::Autolock autoLock(mStateLock);
|
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/src/ |
OMX_Core.c | 44 so all changes to count should be mutex protected */ 46 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 122 if(pthread_mutex_lock(&mutex) != 0) 124 LOGE("%d :: Core: Error in Mutex lock\n",__LINE__); 136 if(pthread_mutex_unlock(&mutex) != 0) 138 LOGE("%d :: Core: Error in Mutex unlock\n",__LINE__); 177 if(pthread_mutex_lock(&mutex) != 0) 179 LOGE("%d :: Core: Error in Mutex lock\n",__LINE__); 308 if(pthread_mutex_unlock(&mutex) != 0) 310 LOGE("%d :: Core: Error in Mutex unlock\n",__LINE__) [all...] |
/external/qemu/audio/ |
sdlaudio.c | 71 SDL_mutex* mutex; member in struct:SDLAudioState 87 SDL_mutex *mutex; member in struct:SDLAudioState 109 if (SDL_LockMutex (s->mutex)) { 118 if (SDL_UnlockMutex (s->mutex)) { 597 s->mutex = SDL_CreateMutex (); 598 if (!s->mutex) { 599 sdl_logerr ("Failed to create SDL mutex\n"); 607 SDL_DestroyMutex (s->mutex); 625 if (s->mutex) { 626 SDL_DestroyMutex (s->mutex); [all...] |