Searched refs:sk_memory_order (Results 1 – 1 of 1) sorted by relevance
/external/skia/include/private/ |
D | SkAtomics.h | 17 enum sk_memory_order { enum 27 T sk_atomic_load(const T*, sk_memory_order = sk_memory_order_seq_cst); 30 void sk_atomic_store(T*, T, sk_memory_order = sk_memory_order_seq_cst); 33 T sk_atomic_fetch_add(T*, T, sk_memory_order = sk_memory_order_seq_cst); 36 T sk_atomic_fetch_sub(T*, T, sk_memory_order = sk_memory_order_seq_cst); 40 sk_memory_order success = sk_memory_order_seq_cst, 41 sk_memory_order failure = sk_memory_order_seq_cst); 44 T sk_atomic_exchange(T*, T, sk_memory_order = sk_memory_order_seq_cst); 49 template <typename T, sk_memory_order default_memory_order = sk_memory_order_seq_cst> 56 T load(sk_memory_order mo = default_memory_order) const { [all …]
|