Searched refs:state_ (Results 1 - 5 of 5) sorted by relevance
/freebsd-11.0-release/contrib/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mutex.h | 26 atomic_store(&state_, 0, memory_order_relaxed); 36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; 40 atomic_store(&state_, 0, memory_order_release); 44 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), 1); 48 atomic_uint8_t state_; member in class:__sanitizer::StaticSpinMutex 56 if (atomic_load(&state_, memory_order_relaxed) == 0 57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0) 96 atomic_store(&state_, kUnlocked, memory_order_relaxed); 100 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); 105 if (atomic_compare_exchange_strong(&state_, 136 atomic_uint32_t state_; member in class:__sanitizer::RWMutex [all...] |
H A D | sanitizer_symbolizer_libbacktrace.h | 44 explicit LibbacktraceSymbolizer(void *state) : state_(state) {} 46 void *state_; // Leaked. member in class:__sanitizer::LibbacktraceSymbolizer
|
H A D | sanitizer_symbolizer_libbacktrace.cc | 163 backtrace_pcinfo((backtrace_state *)state_, addr, SymbolizeCodePCInfoCallback, 167 backtrace_syminfo((backtrace_state *)state_, addr, SymbolizeCodeCallback, 173 backtrace_syminfo((backtrace_state *)state_, addr, SymbolizeDataCallback, 185 (void)state_;
|
/freebsd-11.0-release/contrib/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_mutex.cc | 219 atomic_store(&state_, kUnlocked, memory_order_relaxed); 223 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); 231 if (atomic_compare_exchange_strong(&state_, &cmp, kWriteLock, 235 if (atomic_load(&state_, memory_order_relaxed) == kUnlocked) { 237 if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock, 249 uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release); 261 uptr prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); 265 prev = atomic_load(&state_, memory_order_acquire); 276 uptr prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); 286 CHECK_NE(atomic_load(&state_, memory_order_relaxe [all...] |
H A D | tsan_mutex.h | 56 atomic_uintptr_t state_; member in class:__tsan::Mutex
|
Completed in 119 milliseconds