Home
last modified time | relevance | path

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

123

/external/chromium_org/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/chromium_org/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()
137 AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds()
[all …]
Datomicops_internals_mips_gcc.h69 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
92 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
198 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
221 Atomic64 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_arm64_gcc.h80 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
104 Atomic32 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
216 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
240 Atomic64 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_arm_gcc.h109 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
136 Atomic32 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
206 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()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Datomicops_unittest.cc63 ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, 1)); in TestAtomicIncrement()
68 ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, 2)); in TestAtomicIncrement()
73 ASSERT_EQ(6, base::subtle::NoBarrier_AtomicIncrement(&s.count, 3)); in TestAtomicIncrement()
78 ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, -3)); in TestAtomicIncrement()
83 ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -2)); in TestAtomicIncrement()
88 ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); in TestAtomicIncrement()
93 ASSERT_EQ(-1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); in TestAtomicIncrement()
98 ASSERT_EQ(-5, base::subtle::NoBarrier_AtomicIncrement(&s.count, -4)); in TestAtomicIncrement()
103 ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, 5)); in TestAtomicIncrement()
165 AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds()
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Datomicops_unittest.cc63 ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, 1)); in TestAtomicIncrement()
68 ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, 2)); in TestAtomicIncrement()
73 ASSERT_EQ(6, base::subtle::NoBarrier_AtomicIncrement(&s.count, 3)); in TestAtomicIncrement()
78 ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, -3)); in TestAtomicIncrement()
83 ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -2)); in TestAtomicIncrement()
88 ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); in TestAtomicIncrement()
93 ASSERT_EQ(-1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); in TestAtomicIncrement()
98 ASSERT_EQ(-5, base::subtle::NoBarrier_AtomicIncrement(&s.count, -4)); in TestAtomicIncrement()
103 ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, 5)); in TestAtomicIncrement()
165 AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds()
[all …]
/external/chromium_org/base/allocator/
Dallocator_unittest.cc107 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); in TestAtomicIncrement()
112 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); in TestAtomicIncrement()
117 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); in TestAtomicIncrement()
122 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); in TestAtomicIncrement()
127 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); in TestAtomicIncrement()
132 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); in TestAtomicIncrement()
137 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); in TestAtomicIncrement()
142 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); in TestAtomicIncrement()
147 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); in TestAtomicIncrement()
209 AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds()
[all …]
/external/chromium_org/third_party/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_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
/external/chromium_org/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.h109 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
136 Atomic32 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
206 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()
/external/chromium_org/base/threading/
Dthread_collision_warner.cc42 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in EnterSelf()
55 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in Enter()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Datomicops-internals-x86.h92 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
216 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
337 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
351 Atomic64 new_val = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops-internals-arm-v6plus.h97 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
223 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
306 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops.h155 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement() function
157 return NoBarrier_AtomicIncrement( in NoBarrier_AtomicIncrement()
253 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
274 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Datomicops-internals-x86.h92 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
216 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
337 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
351 Atomic64 new_val = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops-internals-arm-v6plus.h98 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
224 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
307 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops.h155 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement() function
157 return NoBarrier_AtomicIncrement( in NoBarrier_AtomicIncrement()
253 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
274 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);

123