Lines Matching refs:dstAddr
39 DE_INLINE deInt32 deAtomicIncrementInt32 (volatile deInt32* dstAddr) in deAtomicIncrementInt32() argument
42 return _InterlockedIncrement((long volatile*)dstAddr); in deAtomicIncrementInt32()
44 return __sync_add_and_fetch(dstAddr, 1); in deAtomicIncrementInt32()
55 DE_INLINE deUint32 deAtomicIncrementUint32 (volatile deUint32* dstAddr) in deAtomicIncrementUint32() argument
57 return deAtomicIncrementInt32((deInt32 volatile*)dstAddr); in deAtomicIncrementUint32()
65 DE_INLINE deInt32 deAtomicDecrementInt32 (volatile deInt32* dstAddr) in deAtomicDecrementInt32() argument
68 return _InterlockedDecrement((volatile long*)dstAddr); in deAtomicDecrementInt32()
70 return __sync_sub_and_fetch(dstAddr, 1); in deAtomicDecrementInt32()
81 DE_INLINE deUint32 deAtomicDecrementUint32 (volatile deUint32* dstAddr) in deAtomicDecrementUint32() argument
83 return deAtomicDecrementInt32((volatile deInt32*)dstAddr); in deAtomicDecrementUint32()
100 DE_INLINE deUint32 deAtomicCompareExchangeUint32 (volatile deUint32* dstAddr, deUint32 compare, deU… in deAtomicCompareExchangeUint32() argument
103 return _InterlockedCompareExchange((volatile long*)dstAddr, exchange, compare); in deAtomicCompareExchangeUint32()
105 return __sync_val_compare_and_swap(dstAddr, compare, exchange); in deAtomicCompareExchangeUint32()
123 DE_INLINE deInt64 deAtomicIncrementInt64 (volatile deInt64* dstAddr) in deAtomicIncrementInt64() argument
126 return _InterlockedIncrement64((volatile long long*)dstAddr); in deAtomicIncrementInt64()
128 return __sync_add_and_fetch(dstAddr, 1); in deAtomicIncrementInt64()
139 DE_INLINE deUint64 deAtomicIncrementUint64 (volatile deUint64* dstAddr) in deAtomicIncrementUint64() argument
141 return deAtomicIncrementInt64((volatile deInt64*)dstAddr); in deAtomicIncrementUint64()
149 DE_INLINE deInt64 deAtomicDecrementInt64 (volatile deInt64* dstAddr) in deAtomicDecrementInt64() argument
152 return _InterlockedDecrement64((volatile long long*)dstAddr); in deAtomicDecrementInt64()
154 return __sync_sub_and_fetch(dstAddr, 1); in deAtomicDecrementInt64()
165 DE_INLINE deUint64 deAtomicDecrementUint64 (volatile deUint64* dstAddr) in deAtomicDecrementUint64() argument
167 return deAtomicDecrementInt64((volatile deInt64*)dstAddr); in deAtomicDecrementUint64()
184 DE_INLINE deUint64 deAtomicCompareExchangeUint64 (volatile deUint64* dstAddr, deUint64 compare, deU… in deAtomicCompareExchangeUint64() argument
187 return _InterlockedCompareExchange64((volatile long long*)dstAddr, exchange, compare); in deAtomicCompareExchangeUint64()
189 return __sync_val_compare_and_swap(dstAddr, compare, exchange); in deAtomicCompareExchangeUint64()
243 DE_INLINE void* deAtomicCompareExchangePtr (void* volatile* dstAddr, void* compare, void* exchange) in deAtomicCompareExchangePtr() argument
246 …return (void*)deAtomicCompareExchangeUint64((volatile deUint64*)dstAddr, (deUint64)compare, (deUin… in deAtomicCompareExchangePtr()
248 …return (void*)deAtomicCompareExchangeUint32((volatile deUint32*)dstAddr, (deUint32)compare, (deUin… in deAtomicCompareExchangePtr()