Searched refs:sk_memory_order (Results 1 – 4 of 4) sorted by relevance
/external/skia/include/core/ |
D | SkAtomics.h | 14 enum sk_memory_order { enum 24 T sk_atomic_load(const T*, sk_memory_order = sk_memory_order_seq_cst); 27 void sk_atomic_store(T*, T, sk_memory_order = sk_memory_order_seq_cst); 30 T sk_atomic_fetch_add(T*, T, sk_memory_order = sk_memory_order_seq_cst); 34 sk_memory_order success = sk_memory_order_seq_cst, 35 sk_memory_order failure = sk_memory_order_seq_cst); 38 T sk_atomic_exchange(T*, T, sk_memory_order = sk_memory_order_seq_cst); 48 T load(sk_memory_order mo = sk_memory_order_seq_cst) const { 52 void store(const T& val, sk_memory_order mo = sk_memory_order_seq_cst) { 57 sk_memory_order success = sk_memory_order_seq_cst, [all …]
|
/external/skia/include/ports/ |
D | SkAtomics_sync.h | 16 static inline void barrier(sk_memory_order mo) { in barrier() 31 T sk_atomic_load(const T* ptr, sk_memory_order mo) { in sk_atomic_load() 38 void sk_atomic_store(T* ptr, T val, sk_memory_order mo) { in sk_atomic_store() 44 T sk_atomic_fetch_add(T* ptr, T val, sk_memory_order) { in sk_atomic_fetch_add() argument 49 bool sk_atomic_compare_exchange(T* ptr, T* expected, T desired, sk_memory_order, sk_memory_order) { in sk_atomic_compare_exchange() argument 59 T sk_atomic_exchange(T* ptr, T val, sk_memory_order) { in sk_atomic_exchange() argument
|
D | SkAtomics_atomic.h | 12 T sk_atomic_load(const T* ptr, sk_memory_order mo) { in sk_atomic_load() 21 void sk_atomic_store(T* ptr, T val, sk_memory_order mo) { in sk_atomic_store() 29 T sk_atomic_fetch_add(T* ptr, T val, sk_memory_order mo) { in sk_atomic_fetch_add() 36 sk_memory_order success, in sk_atomic_compare_exchange() 37 sk_memory_order failure) { in sk_atomic_compare_exchange() 48 T sk_atomic_exchange(T* ptr, T val, sk_memory_order mo) { in sk_atomic_exchange()
|
D | SkAtomics_std.h | 16 T sk_atomic_load(const T* ptr, sk_memory_order mo) { in sk_atomic_load() 26 void sk_atomic_store(T* ptr, T val, sk_memory_order mo) { in sk_atomic_store() 35 T sk_atomic_fetch_add(T* ptr, T val, sk_memory_order mo) { in sk_atomic_fetch_add() 43 sk_memory_order success, in sk_atomic_compare_exchange() 44 sk_memory_order failure) { in sk_atomic_compare_exchange() 58 T sk_atomic_exchange(T* ptr, T val, sk_memory_order mo) { in sk_atomic_exchange()
|