/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 162 static pthread_cond_t *init_cond(pthread_cond_t *c, bool force = false) { in init_cond() 166 return (pthread_cond_t*)cond; in init_cond() 167 void *newcond = malloc(sizeof(pthread_cond_t)); in init_cond() 168 internal_memset(newcond, 0, sizeof(pthread_cond_t)); in init_cond() 171 return (pthread_cond_t*)newcond; in init_cond() 173 return (pthread_cond_t*)cond; in init_cond() 176 INTERCEPTOR(int, pthread_cond_init, pthread_cond_t *c, in INTERCEPTOR() 179 pthread_cond_t *cond = init_cond(c, true); in INTERCEPTOR() 183 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { in INTERCEPTOR() 185 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() [all …]
|
/external/swiftshader/third_party/LLVM/test/Linker/ |
D | 2011-08-22-ResolveAlias.ll | 8 %union.pthread_cond_t = type { [48 x i8] } 26 @_ZL30__gthrw_pthread_cond_broadcastP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @p… 27 @_ZL27__gthrw_pthread_cond_signalP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @pthr… 28 …ond_waitP14pthread_cond_tP15pthread_mutex_t = alias weak i32 (%union.pthread_cond_t*, %union.pthre… 29 …pthread_cond_tP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_cond_t*, %union.pthre… 30 @_ZL28__gthrw_pthread_cond_destroyP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @pth… 69 declare extern_weak i32 @pthread_cond_broadcast(%union.pthread_cond_t*) 71 declare extern_weak i32 @pthread_cond_signal(%union.pthread_cond_t*) 73 declare extern_weak i32 @pthread_cond_wait(%union.pthread_cond_t*, %union.pthread_mutex_t*) 75 declare extern_weak i32 @pthread_cond_timedwait(%union.pthread_cond_t*, %union.pthread_mutex_t*, %s… [all …]
|
D | 2011-08-22-ResolveAlias2.ll | 10 %union.pthread_cond_t = type { [48 x i8] } 29 @_ZL30__gthrw_pthread_cond_broadcastP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @p… 30 @_ZL27__gthrw_pthread_cond_signalP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @pthr… 31 …ond_waitP14pthread_cond_tP15pthread_mutex_t = alias weak i32 (%union.pthread_cond_t*, %union.pthre… 32 …pthread_cond_tP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_cond_t*, %union.pthre… 33 @_ZL28__gthrw_pthread_cond_destroyP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @pth… 74 declare extern_weak i32 @pthread_cond_broadcast(%union.pthread_cond_t*) 76 declare extern_weak i32 @pthread_cond_signal(%union.pthread_cond_t*) 78 declare extern_weak i32 @pthread_cond_wait(%union.pthread_cond_t*, %union.pthread_mutex_t*) 80 declare extern_weak i32 @pthread_cond_timedwait(%union.pthread_cond_t*, %union.pthread_mutex_t*, %s… [all …]
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.h | 39 typedef CONDITION_VARIABLE pthread_cond_t; typedef 45 } pthread_cond_t; typedef 132 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { in pthread_cond_destroy() 144 static INLINE int pthread_cond_init(pthread_cond_t *const condition, in pthread_cond_init() 162 static INLINE int pthread_cond_broadcast(pthread_cond_t *const condition) { in pthread_cond_broadcast() 179 static INLINE int pthread_cond_signal(pthread_cond_t *const condition) { in pthread_cond_signal() 196 static INLINE int pthread_cond_wait(pthread_cond_t *const condition, in pthread_cond_wait() 234 } pthread_cond_t; 303 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { 310 static INLINE int pthread_cond_init(pthread_cond_t *const condition, [all …]
|
/external/libaom/libaom/aom_util/ |
D | aom_thread.h | 42 typedef CONDITION_VARIABLE pthread_cond_t; typedef 48 } pthread_cond_t; typedef 130 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { in pthread_cond_destroy() 142 static INLINE int pthread_cond_init(pthread_cond_t *const condition, in pthread_cond_init() 160 static INLINE int pthread_cond_signal(pthread_cond_t *const condition) { in pthread_cond_signal() 177 static INLINE int pthread_cond_broadcast(pthread_cond_t *const condition) { in pthread_cond_broadcast() 194 static INLINE int pthread_cond_wait(pthread_cond_t *const condition, in pthread_cond_wait() 227 } pthread_cond_t; 296 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { 303 static INLINE int pthread_cond_init(pthread_cond_t *const condition, [all …]
|
/external/gemmlowp/profiling/ |
D | pthread_everywhere.h | 47 using pthread_cond_t = std::condition_variable *; variable 59 inline void pthread_cond_init(pthread_cond_t *cond, std::nullptr_t) { in pthread_cond_init() 62 inline void pthread_cond_signal(pthread_cond_t *cond) { (*cond)->notify_one(); } in pthread_cond_signal() 63 inline void pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) { in pthread_cond_wait() 70 inline void pthread_cond_destroy(pthread_cond_t *cond) { delete *cond; } in pthread_cond_destroy()
|
/external/libevent/ |
D | evthread_pthread.c | 106 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); in evthread_posix_cond_alloc() 119 pthread_cond_t *cond = cond_; in evthread_posix_cond_free() 127 pthread_cond_t *cond = cond_; in evthread_posix_cond_signal() 140 pthread_cond_t *cond = cond_; in evthread_posix_cond_wait()
|
/external/webp/src/utils/ |
D | thread_utils.c | 29 typedef CONDITION_VARIABLE pthread_cond_t; typedef 35 } pthread_cond_t; typedef 55 pthread_cond_t condition_; 131 static int pthread_cond_destroy(pthread_cond_t* const condition) { in pthread_cond_destroy() 143 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { in pthread_cond_init() 161 static int pthread_cond_signal(pthread_cond_t* const condition) { in pthread_cond_signal() 178 static int pthread_cond_wait(pthread_cond_t* const condition, in pthread_cond_wait()
|
/external/ltp/testcases/kernel/sched/nptl/ |
D | nptl01.c | 59 pthread_cond_t parent; 60 pthread_cond_t child; 102 void call_cond_init(pthread_cond_t * cond, char *buf, size_t buf_len) in call_cond_init() 112 void call_cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex, in call_cond_wait() 123 void call_cond_signal(pthread_cond_t * cond, char *buf, size_t buf_len) in call_cond_signal() 133 void do_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex, in do_timedwait()
|
/external/squashfs-tools/squashfs-tools/ |
D | caches-queues-lists.h | 136 pthread_cond_t empty; 137 pthread_cond_t full; 151 pthread_cond_t wait; 168 pthread_cond_t wait_for_free; 169 pthread_cond_t wait_for_unlock;
|
D | unsquashfs.h | 135 pthread_cond_t wait_for_free; 136 pthread_cond_t wait_for_pending; 162 pthread_cond_t empty; 163 pthread_cond_t full;
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
D | lookup_pi_state.c | 45 pthread_cond_t CM; 46 pthread_cond_t CS; 47 pthread_cond_t CT;
|
/external/ltp/testcases/kernel/sched/pthreads/ |
D | pth_str01.h | 30 pthread_cond_t talk_condvar; /* condition variable for talk_count */ 31 pthread_cond_t child_condvar; /* condition variable for child_count */
|
/external/ltp/testcases/realtime/perf/latency/ |
D | pthread_cond_latency.c | 90 pthread_cond_t *cp = (pthread_cond_t *) arg; in childfunc() 113 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; in test_signal()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/ |
D | 1-1.c | 33 pthread_cond_t cond1; in main() 34 pthread_cond_t cond2; in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
D | stress.c | 84 pthread_cond_t cnd; in threaded() 85 pthread_cond_t *pcnd; in threaded() 100 pcnd = malloc(sizeof(pthread_cond_t)); in threaded()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | threadpool.h | 35 pthread_cond_t new_work; 49 pthread_cond_t finish;
|
/external/libusb/libusb/os/ |
D | threads_posix.h | 41 #define usbi_cond_t pthread_cond_t 53 int usbi_cond_timedwait(pthread_cond_t *cond,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
D | 1-1.c | 18 pthread_cond_t cond1, cond2; 19 pthread_cond_t cond3 = PTHREAD_COND_INITIALIZER;
|
/external/stressapptest/src/ |
D | logger.h | 141 pthread_cond_t queued_lines_cond_; 144 pthread_cond_t full_queue_cond_;
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_thread_common.h | 28 pthread_cond_t *cond; 45 pthread_cond_t *recon_done_cond;
|
/external/libaom/libaom/av1/common/ |
D | thread_common.h | 36 pthread_cond_t *cond_[MAX_MB_PLANE]; 77 pthread_cond_t *cond_[MAX_MB_PLANE];
|
/external/blktrace/btreplay/ |
D | btreplay.c | 105 pthread_cond_t cond; 169 static pthread_cond_t reclaim_done_cond = PTHREAD_COND_INITIALIZER; 173 static pthread_cond_t replay_done_cond = PTHREAD_COND_INITIALIZER; 177 static pthread_cond_t replay_ready_cond = PTHREAD_COND_INITIALIZER; 181 static pthread_cond_t iter_done_cond = PTHREAD_COND_INITIALIZER; 185 static pthread_cond_t iter_start_cond = PTHREAD_COND_INITIALIZER; 388 static inline void __set_cv(pthread_mutex_t *pmp, pthread_cond_t *pcp, in __set_cv() 406 static inline void __wait_cv(pthread_mutex_t *pmp, pthread_cond_t *pcp, in __wait_cv()
|
/external/ltp/testcases/kernel/fs/openfile/ |
D | openfile.c | 49 pthread_cond_t init_cv; 50 pthread_cond_t thr_cv;
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
D | 3-4-buildonly.c | 13 pthread_cond_t dummy;
|