Home
last modified time | relevance | path

Searched refs:Atomic32 (Results 1 – 25 of 38) sorted by relevance

12

/external/v8/src/
Datomicops_internals_arm_gcc.h43 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value,
44 Atomic32 new_value,
45 volatile Atomic32* ptr);
54 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
55 Atomic32 old_value, in NoBarrier_CompareAndSwap()
56 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
57 Atomic32 prev_value = *ptr; in NoBarrier_CompareAndSwap()
60 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap()
68 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
69 Atomic32 new_value) { in NoBarrier_AtomicExchange()
[all …]
Datomicops_internals_mips_gcc.h48 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
49 Atomic32 old_value, in NoBarrier_CompareAndSwap()
50 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
51 Atomic32 prev, tmp; in NoBarrier_CompareAndSwap()
71 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
72 Atomic32 new_value) { in NoBarrier_AtomicExchange()
73 Atomic32 temp, old; in NoBarrier_AtomicExchange()
92 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement()
93 Atomic32 increment) { in NoBarrier_AtomicIncrement()
94 Atomic32 temp, temp2; in NoBarrier_AtomicIncrement()
[all …]
Datomicops.h57 typedef int32_t Atomic32; typedef
84 Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
85 Atomic32 old_value,
86 Atomic32 new_value);
90 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value);
94 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
96 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr,
97 Atomic32 increment);
108 Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,
109 Atomic32 old_value,
[all …]
Datomicops_internals_x86_gcc.h51 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
52 Atomic32 old_value, in NoBarrier_CompareAndSwap()
53 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
54 Atomic32 prev; in NoBarrier_CompareAndSwap()
62 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
63 Atomic32 new_value) { in NoBarrier_AtomicExchange()
71 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement()
72 Atomic32 increment) { in NoBarrier_AtomicIncrement()
73 Atomic32 temp = increment; in NoBarrier_AtomicIncrement()
81 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement()
[all …]
Datomicops_internals_x86_msvc.h39 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
40 Atomic32 old_value, in NoBarrier_CompareAndSwap()
41 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
46 return static_cast<Atomic32>(result); in NoBarrier_CompareAndSwap()
49 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
50 Atomic32 new_value) { in NoBarrier_AtomicExchange()
54 return static_cast<Atomic32>(result); in NoBarrier_AtomicExchange()
57 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement()
58 Atomic32 increment) { in Barrier_AtomicIncrement()
64 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement()
[all …]
Datomicops_internals_x86_macosx.h38 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
39 Atomic32 old_value, in NoBarrier_CompareAndSwap()
40 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
41 Atomic32 prev_value; in NoBarrier_CompareAndSwap()
44 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap()
52 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
53 Atomic32 new_value) { in NoBarrier_AtomicExchange()
54 Atomic32 old_value; in NoBarrier_AtomicExchange()
58 const_cast<Atomic32*>(ptr))); in NoBarrier_AtomicExchange()
62 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement()
[all …]
Druntime-profiler.h138 static Atomic32 state_;
168 Atomic32 new_state = NoBarrier_AtomicIncrement(&state_, 1); in IsolateEnteredJS()
180 Atomic32 new_state = NoBarrier_AtomicIncrement(&state_, -1); in IsolateExitedJS()
/external/chromium/base/
Datomicops_internals_arm_gcc.h21 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value,
22 Atomic32 new_value,
23 volatile Atomic32* ptr);
32 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
33 Atomic32 old_value, in NoBarrier_CompareAndSwap()
34 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
35 Atomic32 prev_value = *ptr; in NoBarrier_CompareAndSwap()
38 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap()
46 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
47 Atomic32 new_value) { in NoBarrier_AtomicExchange()
[all …]
Datomicops_internals_mips_gcc.h28 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
29 Atomic32 old_value, in NoBarrier_CompareAndSwap()
30 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
31 Atomic32 prev, tmp; in NoBarrier_CompareAndSwap()
51 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
52 Atomic32 new_value) { in NoBarrier_AtomicExchange()
53 Atomic32 temp, old; in NoBarrier_AtomicExchange()
72 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement()
73 Atomic32 increment) { in NoBarrier_AtomicIncrement()
74 Atomic32 temp, temp2; in NoBarrier_AtomicIncrement()
[all …]
Datomicops.h42 typedef __w64 int32 Atomic32; typedef
69 Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
70 Atomic32 old_value,
71 Atomic32 new_value);
75 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value);
79 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
81 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr,
82 Atomic32 increment);
93 Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,
94 Atomic32 old_value,
[all …]
Datomicops_internals_x86_macosx.h16 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32 *ptr, in NoBarrier_CompareAndSwap()
17 Atomic32 old_value, in NoBarrier_CompareAndSwap()
18 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
19 Atomic32 prev_value; in NoBarrier_CompareAndSwap()
22 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap()
30 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32 *ptr, in NoBarrier_AtomicExchange()
31 Atomic32 new_value) { in NoBarrier_AtomicExchange()
32 Atomic32 old_value; in NoBarrier_AtomicExchange()
36 const_cast<Atomic32*>(ptr))); in NoBarrier_AtomicExchange()
40 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32 *ptr, in NoBarrier_AtomicIncrement()
[all …]
Datomicops_internals_x86_gcc.h29 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
30 Atomic32 old_value, in NoBarrier_CompareAndSwap()
31 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
32 Atomic32 prev; in NoBarrier_CompareAndSwap()
40 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
41 Atomic32 new_value) { in NoBarrier_AtomicExchange()
49 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement()
50 Atomic32 increment) { in NoBarrier_AtomicIncrement()
51 Atomic32 temp = increment; in NoBarrier_AtomicIncrement()
59 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement()
[all …]
Datomicops_internals_x86_msvc.h16 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap()
17 Atomic32 old_value, in NoBarrier_CompareAndSwap()
18 Atomic32 new_value) { in NoBarrier_CompareAndSwap()
23 return static_cast<Atomic32>(result); in NoBarrier_CompareAndSwap()
26 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange()
27 Atomic32 new_value) { in NoBarrier_AtomicExchange()
31 return static_cast<Atomic32>(result); in NoBarrier_AtomicExchange()
34 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement()
35 Atomic32 increment) { in Barrier_AtomicIncrement()
41 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement()
[all …]
Datomicops_internals_atomicword_compat.h31 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap()
37 reinterpret_cast<volatile Atomic32*>(ptr), new_value); in NoBarrier_AtomicExchange()
43 reinterpret_cast<volatile Atomic32*>(ptr), increment); in NoBarrier_AtomicIncrement()
49 reinterpret_cast<volatile Atomic32*>(ptr), increment); in Barrier_AtomicIncrement()
56 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap()
63 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap()
68 reinterpret_cast<volatile Atomic32*>(ptr), value); in NoBarrier_Store()
73 reinterpret_cast<volatile Atomic32*>(ptr), value); in Acquire_Store()
78 reinterpret_cast<volatile Atomic32*>(ptr), value); in Release_Store()
83 reinterpret_cast<volatile const Atomic32*>(ptr)); in NoBarrier_Load()
[all …]
Datomicops_unittest.cc214 TestAtomicIncrement<base::subtle::Atomic32>(); in TEST()
219 TestCompareAndSwap<base::subtle::Atomic32>(); in TEST()
224 TestAtomicExchange<base::subtle::Atomic32>(); in TEST()
229 TestAtomicIncrementBounds<base::subtle::Atomic32>(); in TEST()
234 TestStore<base::subtle::Atomic32>(); in TEST()
239 TestLoad<base::subtle::Atomic32>(); in TEST()
Datomic_sequence_num.h25 base::subtle::Atomic32 seq_;
/external/webrtc/src/system_wrappers/source/
Datomic32_mac.cc21 Atomic32::Atomic32(WebRtc_Word32 initialValue) : _value(initialValue) in Atomic32() function in webrtc::Atomic32
26 Atomic32::~Atomic32() in ~Atomic32()
30 WebRtc_Word32 Atomic32::operator++() in operator ++()
35 WebRtc_Word32 Atomic32::operator--() in operator --()
40 WebRtc_Word32 Atomic32::operator+=(WebRtc_Word32 value) in operator +=()
45 WebRtc_Word32 Atomic32::operator-=(WebRtc_Word32 value) in operator -=()
50 bool Atomic32::CompareExchange(WebRtc_Word32 newValue, in CompareExchange()
56 WebRtc_Word32 Atomic32::Value() const in Value()
Datomic32_posix.cc21 Atomic32::Atomic32(WebRtc_Word32 initialValue) : _value(initialValue) in Atomic32() function in webrtc::Atomic32
26 Atomic32::~Atomic32() in ~Atomic32()
30 WebRtc_Word32 Atomic32::operator++() in operator ++()
35 WebRtc_Word32 Atomic32::operator--() in operator --()
40 WebRtc_Word32 Atomic32::operator+=(WebRtc_Word32 value) in operator +=()
47 WebRtc_Word32 Atomic32::operator-=(WebRtc_Word32 value) in operator -=()
54 bool Atomic32::CompareExchange(WebRtc_Word32 newValue, in CompareExchange()
60 WebRtc_Word32 Atomic32::Value() const in Value()
Datomic32_win.cc21 Atomic32::Atomic32(WebRtc_Word32 initialValue) : _value(initialValue) in Atomic32() function in webrtc::Atomic32
29 Atomic32::~Atomic32() in ~Atomic32()
33 WebRtc_Word32 Atomic32::operator++() in operator ++()
39 WebRtc_Word32 Atomic32::operator--() in operator --()
45 WebRtc_Word32 Atomic32::operator+=(WebRtc_Word32 value) in operator +=()
51 WebRtc_Word32 Atomic32::operator-=(WebRtc_Word32 value) in operator -=()
57 bool Atomic32::CompareExchange(WebRtc_Word32 newValue, in CompareExchange()
68 WebRtc_Word32 Atomic32::Value() const in Value()
/external/webrtc/src/system_wrappers/interface/
Datomic32.h30 class Atomic32
33 Atomic32(WebRtc_Word32 initialValue = 0);
34 ~Atomic32();
51 Atomic32 operator+(const Atomic32& other);
52 Atomic32 operator-(const Atomic32& other);
59 DISALLOW_COPY_AND_ASSIGN(Atomic32);
/external/chromium/base/threading/
Dthread_collision_warner.cc16 static subtle::Atomic32 CurrentThread() { in CurrentThread()
21 const subtle::Atomic32 atomic_thread_id = in CurrentThread()
22 static_cast<subtle::Atomic32>(current_thread_id); in CurrentThread()
31 subtle::Atomic32 current_thread_id = CurrentThread(); in EnterSelf()
46 subtle::Atomic32 current_thread_id = CurrentThread(); in Enter()
Dthread_collision_warner.h229 volatile subtle::Atomic32 valid_thread_id_;
233 volatile subtle::Atomic32 counter_;
/external/chromium/chrome/browser/net/
Dchrome_net_log.h148 base::subtle::Atomic32 last_id_;
150 base::subtle::Atomic32 log_level_;
/external/chromium/base/memory/
Dsingleton.h109 static base::subtle::Atomic32 dead_;
114 template <typename Type> base::subtle::Atomic32
/external/chromium/base/synchronization/
Dcancellation_flag.h34 base::subtle::Atomic32 flag_;

12