Home
last modified time | relevance | path

Searched refs:val_dont_use (Results 1 – 6 of 6) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_clang_other.h35 v = a->val_dont_use; in atomic_load()
40 v = a->val_dont_use; in atomic_load()
44 v = a->val_dont_use; in atomic_load()
49 v = a->val_dont_use; in atomic_load()
57 const_cast<typename T::Type volatile *>(&a->val_dont_use), 0); in atomic_load()
71 a->val_dont_use = v; in atomic_store()
74 a->val_dont_use = v; in atomic_store()
78 a->val_dont_use = v; in atomic_store()
84 typename T::Type cmp = a->val_dont_use; in atomic_store()
87 cur = __sync_val_compare_and_swap(&a->val_dont_use, cmp, v); in atomic_store()
Dsanitizer_atomic_msvc.h89 v = a->val_dont_use; in atomic_load()
92 v = a->val_dont_use; in atomic_load()
105 a->val_dont_use = v; in atomic_store()
108 a->val_dont_use = v; in atomic_store()
120 (volatile long*)&a->val_dont_use, (long)v); // NOLINT in atomic_fetch_add()
129 (volatile long long*)&a->val_dont_use, (long long)v); // NOLINT in atomic_fetch_add()
132 (volatile long*)&a->val_dont_use, (long)v); // NOLINT in atomic_fetch_add()
141 (volatile long*)&a->val_dont_use, -(long)v); // NOLINT in atomic_fetch_sub()
150 (volatile long long*)&a->val_dont_use, -(long long)v); // NOLINT in atomic_fetch_sub()
153 (volatile long*)&a->val_dont_use, -(long)v); // NOLINT in atomic_fetch_sub()
[all …]
Dsanitizer_atomic_clang_x86.h38 v = a->val_dont_use; in atomic_load()
43 v = a->val_dont_use; in atomic_load()
47 v = a->val_dont_use; in atomic_load()
53 v = a->val_dont_use; in atomic_load()
63 : "m" (a->val_dont_use) in atomic_load()
83 a->val_dont_use = v; in atomic_store()
87 a->val_dont_use = v; in atomic_store()
92 a->val_dont_use = v; in atomic_store()
101 : "=m" (a->val_dont_use) in atomic_store()
Dsanitizer_atomic.h32 volatile Type val_dont_use; member
37 volatile Type val_dont_use; member
42 volatile Type val_dont_use; member
48 volatile ALIGNED(8) Type val_dont_use;
53 volatile Type val_dont_use; member
Dsanitizer_atomic_clang.h51 return __sync_fetch_and_add(&a->val_dont_use, v); in atomic_fetch_add()
59 return __sync_fetch_and_add(&a->val_dont_use, -v); in atomic_fetch_sub()
68 v = __sync_lock_test_and_set(&a->val_dont_use, v); in atomic_exchange()
81 Type prev = __sync_val_compare_and_swap(&a->val_dont_use, cmpv, xchg); in atomic_compare_exchange_strong()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_atomic_test.cc44 val.a.val_dont_use = (Type)v; in CheckStoreLoad()
46 val.a.val_dont_use = (Type)-1; in CheckStoreLoad()
48 EXPECT_EQ(val.a.val_dont_use, (Type)v); in CheckStoreLoad()