Lines Matching refs:value
42 static base::AtomicWord to_storage_type(S value) {
43 return static_cast<base::AtomicWord>(value);
45 static S to_return_type(base::AtomicWord value) {
46 return static_cast<S>(value);
52 static base::AtomicWord to_storage_type(S* value) {
53 return reinterpret_cast<base::AtomicWord>(value);
55 static S* to_return_type(base::AtomicWord value) {
56 return reinterpret_cast<S*>(value);
152 // Atomically sets bits selected by the mask to the given value.
172 static AtomicStorageType to_storage_type(U value) {
173 return static_cast<AtomicStorageType>(value);
175 static U to_return_type(AtomicStorageType value) {
176 return static_cast<U>(value);
182 static AtomicStorageType to_storage_type(U* value) {
183 return reinterpret_cast<AtomicStorageType>(value);
185 static U* to_return_type(AtomicStorageType value) {
186 return reinterpret_cast<U*>(value);
191 static AtomicStorageType* to_storage_addr(T* value) {
192 return reinterpret_cast<AtomicStorageType*>(value);
195 static const AtomicStorageType* to_storage_addr(const T* value) {
196 return reinterpret_cast<const AtomicStorageType*>(value);
238 typename = typename std::enable_if<std::is_unsigned<T>::value>::type>
248 typename = typename std::enable_if<std::is_unsigned<T>::value>::type>