CV_XADD 193 modules/core/include/opencv2/core/cvdef.h # define CV_XADD(addr, delta) (int)_InterlockedExchangeAdd(const_cast<void*>(reinterpret_cast<volatile void*>(addr)), delta) CV_XADD 197 modules/core/include/opencv2/core/cvdef.h # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) CV_XADD 199 modules/core/include/opencv2/core/cvdef.h # define CV_XADD(addr, delta) __atomic_fetch_add((_Atomic(int)*)(addr), delta, 4) CV_XADD 204 modules/core/include/opencv2/core/cvdef.h # define CV_XADD(addr, delta) (int)__atomic_fetch_add((unsigned*)(addr), (unsigned)(delta), __ATOMIC_ACQ_REL) CV_XADD 206 modules/core/include/opencv2/core/cvdef.h # define CV_XADD(addr, delta) (int)__sync_fetch_and_add((unsigned*)(addr), (unsigned)(delta)) CV_XADD 211 modules/core/include/opencv2/core/cvdef.h # define CV_XADD(addr, delta) (int)_InterlockedExchangeAdd((long volatile*)addr, delta) CV_XADD 213 modules/core/include/opencv2/core/cvdef.h CV_INLINE CV_XADD(int* addr, int delta) { int tmp = *addr; *addr += delta; return tmp; }