Lines Matching refs:uExchange
33 uint32 atomic_CompareAndExchange(uint32 * volatile puDest, uint32 uExchange, uint32 uCompare) { in atomic_CompareAndExchange() argument
35 return (uint32)InterlockedCompareExchange((LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in atomic_CompareAndExchange()
37 uintptr_t atomic_CompareAndExchangeUP(uintptr_t * volatile puDest, uintptr_t uExchange, uintptr_t u… in atomic_CompareAndExchangeUP() argument
39 …return (uintptr_t)InterlockedCompareExchangePointer((void**)puDest, (void*)uExchange, (void*)uComp… in atomic_CompareAndExchangeUP()
71 uint32 atomic_CompareAndExchange(uint32 * volatile puDest, uint32 uExchange, uint32 uCompare) { in atomic_CompareAndExchange() argument
72 return (uint32)qurt_atomic_compare_val_and_set((unsigned int*)puDest, uCompare, uExchange); in atomic_CompareAndExchange()
74 uintptr_t atomic_CompareAndExchangeUP(uintptr_t * volatile puDest, uintptr_t uExchange, uintptr_t u… in atomic_CompareAndExchangeUP() argument
76 return (uint32)atomic_CompareAndExchange((uint32*)puDest, (uint32)uExchange, (uint32)uCompare); in atomic_CompareAndExchangeUP()
79 uint32 atomic_CompareAndExchange(uint32 * volatile puDest, uint32 uExchange, uint32 uCompare) { in atomic_CompareAndExchange() argument
80 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in atomic_CompareAndExchange()
82 uint64 atomic_CompareAndExchange64(uint64 * volatile puDest, uint64 uExchange, uint64 uCompare) { in atomic_CompareAndExchange64() argument
83 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in atomic_CompareAndExchange64()
85 uintptr_t atomic_CompareAndExchangeUP(uintptr_t * volatile puDest, uintptr_t uExchange, uintptr_t u… in atomic_CompareAndExchangeUP() argument
86 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in atomic_CompareAndExchangeUP()