Lines Matching refs:__val
61 void __libcpp_atomic_store(_ValueType* __dest, _FromType __val,
64 __atomic_store_n(__dest, __val, __order);
69 void __libcpp_relaxed_store(_ValueType* __dest, _FromType __val) in __libcpp_relaxed_store() argument
71 __atomic_store_n(__dest, __val, _AO_Relaxed); in __libcpp_relaxed_store()
76 _ValueType __libcpp_atomic_load(_ValueType const* __val,
79 return __atomic_load_n(__val, __order);
84 _ValueType __libcpp_atomic_add(_ValueType* __val, _AddType __a,
87 return __atomic_add_fetch(__val, __a, __order);
100 bool __libcpp_atomic_compare_exchange(_ValueType* __val,
105 return __atomic_compare_exchange_n(__val, __expected, __after, true,
122 void __libcpp_atomic_store(_ValueType* __dest, _FromType __val,
125 *__dest = __val;
130 void __libcpp_relaxed_store(_ValueType* __dest, _FromType __val)
132 *__dest = __val;
137 _ValueType __libcpp_atomic_load(_ValueType const* __val,
140 return *__val;
145 _ValueType __libcpp_atomic_add(_ValueType* __val, _AddType __a,
148 return *__val += __a;
163 bool __libcpp_atomic_compare_exchange(_ValueType* __val,
167 if (*__val == *__expected) {
168 *__val = __after;
171 *__expected = *__val;