/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
ittnotify_config.h | 203 #define __itt_mutex_init(mutex) InitializeCriticalSection(mutex) 204 #define __itt_mutex_lock(mutex) EnterCriticalSection(mutex) 205 #define __itt_mutex_unlock(mutex) LeaveCriticalSection(mutex) 225 #define __itt_mutex_init(mutex) {\ 236 error_code = pthread_mutex_init(mutex, &mutex_attr); \ 245 #define __itt_mutex_lock(mutex) pthread_mutex_lock(mutex) 343 mutex_t mutex; member in struct:___itt_global [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestDecodeAac.cpp | 133 // Mutex and condition shared with main program to protect prefetch_status 135 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 182 ok = pthread_mutex_lock(&mutex); 187 ok = pthread_mutex_unlock(&mutex); 241 // mutex on all global variables 321 // mutex on all global variables 759 pthread_mutex_lock(&mutex); 761 pthread_cond_wait(&cond, &mutex); 763 pthread_mutex_unlock(&mutex); [all...] |
/frameworks/wilhelm/tests/sandbox/ |
xaplay.c | 61 // Mutex and condition shared with main program to protect prefetch_status 63 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 119 ok = pthread_mutex_lock(&mutex); 124 ok = pthread_mutex_unlock(&mutex); 579 pthread_mutex_lock(&mutex); 581 pthread_cond_wait(&cond, &mutex); 583 pthread_mutex_unlock(&mutex); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
libc-lock.h | 1 /* libc-internal interface for mutex locks. NPTL version. 40 /* Mutex type. */ 44 typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t; member in struct:__anon26135 49 typedef struct { pthread_mutex_t mutex; } __rtld_lock_recursive_t; member in struct:__anon26137 185 /* Same as last but this time we initialize a recursive mutex. */ 197 __pthread_mutex_init (&(NAME).mutex, &__attr); \ 210 __pthread_mutex_init (&(NAME).mutex, &__attr); \ 266 __libc_maybe_call (__pthread_mutex_lock, (&(NAME).mutex), 0) 308 __libc_maybe_call (__pthread_mutex_trylock, (&(NAME).mutex), 0) 345 GL(dl_rtld_lock_recursive) (&(NAME).mutex) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
libc-lock.h | 1 /* libc-internal interface for mutex locks. NPTL version. 40 /* Mutex type. */ 44 typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t; member in struct:__anon27725 49 typedef struct { pthread_mutex_t mutex; } __rtld_lock_recursive_t; member in struct:__anon27727 185 /* Same as last but this time we initialize a recursive mutex. */ 197 __pthread_mutex_init (&(NAME).mutex, &__attr); \ 210 __pthread_mutex_init (&(NAME).mutex, &__attr); \ 266 __libc_maybe_call (__pthread_mutex_lock, (&(NAME).mutex), 0) 308 __libc_maybe_call (__pthread_mutex_trylock, (&(NAME).mutex), 0) 345 GL(dl_rtld_lock_recursive) (&(NAME).mutex) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
libc-lock.h | 1 /* libc-internal interface for mutex locks. NPTL version. 40 /* Mutex type. */ 44 typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t; member in struct:__anon29240 49 typedef struct { pthread_mutex_t mutex; } __rtld_lock_recursive_t; member in struct:__anon29242 185 /* Same as last but this time we initialize a recursive mutex. */ 197 __pthread_mutex_init (&(NAME).mutex, &__attr); \ 210 __pthread_mutex_init (&(NAME).mutex, &__attr); \ 266 __libc_maybe_call (__pthread_mutex_lock, (&(NAME).mutex), 0) 308 __libc_maybe_call (__pthread_mutex_trylock, (&(NAME).mutex), 0) 345 GL(dl_rtld_lock_recursive) (&(NAME).mutex) [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
syncable_unittest.cc | 1431 base::Lock mutex; member in struct:syncable::__anon4483::Step [all...] |
syncable.h | 993 base::Lock mutex; member in struct:syncable::Directory::Kernel [all...] |
/hardware/invensense/mlsdk/mllite/ |
mlFIFO.c | 156 HANDLE mutex; member in struct:fifo_rate_obj 532 result = inv_create_mutex(&fifo_rate_obj.mutex); 555 result = inv_destroy_mutex(fifo_rate_obj.mutex); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
soc.h | 337 struct mutex mutex; member in struct:snd_soc_codec
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
soc.h | 337 struct mutex mutex; member in struct:snd_soc_codec
|
/system/core/libcutils/ |
mq.c | 136 * Acquire mutex before use. 144 pthread_mutex_t mutex; member in struct:__anon43944 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...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera.h | 156 pthread_mutex_t mutex; member in struct:__anon1619
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera.h | 106 pthread_mutex_t mutex; member in struct:__anon1883 123 pthread_mutex_t mutex; member in struct:__anon1884 169 pthread_mutex_t mutex; member in struct:__anon1891 215 pthread_mutex_t mutex; member in struct:__anon1897 252 pthread_mutex_t mutex; member in struct:__anon1901
|
/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/compiler-rt/lib/sanitizer_common/ |
sanitizer_allocator.h | 426 GetRegionInfo(i)->mutex.Lock(); 432 GetRegionInfo(i)->mutex.Unlock(); 473 BlockingMutex mutex; member in struct:__sanitizer::SizeClassAllocator64::RegionInfo 504 BlockingMutexLock l(®ion->mutex); 629 SpinMutexLock l(&sci->mutex); 641 SpinMutexLock l(&sci->mutex); 692 GetSizeClassInfo(i)->mutex.Lock(); 698 GetSizeClassInfo(i)->mutex.Unlock(); 733 SpinMutex mutex; member in struct:__sanitizer::SizeClassAllocator32::SizeClassInfo [all...] |
/external/kernel-headers/original/linux/ |
serial_core.h | 144 #include <linux/mutex.h> 296 struct mutex mutex; member in struct:uart_state
|
perf_event.h | 477 #include <linux/mutex.h> 697 struct mutex child_mutex; 708 struct mutex mmap_mutex; 754 * Protect the list of events. Locking either mutex or lock 756 * the list you need to lock both the mutex and the spinlock. 758 struct mutex mutex; member in struct:perf_event_context 797 struct mutex hlist_mutex;
|
/external/blktrace/ |
blktrace.c | 103 * data onto. It's list is protected above (tracer_devpath_head.mutex) 124 * We will use a mutex to guard each of the trace_buf list. The tracers 142 pthread_mutex_t mutex; member in struct:tracer_devpath_head 522 static void t_pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) 527 pthread_cond_timedwait(cond, mutex, &ts); 1140 pthread_mutex_destroy(&hd->mutex); 1161 pthread_mutex_init(&hd->mutex, NULL); 1177 pthread_mutex_lock(&hd->mutex); 1179 pthread_mutex_unlock(&hd->mutex); 1399 pthread_mutex_lock(&hd->mutex); [all...] |
/external/clang/test/SemaCXX/ |
warn-thread-safety-analysis.cpp | 28 class __attribute__((lockable)) Mutex { 40 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 46 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu))); 52 ReleasableMutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu); 93 Mutex sls_mu; 95 Mutex sls_mu2 __attribute__((acquired_after(sls_mu))); 103 Mutex mu; 216 sls_mu.Lock(); // expected-note {{mutex acquired here}} 217 } // expected-warning{{mutex 'sls_mu' is still locked at the end of function}} 221 sls_mu.Lock(); // expected-note{{mutex acquired here} 1961 struct __attribute__((lockable)) mutex { struct in namespace:GoingNative [all...] |
/external/linux-tools-perf/util/include/linux/added/ |
perf_event.h | 507 #include <linux/mutex.h> 830 struct mutex child_mutex; 841 struct mutex mmap_mutex; 899 * Protect the list of events. Locking either mutex or lock 901 * the list you need to lock both the mutex and the spinlock. 903 struct mutex mutex; member in struct:perf_event_context
|
/external/v8/src/ |
gdb-jit.cc | 2039 static LazyMutex mutex = LAZY_MUTEX_INITIALIZER; member in namespace:v8 [all...] |
/bionic/libc/upstream-dlmalloc/ |
malloc.c | 115 pthread mutex, win32 critical section, or a spin-lock if if 264 pthread or WIN32 mutex lock/unlock. (If set true, this can be 2597 MLOCK_T mutex; \/* locate lock among fields that rarely change *\/ member in struct:malloc_state [all...] |
/external/eigen/unsupported/test/mpreal/ |
dlmalloc.c | 109 etc is surrounded with either a pthread mutex or a win32
245 pthread or WIN32 mutex lock/unlock. (If set true, this can be
2464 MLOCK_T mutex; \/* locate lock among fields that rarely change *\/ member in struct:malloc_state [all...] |
/external/libffi/src/ |
dlmalloc.c | 109 etc is surrounded with either a pthread mutex or a win32 228 pthread or WIN32 mutex lock/unlock. (If set true, this can be 2028 MLOCK_T mutex; \/* locate lock among fields that rarely change *\/ member in struct:malloc_state [all...] |