Lines Matching refs:T
30 template <typename T>
33 static T LoadRegEx (volatile T* ptr) { return __ldrex(ptr); } in LoadRegEx()
34 static int StoreRegEx(T val, volatile T* ptr) { return __strex(val, ptr); } in StoreRegEx()
48 template <typename T, typename = void> struct AtomicStorageSelecter;
50 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si…
55 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si…
60 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si…
65 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si…
84 template <typename T>
85 static T* CompareAndSwap(T** pTarget, T* comp, T* swap)
87 return reinterpret_cast<T*>(
93 template <typename T>
94 static T* Swap(T** pTarget, T* value)
96 return reinterpret_cast<T*>(
101 template <typename T, typename UpdateFunc>
102 …static bool AtomicUpdate(volatile T* p, UpdateFunc& update, typename nn::util::enable_if<sizeof(T)…
104 typedef typename AtomicStorageSelecter<T>::Type Storage;
110 T v;
133 template <typename T>
134 …static int CompareAndSwapWeak(volatile T* p, T compValue, T setValue, typename nn::util::enable_if…
136 typedef typename AtomicStorageSelecter<T>::Type Storage;
142 T v;