Lines Matching refs:T
36 template<typename T>
37 class PACKED(sizeof(T)) Atomic : public std::atomic<T> { in PACKED() argument
39 Atomic<T>() : std::atomic<T>(T()) { } in PACKED()
41 explicit Atomic<T>(T value) : std::atomic<T>(value) { } in PACKED()
50 T LoadJavaData() const { in PACKED()
61 void StoreJavaData(T desired_value) { in PACKED()
67 bool CompareAndSetStrongSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
72 bool CompareAndSetWeakSequentiallyConsistent(T expected_value, T desired_value) { in PACKED()
78 bool CompareAndSetStrongRelaxed(T expected_value, T desired_value) { in PACKED()
85 bool CompareAndSetStrongRelease(T expected_value, T desired_value) { in PACKED()
90 bool CompareAndSetWeakRelaxed(T expected_value, T desired_value) { in PACKED()
97 bool CompareAndSetWeakAcquire(T expected_value, T desired_value) { in PACKED()
104 bool CompareAndSetWeakRelease(T expected_value, T desired_value) { in PACKED()
108 bool CompareAndSet(T expected_value, in PACKED()
109 T desired_value, in PACKED()
119 volatile T* Address() { in PACKED()
120 return reinterpret_cast<T*>(this); in PACKED()
123 static T MaxValue() { in PACKED()
124 return std::numeric_limits<T>::max(); in PACKED()
131 template <typename T>
132 void IncrementStatsCounter(std::atomic<T>* a) { in IncrementStatsCounter()