Home
last modified time | relevance | path

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

/openssl/include/internal/
H A Drefcount.h100 *ret = _InterlockedExchangeAdd((void *)&refcnt->val, 1) + 1; in CRYPTO_UP_REF()
106 *ret = _InterlockedExchangeAdd((void *)&refcnt->val, -1) - 1; in CRYPTO_DOWN_REF()
152 # pragma intrinsic(_InterlockedExchangeAdd)
155 extern long __cdecl _InterlockedExchangeAdd(long volatile*, long);
159 # define _InterlockedExchangeAdd InterlockedExchangeAdd macro
165 *ret = _InterlockedExchangeAdd(&refcnt->val, 1) + 1; in CRYPTO_UP_REF()
171 *ret = _InterlockedExchangeAdd(&refcnt->val, -1) - 1; in CRYPTO_DOWN_REF()
177 *ret = _InterlockedExchangeAdd(&refcnt->val, 0); in CRYPTO_GET_REF()
H A Dtsan_assist.h96 # define _InterlockedExchangeAdd _InterlockedExchangeAdd_nf macro
115 # pragma intrinsic(_InterlockedExchangeAdd)
119 : _InterlockedExchangeAdd((ptr), (n)))
121 # define tsan_add(ptr, n) _InterlockedExchangeAdd((ptr), (n))

Completed in 6 milliseconds