Searched refs:tsan_t (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors_mac.cc | 38 #define OSATOMIC_INTERCEPTOR(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument 41 return tsan_atomic_f((volatile tsan_t *)ptr, x, mo); \ 44 #define OSATOMIC_INTERCEPTOR_PLUS_X(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument 47 return tsan_atomic_f((volatile tsan_t *)ptr, x, mo) + x; \ 50 #define OSATOMIC_INTERCEPTOR_PLUS_1(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument 53 return tsan_atomic_f((volatile tsan_t *)ptr, 1, mo) + 1; \ 56 #define OSATOMIC_INTERCEPTOR_MINUS_1(return_t, t, tsan_t, f, tsan_atomic_f, \ argument 60 return tsan_atomic_f((volatile tsan_t *)ptr, 1, mo) - 1; \ 96 #define OSATOMIC_INTERCEPTORS_CAS(f, tsan_atomic_f, tsan_t, t) \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() argument 100 (tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors_mac.cpp | 50 #define OSATOMIC_INTERCEPTOR(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument 53 return tsan_atomic_f((volatile tsan_t *)ptr, x, mo); \ 56 #define OSATOMIC_INTERCEPTOR_PLUS_X(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument 59 return tsan_atomic_f((volatile tsan_t *)ptr, x, mo) + x; \ 62 #define OSATOMIC_INTERCEPTOR_PLUS_1(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument 65 return tsan_atomic_f((volatile tsan_t *)ptr, 1, mo) + 1; \ 68 #define OSATOMIC_INTERCEPTOR_MINUS_1(return_t, t, tsan_t, f, tsan_atomic_f, \ argument 72 return tsan_atomic_f((volatile tsan_t *)ptr, 1, mo) - 1; \ 108 #define OSATOMIC_INTERCEPTORS_CAS(f, tsan_atomic_f, tsan_t, t) \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() argument 112 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC() [all …]
|