Home | History | Annotate | Download | only in sanitizer_common

Lines Matching full:volatile

25     char volatile *Addend, char Value);  // NOLINT
28 short volatile *Addend, short Value); // NOLINT
31 long volatile *Addend, long Value); // NOLINT
34 long volatile * Addend, long Value); // NOLINT
37 short volatile *Destination, // NOLINT
42 long long volatile *Destination, // NOLINT
46 void *volatile *Destination,
51 long volatile *Destination, // NOLINT
57 long long volatile * Addend, long long Value); // NOLINT
78 const volatile T *a, memory_order mo) {
95 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) {
111 INLINE u32 atomic_fetch_add(volatile atomic_uint32_t *a,
116 (volatile long*)&a->val_dont_use, (long)v); // NOLINT
119 INLINE uptr atomic_fetch_add(volatile atomic_uintptr_t *a,
125 (volatile long long*)&a->val_dont_use, (long long)v); // NOLINT
128 (volatile long*)&a->val_dont_use, (long)v); // NOLINT
132 INLINE u32 atomic_fetch_sub(volatile atomic_uint32_t *a,
137 (volatile long*)&a->val_dont_use, -(long)v); // NOLINT
140 INLINE uptr atomic_fetch_sub(volatile atomic_uintptr_t *a,
146 (volatile long long*)&a->val_dont_use, -(long long)v); // NOLINT
149 (volatile long*)&a->val_dont_use, -(long)v); // NOLINT
153 INLINE u8 atomic_exchange(volatile atomic_uint8_t *a,
157 return (u8)_InterlockedExchange8((volatile char*)&a->val_dont_use, v);
160 INLINE u16 atomic_exchange(volatile atomic_uint16_t *a,
164 return (u16)_InterlockedExchange16((volatile short*)&a->val_dont_use, v);
167 INLINE u32 atomic_exchange(volatile atomic_uint32_t *a,
171 return (u32)_InterlockedExchange((volatile long*)&a->val_dont_use, v);
176 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint8_t *a,
199 INLINE bool atomic_compare_exchange_strong(volatile atomic_uintptr_t *a,
205 (void*volatile*)&a->val_dont_use, (void*)xchg, (void*)cmpv);
212 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint16_t *a,
218 (volatile short*)&a->val_dont_use, (short)xchg, (short)cmpv);
225 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint32_t *a,
231 (volatile long*)&a->val_dont_use, (long)xchg, (long)cmpv);
238 INLINE bool atomic_compare_exchange_strong(volatile atomic_uint64_t *a,
244 (volatile long long*)&a->val_dont_use, (long long)xchg, (long long)cmpv);
252 INLINE bool atomic_compare_exchange_weak(volatile T *a,