Lines Matching defs:__mem
50 __exchange_and_add(volatile _Atomic_word* __mem, int __val)
51 { return __sync_fetch_and_add(__mem, __val); }
54 __atomic_add(volatile _Atomic_word* __mem, int __val)
55 { __sync_fetch_and_add(__mem, __val); }
67 __exchange_and_add_single(_Atomic_word* __mem, int __val)
69 _Atomic_word __result = *__mem;
70 *__mem += __val;
75 __atomic_add_single(_Atomic_word* __mem, int __val)
76 { *__mem += __val; }
80 __exchange_and_add_dispatch(_Atomic_word* __mem, int __val)
84 return __exchange_and_add(__mem, __val);
86 return __exchange_and_add_single(__mem, __val);
88 return __exchange_and_add_single(__mem, __val);
94 __atomic_add_dispatch(_Atomic_word* __mem, int __val)
98 __atomic_add(__mem, __val);
100 __atomic_add_single(__mem, __val);
102 __atomic_add_single(__mem, __val);