/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
mutex.h | 22 struct mutex { struct 35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0) 36 #define mutex_destroy(mutex) do { } while (0) 42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
|
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/external/v8/test/cctest/ |
test-platform-linux.cc | 25 static void LoopIncrement(Mutex* mutex, int rem) { 30 CHECK_EQ(0, mutex->Lock()); 32 CHECK_EQ(0, mutex->Unlock()); 36 CHECK_EQ(0, mutex->Lock()); 41 CHECK_EQ(0, mutex->Unlock()); 48 LoopIncrement(static_cast<Mutex*>(arg), 0); 57 Mutex* mutex = OS::CreateMutex(); local 61 mutex); [all...] |
test-platform-nullos.cc | 25 static void LoopIncrement(Mutex* mutex, int rem) { 30 CHECK_EQ(0, mutex->Lock()); 32 CHECK_EQ(0, mutex->Unlock()); 36 CHECK_EQ(0, mutex->Lock()); 41 CHECK_EQ(0, mutex->Unlock()); 48 LoopIncrement(static_cast<Mutex*>(arg), 0); 57 Mutex* mutex = OS::CreateMutex(); local 61 mutex); [all...] |
/external/qemu/ |
qemu-thread.c | 2 * Wrappers around mutex/cond/thread functions 28 void qemu_mutex_init(QemuMutex *mutex) 32 err = pthread_mutex_init(&mutex->lock, NULL); 37 void qemu_mutex_lock(QemuMutex *mutex) 41 err = pthread_mutex_lock(&mutex->lock); 46 int qemu_mutex_trylock(QemuMutex *mutex) 48 return pthread_mutex_trylock(&mutex->lock); 61 int qemu_mutex_timedlock(QemuMutex *mutex, uint64_t msecs) 69 err = pthread_mutex_timedlock(&mutex->lock, &ts); 75 void qemu_mutex_unlock(QemuMutex *mutex) [all...] |
/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...] |
/external/clearsilver/util/ |
ulocks.h | 86 NEOERR *mCreate(pthread_mutex_t *mutex); 88 * Function: mCreate - initialize a mutex. 89 * Description: Initializes the mutex <mutex>. 90 * Input: mutex - mutex to initialize. 94 * MT-Level: Safe for unique <mutex>. 97 void mDestroy(pthread_mutex_t *mutex); 99 * Function: mDestroy - destroy a mutex. 100 * Description: Destroys the mutex <mutex> that was initialized by mCreate() [all...] |
/external/kernel-headers/original/asm-x86/ |
mmu.h | 5 #include <linux/mutex.h> 19 struct mutex lock;
|
/bionic/libc/kernel/common/linux/ |
mutex-debug.h | 20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
AbstractQueuedSynchronizerTest.java | 26 * A simple mutex class, adapted from the 33 static class Mutex extends AbstractQueuedSynchronizer { 72 final Mutex sync; 73 InterruptibleSyncRunnable(Mutex l) { sync = l; } 87 final Mutex sync; 88 InterruptedSyncRunnable(Mutex l) { sync = l; } 101 Mutex rl = new Mutex(); 109 Mutex rl = new Mutex(); [all...] |
/external/dbus/dbus/ |
dbus-threads.c | 43 /** This is used for the no-op default mutex pointer, just to be distinct from #NULL */ 46 /** This is used for the no-op default mutex pointer, just to be distinct from #NULL */ 60 * Creates a new mutex using the function supplied to dbus_threads_init(), 61 * or creates a no-op mutex if threads are not initialized. 65 * @returns new mutex or #NULL 81 * to point to the mutex location. This allows the threading 82 * module to swap out dummy mutexes for real a real mutex so libraries 85 * @param location_p the location of the new mutex, can return #NULL on OOM 105 * Frees a mutex created with dbus_mutex_new(); does 109 _dbus_mutex_free (DBusMutex *mutex) 730 DBusFakeMutex *mutex; local [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
mmu.h | 16 #include <linux/mutex.h> 21 struct mutex lock;
|
/ndk/build/platforms/android-5/arch-x86/usr/include/asm/ |
mmu.h | 16 #include <linux/mutex.h> 21 struct mutex lock;
|
/ndk/build/platforms/android-8/arch-x86/usr/include/asm/ |
mmu.h | 16 #include <linux/mutex.h> 21 struct mutex lock;
|
/external/skia/src/images/ |
SkImageRef_GlobalPool.cpp | 13 this->mutex()->acquire(); 15 this->mutex()->release(); 19 this->mutex()->acquire(); 21 this->mutex()->release(); 44 this->mutex()->acquire(); 46 this->mutex()->release();
|