Lines Matching defs:newValue
61 static bool cas(Integer oldValue, Integer newValue, Integer &base)
62 { return OSAtomicCompareAndSwap32(oldValue, newValue, &base); }
63 static bool casb(Integer oldValue, Integer newValue, Integer &base)
64 { return OSAtomicCompareAndSwap32Barrier(oldValue, newValue, &base); }
76 static bool cas(Integer oldValue, Integer newValue, Integer &base)
77 { return OSAtomicCompareAndSwap64(oldValue, newValue, &base); }
78 static bool casb(Integer oldValue, Integer newValue, Integer &base)
79 { return OSAtomicCompareAndSwap64Barrier(oldValue, newValue, &base); }
103 static bool cas(Type oldValue, Type newValue, Type &store)
104 { return _Ops::cas(_Type(oldValue), _Type(newValue), (_Type &)store); }
105 static bool casb(Type oldValue, Type newValue, Type &store)
106 { return _Ops::casb(_Type(oldValue), _Type(newValue), (_Type &)store); }