Home
last modified time | relevance | path

Searched refs:newcond (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cpp166 void *newcond = malloc(sizeof(pthread_cond_t)); in init_cond() local
167 internal_memset(newcond, 0, sizeof(pthread_cond_t)); in init_cond()
168 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond()
170 return (pthread_cond_t*)newcond; in init_cond()
171 free(newcond); in init_cond()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc167 void *newcond = malloc(sizeof(pthread_cond_t)); in init_cond() local
168 internal_memset(newcond, 0, sizeof(pthread_cond_t)); in init_cond()
169 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond()
171 return (pthread_cond_t*)newcond; in init_cond()
172 free(newcond); in init_cond()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc1008 void *newcond = WRAP(malloc)(pthread_cond_t_sz); in init_cond() local
1009 internal_memset(newcond, 0, pthread_cond_t_sz); in init_cond()
1010 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond()
1012 return newcond; in init_cond()
1013 WRAP(free)(newcond); in init_cond()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_posix.cpp1116 void *newcond = WRAP(malloc)(pthread_cond_t_sz); in init_cond() local
1117 internal_memset(newcond, 0, pthread_cond_t_sz); in init_cond()
1118 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, in init_cond()
1120 return newcond; in init_cond()
1121 WRAP(free)(newcond); in init_cond()