Searched refs:_InterlockedExchangeAdd (Results 1 – 5 of 5) sorted by relevance
| /freebsd/crypto/openssl/include/internal/ |
| H A D | refcount.h | 114 *ret = _InterlockedExchangeAdd((void *)&refcnt->val, 1) + 1; in CRYPTO_UP_REF() 120 *ret = _InterlockedExchangeAdd((void *)&refcnt->val, -1) - 1; in CRYPTO_DOWN_REF() 126 *ret = _InterlockedExchangeAdd((void *)&refcnt->val, 0); in CRYPTO_GET_REF() 152 *ret = _InterlockedExchangeAdd(&refcnt->val, -1) - 1; in CRYPTO_DOWN_REF() 164 #pragma intrinsic(_InterlockedExchangeAdd) 167 extern long __cdecl _InterlockedExchangeAdd(long volatile *, long); 171 #define _InterlockedExchangeAdd InterlockedExchangeAdd macro 177 *ret = _InterlockedExchangeAdd(&refcnt->val, 1) + 1; in CRYPTO_UP_REF() 183 *ret = _InterlockedExchangeAdd(&refcnt->val, -1) - 1; in CRYPTO_DOWN_REF() 189 *ret = _InterlockedExchangeAdd(&refcnt->val, 0); in CRYPTO_GET_REF()
|
| H A D | tsan_assist.h | 95 #define _InterlockedExchangeAdd _InterlockedExchangeAdd_nf macro 114 #pragma intrinsic(_InterlockedExchangeAdd) 118 : _InterlockedExchangeAdd((ptr), (n))) 120 #define tsan_add(ptr, n) _InterlockedExchangeAdd((ptr), (n))
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_atomic_msvc.h | 29 extern "C" long _InterlockedExchangeAdd(long volatile *Addend, long Value); 30 #pragma intrinsic(_InterlockedExchangeAdd) 109 return (u32)_InterlockedExchangeAdd((volatile long *)&a->val_dont_use, in atomic_fetch_add() 121 return (uptr)_InterlockedExchangeAdd((volatile long *)&a->val_dont_use, in atomic_fetch_add() 130 return (u32)_InterlockedExchangeAdd((volatile long *)&a->val_dont_use, in atomic_fetch_sub() 142 return (uptr)_InterlockedExchangeAdd((volatile long *)&a->val_dont_use, in atomic_fetch_sub()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 1440 _InterlockedExchangeAdd, enumerator 1493 return MSVCIntrin::_InterlockedExchangeAdd; in translateArmToMsvcIntrin() 1639 return MSVCIntrin::_InterlockedExchangeAdd; in translateAarch64ToMsvcIntrin() 1795 return MSVCIntrin::_InterlockedExchangeAdd; in translateX86ToMsvcIntrin() 1865 case MSVCIntrin::_InterlockedExchangeAdd: in EmitMSVCBuiltinExpr() 5345 EmitMSVCBuiltinExpr(MSVCIntrin::_InterlockedExchangeAdd, E)); in EmitBuiltinExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Builtins.td | 2422 let Spellings = ["_InterlockedExchangeAdd"];
|