/prebuilts/ndk/8/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilts/ndk/8/platforms/android-4/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilts/ndk/8/platforms/android-5/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilts/ndk/8/platforms/android-8/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/linux/mtd/ |
flashchip.h | 52 spinlock_t *mutex; member in struct:flchip
|
/prebuilts/ndk/8/platforms/android-9/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:__anon44047 [all...] |
/external/bluetooth/bluedroid/udrv/ulinux/ |
uipc.c | 66 #define UIPC_LOCK() /*BTIF_TRACE_EVENT1(" %s lock", __FUNCTION__);*/ pthread_mutex_lock(&uipc_main.mutex); 67 #define UIPC_UNLOCK() /*BTIF_TRACE_EVENT1("%s unlock", __FUNCTION__);*/ pthread_mutex_unlock(&uipc_main.mutex); 91 pthread_mutex_t mutex; member in struct:__anon3531 251 pthread_mutex_init(&uipc_main.mutex, &attr);
|
/external/chromium/testing/gtest/test/ |
gtest-port_test.cc | 252 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data); local 253 pthread_mutex_lock(mutex); 254 pthread_mutex_unlock(mutex); 260 pthread_mutex_t mutex; local 264 // TODO(vladl@google.com): turn mutex into internal::Mutex for automatic 266 pthread_mutex_init(&mutex, NULL); 267 pthread_mutex_lock(&mutex); 271 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 275 pthread_mutex_unlock(&mutex); 1033 Mutex mutex; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
openssladapter.cc | 21 // TODO: Use a nicer abstraction for mutex. 40 #error You must define mutex operations appropriate for your platform! 44 MUTEX_TYPE mutex; member in struct:CRYPTO_dynlock_value 174 MUTEX_SETUP(value->mutex); 181 MUTEX_LOCK(l->mutex); 183 MUTEX_UNLOCK(l->mutex); 189 MUTEX_CLEANUP(l->mutex);
|
/external/gtest/test/ |
gtest-port_test.cc | 272 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data); local 273 pthread_mutex_lock(mutex); 274 pthread_mutex_unlock(mutex); 280 pthread_mutex_t mutex; local 284 // TODO(vladl@google.com): turn mutex into internal::Mutex for automatic 286 pthread_mutex_init(&mutex, NULL); 287 pthread_mutex_lock(&mutex); 291 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 295 pthread_mutex_unlock(&mutex); 1053 Mutex mutex; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Synchronized.java | 43 * serializable if the backing collection and the mutex are serializable. 45 * <p>If {@code null} is passed as the {@code mutex} parameter to any of this 47 * uses itself as the synchronization mutex. 60 final Object mutex; field in class:Synchronized.SynchronizedObject 62 SynchronizedObject(Object delegate, @Nullable Object mutex) { 64 this.mutex = (mutex == null) ? this : mutex; 74 synchronized (mutex) { 86 synchronized (mutex) { [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Synchronized.java | 40 * serializable if the backing collection and the mutex are serializable. 42 * <p>If {@code null} is passed as the {@code mutex} parameter to any of this 44 * uses itself as the synchronization mutex. 57 final Object mutex; field in class:Synchronized.SynchronizedObject 59 SynchronizedObject(Object delegate, @Nullable Object mutex) { 61 this.mutex = (mutex == null) ? this : mutex; 71 synchronized (mutex) { 83 Collection<E> collection, @Nullable Object mutex) { [all...] |
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest-port_test.cc | 272 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data); local 273 pthread_mutex_lock(mutex); 274 pthread_mutex_unlock(mutex); 280 pthread_mutex_t mutex; local 284 // TODO(vladl@google.com): turn mutex into internal::Mutex for automatic 286 pthread_mutex_init(&mutex, NULL); 287 pthread_mutex_lock(&mutex); 291 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 295 pthread_mutex_unlock(&mutex); 1053 Mutex mutex; local [all...] |
/external/libvpx/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 107 pthread_mutex_t mutex; member in struct:memory_tracker 109 HANDLE mutex; member in struct:memory_tracker 111 SEM_ID mutex; member in struct:memory_tracker 114 #error "No mutex type defined for this platform!" 180 ret = pthread_mutex_init(&memtrack.mutex, 181 NULL); /*mutex attributes (NULL=default)*/ 183 memtrack.mutex = CreateMutex(NULL, /*security attributes*/ 185 NULL); /*mutex name* [all...] |
/external/qemu/audio/ |
coreaudio.c | 163 pthread_mutex_t mutex; member in struct:coreAudioVoice 199 err = pthread_mutex_lock (&core->mutex); 213 err = pthread_mutex_unlock (&core->mutex); 273 /* destroy mutex */ 274 err = pthread_mutex_destroy(&core->mutex); 276 dolog("Could not destroy mutex\nReason: %s\n", strerror (err)); 298 /* create mutex */ 299 err = pthread_mutex_init(&core->mutex, NULL); 301 dolog("Could not create mutex\nReason: %s\n", strerror (err));
|
/external/valgrind/main/drd/ |
drd_error.h | 110 Addr mutex; member in struct:__anon16991 123 Addr mutex; member in struct:__anon16993 130 Addr mutex; member in struct:__anon16994
|
drd_pthread_intercepts.c | 139 pthread_mutex_t mutex; member in struct:__anon17003 185 pthread_mutex_init(&sema->mutex, NULL); 192 pthread_mutex_destroy(&sema->mutex); 199 pthread_mutex_lock(&sema->mutex); 203 pthread_mutex_unlock(&sema->mutex); 219 pthread_mutex_lock(&sema->mutex); 224 pthread_mutex_unlock(&sema->mutex); 229 pthread_mutex_lock(&sema->mutex); 236 pthread_mutex_unlock(&sema->mutex); 240 * POSIX threads and DRD each have their own mutex type identification [all...] |
/frameworks/wilhelm/tests/sandbox/ |
reverb.c | 176 // Mutex and condition shared with main program to protect prefetch_status 178 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 211 ok = pthread_mutex_lock(&mutex); 216 ok = pthread_mutex_unlock(&mutex); 612 pthread_mutex_lock(&mutex); 614 pthread_cond_wait(&cond, &mutex); 616 pthread_mutex_unlock(&mutex);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/ |
MobiCoreDriverDaemon.cpp | 701 static CMutex mutex; local 709 mutex.lock(); 787 mutex.unlock();
|
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/inc/ |
LCML_DspCodec.h | 288 pthread_mutex_t mutex; member in struct:LCML_DSP_INTERFACE
|
/bionic/libc/bionic/ |
pthread_debug.cpp | 211 // the actual mutex 212 pthread_mutex_t* mutex; member in struct:MutexInfo 240 static void initMutexInfo(MutexInfo* object, pthread_mutex_t* mutex) { 246 object->mutex = mutex; 265 static MutexInfo* get_mutex_info(pthread_mutex_t *mutex); 271 extern "C" int pthread_mutex_lock_impl(pthread_mutex_t *mutex); 272 extern "C" int pthread_mutex_unlock_impl(pthread_mutex_t *mutex); 274 static int pthread_mutex_lock_unchecked(pthread_mutex_t *mutex) { 275 return pthread_mutex_lock_impl(mutex); [all...] |
/external/bison/lib/glthread/ |
lock.h | 301 pthread_mutex_t recmutex; /* recursive mutex */ 334 pthread_mutex_t mutex; member in struct:__anon2290 567 mutex_t mutex; member in struct:__anon2291 596 mutex_t mutex; member in struct:__anon2292 626 Mutex, Semaphore types, because 631 define their own mutex type.) */ [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_LlcpTransport.h | 255 pthread_mutex_t mutex; member in struct:phFriNfc_LlcpTransport [all...] |