Lines Matching refs:AI
58 #define hb_atomic_int_impl_add(AI, V) __atomic_fetch_add ((AI), (V), __ATOMIC_ACQ_REL) argument
59 #define hb_atomic_int_impl_set_relaxed(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELAXED) argument
60 #define hb_atomic_int_impl_set(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELEASE) argument
61 #define hb_atomic_int_impl_get_relaxed(AI) __atomic_load_n ((AI), __ATOMIC_RELAXED) argument
62 #define hb_atomic_int_impl_get(AI) __atomic_load_n ((AI), __ATOMIC_ACQUIRE) argument
85 #define hb_atomic_int_impl_add(AI, V) (reinterpret_cast<std::atomic<int> *> (AI)->fetch_add ((V), … argument
86 #define hb_atomic_int_impl_set_relaxed(AI, V) (reinterpret_cast<std::atomic<int> *> (AI)->store ((V… argument
87 #define hb_atomic_int_impl_set(AI, V) (reinterpret_cast<std::atomic<int> *> (AI)->store ((V), std:… argument
88 #define hb_atomic_int_impl_get_relaxed(AI) (reinterpret_cast<std::atomic<int> *> (AI)->load (std::m… argument
89 #define hb_atomic_int_impl_get(AI) (reinterpret_cast<std::atomic<int> *> (AI)->load (std::memory_o… argument
119 #define hb_atomic_int_impl_add(AI, V) InterlockedExchangeAdd ((LONG *) (AI), (V)) argument
129 #define hb_atomic_int_impl_add(AI, V) __sync_fetch_and_add ((AI), (V)) argument
143 static inline int _hb_fetch_and_add (int *AI, int V) in _hb_fetch_and_add() argument
146 int result = atomic_add_int_nv ((uint_t *) AI, V) - V; in _hb_fetch_and_add()
158 #define hb_atomic_int_impl_add(AI, V) _hb_fetch_and_add ((AI), (V)) argument
174 #define hb_atomic_int_impl_add(AI, V) (OSAtomicAdd32Barrier ((V), (AI)) - (V)) argument
193 static inline int _hb_fetch_and_add (int *AI, int V) in _hb_fetch_and_add() argument
196 int result = __fetch_and_add (AI, V); in _hb_fetch_and_add()
208 #define hb_atomic_int_impl_add(AI, V) _hb_fetch_and_add ((AI), (V)) argument
220 #define hb_atomic_int_impl_add(AI, V) ((*(AI) += (V)) - (V)) argument
227 #define hb_atomic_int_impl_add(AI, V) ((*(AI) += (V)) - (V)) argument
244 #define hb_atomic_int_impl_set_relaxed(AI, V) (*(AI) = (V)) argument
247 #define hb_atomic_int_impl_get_relaxed(AI) (*(AI)) argument
257 inline void hb_atomic_int_impl_set (int *AI, int v) { _hb_memory_w_barrier (); *AI = v; } in hb_atomic_int_impl_set() argument
260 inline int hb_atomic_int_impl_get (const int *AI) { int v = *AI; _hb_memory_r_barrier (); return v;… in hb_atomic_int_impl_get() argument