Home
last modified time | relevance | path

Searched refs:NoBarrier_AtomicIncrement (Results 1 – 25 of 39) sorted by relevance

12

/external/libchrome/base/
Datomicops_unittest.cc35 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); in TestAtomicIncrement()
40 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); in TestAtomicIncrement()
45 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); in TestAtomicIncrement()
50 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); in TestAtomicIncrement()
55 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); in TestAtomicIncrement()
60 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); in TestAtomicIncrement()
65 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); in TestAtomicIncrement()
70 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); in TestAtomicIncrement()
75 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); in TestAtomicIncrement()
144 AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds()
[all …]
Datomicops_internals_atomicword_compat.h43 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement() function
45 return NoBarrier_AtomicIncrement( in NoBarrier_AtomicIncrement()
Datomicops.h91 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
127 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
Datomicops_internals_x86_msvc.h54 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
139 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_portable.h82 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
165 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
/external/v8/test/cctest/
Dtest-atomicops.cc65 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, 1), 1); in TestAtomicIncrement()
70 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, 2), 3); in TestAtomicIncrement()
75 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, 3), 6); in TestAtomicIncrement()
80 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, -3), 3); in TestAtomicIncrement()
85 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, -2), 1); in TestAtomicIncrement()
90 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, -1), 0); in TestAtomicIncrement()
95 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, -1), -1); in TestAtomicIncrement()
100 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, -4), -5); in TestAtomicIncrement()
105 CHECK_EQU(NoBarrier_AtomicIncrement(&s.count, 5), 0); in TestAtomicIncrement()
164 AtomicType new_value = NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds()
[all …]
/external/v8/src/base/
Datomicops_internals_mips64_gcc.h90 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
113 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
227 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
250 Atomic64 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_arm64_gcc.h70 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
96 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
220 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
246 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_arm_gcc.h110 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
137 Atomic32 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
207 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_atomicword_compat.h39 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement() function
41 return NoBarrier_AtomicIncrement( in NoBarrier_AtomicIncrement()
Datomicops_internals_mips_gcc.h68 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
91 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops.h81 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
119 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
Datomicops_internals_portable.h26 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
92 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_ppc_gcc.h29 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
109 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_mac.h53 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
148 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_x86_msvc.h50 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
146 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
/external/protobuf/src/google/protobuf/stubs/
Datomicops_internals_mips_gcc.h96 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
119 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
228 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
251 Atomic64 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_arm64_gcc.h97 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
121 Atomic32 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
233 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
257 Atomic64 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_solaris.h52 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
65 Atomic32 ret = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
127 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment) { in NoBarrier_AtomicIncrement() function
Datomicops_internals_atomicword_compat.h66 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement() function
68 return NoBarrier_AtomicIncrement( in NoBarrier_AtomicIncrement()
Datomicops_internals_x86_msvc.h40 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
93 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops.h103 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
142 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
Datomicops_internals_macosx.h66 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
157 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_tsan.h73 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32 *ptr, in NoBarrier_AtomicIncrement() function
153 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64 *ptr, in NoBarrier_AtomicIncrement() function
/external/libchrome/base/threading/
Dthread_collision_warner.cc42 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in EnterSelf()
55 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in Enter()

12