Lines Matching refs:tmp
90 T tmp = __sync_add_and_fetch(&_value, sum); in AddFetch() local
92 return tmp; in AddFetch()
100 T tmp = __sync_add_and_fetch(&_value, 1); in IncFetch() local
102 return tmp; in IncFetch()
110 T tmp = __sync_sub_and_fetch(&_value, 1); in DecFetch() local
112 return tmp; in DecFetch()
118 T tmp = LoadRelaxed(); in Load() local
120 return tmp; in Load()
135 T tmp = __sync_lock_test_and_set(&_value, val); in Exchange() local
137 return tmp; in Exchange()
145 T tmp = __sync_val_compare_and_swap(&_value, compareValue, newValue); in CompareAndSwap() local
147 return tmp; in CompareAndSwap()
184 T* tmp = LoadRelaxed(); in Load() local
186 return tmp; in Load()
201 T* tmp = (T*)__sync_lock_test_and_set((void**)&_value, (void*)val); in Exchange() local
203 return tmp; in Exchange()
211 T* tmp = (T*)__sync_val_compare_and_swap((void**)&_value, (void*)compareValue, (void*)newValue); in CompareAndSwap() local
213 return tmp; in CompareAndSwap()