Home
last modified time | relevance | path

Searched refs:AtomicLocation32 (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/
Datomicops_internals_portable.h51 typedef volatile std::atomic<Atomic32>* AtomicLocation32; typedef
52 static_assert(sizeof(*(AtomicLocation32) nullptr) == sizeof(Atomic32),
68 ((AtomicLocation32)ptr) in NoBarrier_CompareAndSwap()
78 return ((AtomicLocation32)ptr) in NoBarrier_AtomicExchange()
85 ((AtomicLocation32)ptr) in NoBarrier_AtomicIncrement()
91 return increment + ((AtomicLocation32)ptr)->fetch_add(increment); in Barrier_AtomicIncrement()
97 ((AtomicLocation32)ptr) in Acquire_CompareAndSwap()
108 ((AtomicLocation32)ptr) in Release_CompareAndSwap()
117 ((AtomicLocation32)ptr)->store(value, std::memory_order_relaxed); in NoBarrier_Store()
121 ((AtomicLocation32)ptr)->store(value, std::memory_order_relaxed); in Acquire_Store()
[all …]
/external/cronet/base/
Datomicops_internals_portable.h46 typedef volatile std::atomic<Atomic32>* AtomicLocation32; typedef
47 static_assert(sizeof(*(AtomicLocation32) nullptr) == sizeof(Atomic32),
53 ((AtomicLocation32)ptr) in NoBarrier_CompareAndSwap()
63 return ((AtomicLocation32)ptr) in NoBarrier_AtomicExchange()
70 ((AtomicLocation32)ptr) in NoBarrier_AtomicIncrement()
76 return increment + ((AtomicLocation32)ptr)->fetch_add(increment); in Barrier_AtomicIncrement()
82 ((AtomicLocation32)ptr) in Acquire_CompareAndSwap()
93 ((AtomicLocation32)ptr) in Release_CompareAndSwap()
102 ((AtomicLocation32)ptr)->store(value, std::memory_order_relaxed); in NoBarrier_Store()
106 ((AtomicLocation32)ptr)->store(value, std::memory_order_release); in Release_Store()
[all …]