Lines Matching defs:newValue
261 atomic_set(int32* value, int32 newValue)
263 __atomic_store_n(value, newValue, __ATOMIC_RELEASE);
268 atomic_get_and_set(int32* value, int32 newValue)
270 return __atomic_exchange_n(value, newValue, __ATOMIC_SEQ_CST);
275 atomic_test_and_set(int32* value, int32 newValue, int32 testAgainst)
277 __atomic_compare_exchange_n(value, &testAgainst, newValue, 1,
312 atomic_set64(int64* value, int64 newValue)
314 __atomic_store_n(value, newValue, __ATOMIC_RELEASE);
319 atomic_get_and_set64(int64* value, int64 newValue)
321 return __atomic_exchange_n(value, newValue, __ATOMIC_SEQ_CST);
326 atomic_test_and_set64(int64* value, int64 newValue, int64 testAgainst)
328 __atomic_compare_exchange_n(value, &testAgainst, newValue, 1,
369 extern void atomic_set(int32* value, int32 newValue);
370 extern int32 atomic_get_and_set(int32* value, int32 newValue);
371 extern int32 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst);
377 extern void atomic_set64(int64* value, int64 newValue);
378 extern int64 atomic_get_and_set64(int64* value, int64 newValue);
379 extern int64 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst);