/external/webkit/JavaScriptCore/wtf/gtk/ |
ThreadingGtk.cpp | 45 static Mutex* atomicallyInitializedStaticMutex; 49 static Mutex& threadMapMutex() 51 static Mutex mutex; local 52 return mutex; 62 atomicallyInitializedStaticMutex = new Mutex; 176 Mutex::Mutex() 181 Mutex::~Mutex() [all...] |
/external/webkit/JavaScriptCore/wtf/qt/ |
ThreadingQt.cpp | 85 static Mutex* atomicallyInitializedStaticMutex; 89 static Mutex& threadMapMutex() 91 static Mutex mutex; local 92 return mutex; 146 atomicallyInitializedStaticMutex = new Mutex; 223 Mutex::Mutex() 228 Mutex::~Mutex() [all...] |
/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...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/system/extras/tests/bionic/libc/common/ |
test_pthread_mutex.c | 110 /* perform a simple init/lock/unlock/destroy test on a mutex of given attributes */ 131 /* simple init/lock/unlock/destroy on all mutex types */ 260 * - main thread creates a mutex and locks it 264 * then unlock the mutex. 266 * - thread 1 locks() the mutex. It shall be stopped for a least 'waitDelay' 267 * seconds. It then unlocks the mutex. 269 * - thread 2 trylocks() the mutex. In case of failure (EBUSY), it waits 271 * it succeeds. It then unlocks the mutex. 276 * going to acquire the mutex first. 279 pthread_mutex_t mutex[1] member in struct:__anon16021 [all...] |
/system/media/opensles/tests/examples/ |
slesTestFeedback.cpp | 59 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 66 pthread_mutex_lock(&mutex); 116 pthread_mutex_unlock(&mutex); 125 pthread_mutex_lock(&mutex); 170 pthread_mutex_unlock(&mutex);
|
/external/guava/src/com/google/common/collect/ |
Synchronized.java | 41 * serializable if the backing collection and the mutex are serializable. 43 * <p>If a {@code null} is passed as the {@code mutex} parameter to any of this 45 * uses itself as the synchronization mutex. 59 protected final Object mutex; field in class:Synchronized.SynchronizedObject 61 public SynchronizedObject(Object delegate, @Nullable Object mutex) { 63 this.mutex = (mutex == null) ? this : mutex; 73 synchronized (mutex) { 84 synchronized (mutex) { [all...] |
/external/libvpx/vpx_mem/intel_linux/ |
vpx_mem_tracker.c | 21 Further support can be added by defining the platform specific mutex 23 the mutex in vpx_memory_tracker_init/Destroy and memory_tracker_lock_mutex/unlock_mutex 93 pthread_mutex_t mutex; member in struct:memory_tracker 95 HANDLE mutex; member in struct:memory_tracker 97 SEM_ID mutex; member in struct:memory_tracker 99 OSMutex mutex; member in struct:memory_tracker 102 #error "No mutex type defined for this platform!" 179 ret = pthread_mutex_init(&memtrack.mutex, 180 NULL); /*mutex attributes (NULL=default)*/ 182 memtrack.mutex = create_mutex(NULL, /*security attributes* [all...] |
/external/libvpx/vpx_mem/ |
vpx_mem_tracker.c | 21 Further support can be added by defining the platform specific mutex 23 the mutex in vpx_memory_tracker_init/Destroy and memory_tracker_lock_mutex/unlock_mutex 110 pthread_mutex_t mutex; member in struct:memory_tracker 112 HANDLE mutex; member in struct:memory_tracker 114 SEM_ID mutex; member in struct:memory_tracker 116 OSMutex mutex; member in struct:memory_tracker 119 #error "No mutex type defined for this platform!" 185 ret = pthread_mutex_init(&memtrack.mutex, 186 NULL); /*mutex attributes (NULL=default)*/ 188 memtrack.mutex = CreateMutex(NULL, /*security attributes* [all...] |
/external/qemu/audio/ |
coreaudio.c | 169 pthread_mutex_t mutex; member in struct:coreAudioVoice 202 err = pthread_mutex_lock (&core->mutex); 216 err = pthread_mutex_unlock (&core->mutex); 276 /* destroy mutex */ 277 err = pthread_mutex_destroy(&core->mutex); 279 dolog("Could not destroy mutex\nReason: %s\n", strerror (err)); 301 /* create mutex */ 302 err = pthread_mutex_init(&core->mutex, NULL); 304 dolog("Could not create mutex\nReason: %s\n", strerror (err));
|
/frameworks/base/core/jni/ |
android_bluetooth_ScoSocket.cpp | 69 * the Java object forces us to use a mutex in destoryNative(). 109 /* shared native data - protected by mutex */ 111 pthread_mutex_t mutex; member in struct:android::__anon8814 291 pthread_mutex_init(&nat->mutex, NULL); 308 pthread_mutex_lock(&nat->mutex); 312 pthread_mutex_unlock(&nat->mutex); 313 pthread_mutex_destroy(&nat->mutex); 327 pthread_mutex_lock(&nat->mutex); 329 pthread_mutex_unlock(&nat->mutex); 336 pthread_mutex_unlock(&nat->mutex); [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/inc/ |
LCML_DspCodec.h | 288 pthread_mutex_t mutex; member in struct:LCML_DSP_INTERFACE
|
/external/bluetooth/glib/glib/ |
gthread.h | 81 void (*mutex_lock) (GMutex *mutex); 82 gboolean (*mutex_trylock) (GMutex *mutex); 83 void (*mutex_unlock) (GMutex *mutex); 84 void (*mutex_free) (GMutex *mutex); 89 GMutex *mutex); 91 GMutex *mutex, 122 /* initializes the mutex/cond/private implementation for glib, might 149 /* internal function for fallback static mutex implementation */ 150 GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); 152 #define g_static_mutex_get_mutex_impl_shortcut(mutex) \ 266 GStaticMutex mutex; member in struct:_GStaticRecMutex 285 GStaticMutex mutex; member in struct:_GStaticRWLock [all...] |
gmain.c | 99 GMutex *mutex; member in struct:_GMainWaiter 121 GStaticMutex mutex; member in struct:_GMainContext 208 #define LOCK_CONTEXT(context) g_static_mutex_lock (&context->mutex) 209 #define UNLOCK_CONTEXT(context) g_static_mutex_unlock (&context->mutex) 369 g_static_mutex_free (&context->mutex); 470 g_static_mutex_init (&context->mutex); [all...] |
/device/samsung/crespo/alsa-lib/src/pcm/ |
pcm_share.c | 52 #define Pthread_mutex_lock(mutex) \ 55 int err = pthread_mutex_trylock(mutex); \ 57 fprintf(stderr, "lock " #mutex " is busy (%s): waiting in " __FUNCTION__ "\n", *(mutex##_holder)); \ 58 pthread_mutex_lock(mutex); \ variable 61 *(mutex##_holder) = __FUNCTION__; \ 64 #define Pthread_mutex_unlock(mutex) \ 66 *(mutex##_holder) = 0; \ 67 pthread_mutex_unlock(mutex); \ 70 #define Pthread_mutex_lock(mutex) pthread_mutex_lock(mutex 94 pthread_mutex_t mutex; member in struct:__anon1477 [all...] |
/external/bluetooth/bluez/audio/ |
liba2dp.c | 128 pthread_mutex_t mutex; member in struct:bluetooth_data 952 pthread_mutex_lock(&data->mutex); 954 pthread_mutex_unlock(&data->mutex); 974 pthread_mutex_lock(&data->mutex); 984 err = pthread_cond_timedwait(&data->client_wait, &data->mutex, &ts); 1006 pthread_mutex_unlock(&data->mutex); 1022 pthread_mutex_destroy(&data->mutex); 1036 pthread_mutex_lock(&data->mutex); 1044 pthread_cond_wait(&data->thread_wait, &data->mutex); 1097 pthread_mutex_unlock(&data->mutex); [all...] |
/system/core/libcutils/ |
mq.c | 136 * Acquire mutex before use. 144 pthread_mutex_t mutex; member in struct:__anon15938 158 /** Keeps track of recently dead peers. Requires mutex. */ 178 * Requires mutex. 256 pthread_mutex_lock(&peer->mutex); 261 pthread_mutex_unlock(&peer->mutex); 286 /** Adds a packet to the end of the queue. Callers must have the mutex. */ 1108 if (pthread_mutex_init(&peer->mutex, &attributes) != 0) { [all...] |
/external/blktrace/btreplay/ |
btreplay.c | 85 * @mutex: Mutex used with condition variable to protect volatile values 106 pthread_mutex_t mutex; member in struct:thr_info 385 * @pmp: Pointer to the associated mutex 403 * @pmp: Pointer to the associated mutex 762 pthread_mutex_init(&tip->mutex, NULL); 847 pthread_mutex_destroy(&tip->mutex); 1011 pthread_mutex_lock(&tip->mutex); 1014 if (pthread_cond_wait(&tip->cond, &tip->mutex)) { 1021 pthread_mutex_unlock(&tip->mutex); [all...] |
/external/chromium/net/third_party/nss/ssl/ |
sslsnce.c | 173 sslMutex mutex; member in struct:sidCacheLockStr 310 SECStatus rv = sslMutex_Lock(&lock->mutex); 326 rv = sslMutex_Unlock(&lock->mutex); 909 sslMutex_Destroy(&pLock->mutex); [all...] |
/external/dbus/dbus/ |
dbus-connection.c | 66 _dbus_mutex_lock ((connection)->mutex); \ 73 _dbus_mutex_unlock ((connection)->mutex); \ 235 DBusMutex *mutex; /**< Lock on the entire DBusConnection */ member in struct:DBusConnection 412 * @param mutex_loc return for the location of the main mutex pointer 413 * @param dispatch_mutex_loc return location of the dispatch mutex pointer 414 * @param io_path_mutex_loc return location of the io_path mutex pointer 428 *mutex_loc = connection->mutex; [all...] |