Home
last modified time | relevance | path

Searched refs:_InterlockedExchangeAdd (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/include/internal/
H A Drefcount.h83 *ret = _InterlockedExchangeAdd((void *)val, 1) + 1; in CRYPTO_UP_REF()
90 *ret = _InterlockedExchangeAdd((void *)val, -1) - 1; in CRYPTO_DOWN_REF()
123 # pragma intrinsic(_InterlockedExchangeAdd)
126 extern long __cdecl _InterlockedExchangeAdd(long volatile*, long);
130 # define _InterlockedExchangeAdd InterlockedExchangeAdd macro
137 *ret = _InterlockedExchangeAdd((long volatile *)val, 1) + 1; in CRYPTO_UP_REF()
144 *ret = _InterlockedExchangeAdd((long volatile *)val, -1) - 1; in CRYPTO_DOWN_REF()
H A Dtsan_assist.h94 # define _InterlockedExchangeAdd _InterlockedExchangeAdd_nf macro
113 # pragma intrinsic(_InterlockedExchangeAdd)
117 : _InterlockedExchangeAdd((ptr), 1))
119 : _InterlockedExchangeAdd((ptr), -1))
121 # define tsan_counter(ptr) _InterlockedExchangeAdd((ptr), 1)
122 # define tsan_decr(ptr) _InterlockedExchangeAdd((ptr), -1)
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/internal/
H A Dtsan_assist.h94 # define _InterlockedExchangeAdd _InterlockedExchangeAdd_nf macro
113 # pragma intrinsic(_InterlockedExchangeAdd)
117 : _InterlockedExchangeAdd((ptr), 1))
119 : _InterlockedExchangeAdd((ptr), -1))
121 # define tsan_counter(ptr) _InterlockedExchangeAdd((ptr), 1)
122 # define tsan_decr(ptr) _InterlockedExchangeAdd((ptr), -1)
H A Drefcount.h103 # pragma intrinsic(_InterlockedExchangeAdd)
106 extern long __cdecl _InterlockedExchangeAdd(long volatile*, long);
110 # define _InterlockedExchangeAdd InterlockedExchangeAdd macro
116 *ret = _InterlockedExchangeAdd(val, 1) + 1; in CRYPTO_UP_REF()
122 *ret = _InterlockedExchangeAdd(val, -1) - 1; in CRYPTO_DOWN_REF()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_atomic_msvc.h29 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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_atomic_msvc.h33 extern "C" long _InterlockedExchangeAdd( // NOLINT
35 #pragma intrinsic(_InterlockedExchangeAdd)
119 return (u32)_InterlockedExchangeAdd( in atomic_fetch_add()
131 return (uptr)_InterlockedExchangeAdd( in atomic_fetch_add()
140 return (u32)_InterlockedExchangeAdd( in atomic_fetch_sub()
152 return (uptr)_InterlockedExchangeAdd( in atomic_fetch_sub()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_atomic_msvc.h31 extern "C" long _InterlockedExchangeAdd( // NOLINT
33 #pragma intrinsic(_InterlockedExchangeAdd)
117 return (u32)_InterlockedExchangeAdd( in atomic_fetch_add()
129 return (uptr)_InterlockedExchangeAdd( in atomic_fetch_add()
138 return (u32)_InterlockedExchangeAdd( in atomic_fetch_sub()
150 return (uptr)_InterlockedExchangeAdd( in atomic_fetch_sub()
/netbsd-src/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Datomic_msvc.h123 return (type)ATOMIC_INTERLOCKED_NAME(_InterlockedExchangeAdd, \
/netbsd-src/external/bsd/jemalloc/include/jemalloc/internal/
H A Datomic_msvc.h123 return (type)ATOMIC_INTERLOCKED_NAME(_InterlockedExchangeAdd, \
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp1056 _InterlockedExchangeAdd, enumerator
1109 return MSVCIntrin::_InterlockedExchangeAdd; in translateArmToMsvcIntrin()
1255 return MSVCIntrin::_InterlockedExchangeAdd; in translateAarch64ToMsvcIntrin()
1411 return MSVCIntrin::_InterlockedExchangeAdd; in translateX86ToMsvcIntrin()
1482 case MSVCIntrin::_InterlockedExchangeAdd: in EmitMSVCBuiltinExpr()
4398 EmitMSVCBuiltinExpr(MSVCIntrin::_InterlockedExchangeAdd, E)); in EmitBuiltinExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DBuiltins.def908 LANGBUILTIN(_InterlockedExchangeAdd, "NiNiD*Ni", "n", ALL_MS_LANGUAGES)