Lines Matching refs:newval
73 LONG newval, LONG oldval) {
74 return ::InterlockedCompareExchange(const_cast<LONG*>(ptr), newval, oldval);
76 inline LONG FastInterlockedExchange(volatile LONG* ptr, LONG newval) {
77 return ::InterlockedExchange(const_cast<LONG*>(ptr), newval);
88 LONG _InterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval);
91 LONG newval, LONG oldval) {
92 return _InterlockedCompareExchange(ptr, newval, oldval);
95 LONG _InterlockedExchange(volatile LONG* ptr, LONG newval);
97 inline LONG FastInterlockedExchange(volatile LONG* ptr, LONG newval) {
98 return _InterlockedExchange(ptr, newval);
109 LONG newval, LONG oldval) {
110 return ::InterlockedCompareExchange(ptr, newval, oldval);
112 inline LONG FastInterlockedExchange(volatile LONG* ptr, LONG newval) {
113 return ::InterlockedExchange(ptr, newval);
228 PVOID newval, PVOID oldval) {
230 newval, oldval);
232 inline PVOID FastInterlockedExchangePointer(volatile PVOID* ptr, PVOID newval) {
233 return ::InterlockedExchangePointer(const_cast<PVOID*>(ptr), newval);
243 PVOID newval, PVOID oldval);
246 PVOID newval, PVOID oldval) {
248 newval, oldval);
251 PVOID _InterlockedExchangePointer(volatile PVOID* ptr, PVOID newval);
253 inline PVOID FastInterlockedExchangePointer(volatile PVOID* ptr, PVOID newval) {
254 return _InterlockedExchangePointer(const_cast<PVOID*>(ptr), newval);
266 PVOID newval, PVOID oldval) {
267 return ::InterlockedCompareExchangePointer(ptr, newval, oldval);
269 inline PVOID FastInterlockedExchangePointer(volatile PVOID* ptr, PVOID newval) {
270 return ::InterlockedExchangePointer(ptr, newval);