Home
last modified time | relevance | path

Searched refs:NoBarrier_AtomicIncrement (Results 1 – 25 of 32) 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
141 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/libchrome/base/test/
Dscoped_task_environment_unittest.cc163 subtle::NoBarrier_AtomicIncrement(counter, 4); in TEST_P()
172 subtle::NoBarrier_AtomicIncrement(counter, 128); in TEST_P()
184 subtle::NoBarrier_AtomicIncrement(counter, 8); in TEST_P()
192 subtle::NoBarrier_AtomicIncrement(counter, 16); in TEST_P()
200 subtle::NoBarrier_AtomicIncrement(counter, 1); in TEST_P()
205 subtle::NoBarrier_AtomicIncrement(counter, 2); in TEST_P()
/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_ppc_gcc.h81 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32 *ptr, in NoBarrier_AtomicIncrement() function
101 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_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.h114 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
153 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
Datomicops_internals_pnacl.h82 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
165 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_x86_gcc.h75 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
199 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_power.h77 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
279 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() function
Datomic_sequence_num.h44 return NoBarrier_AtomicIncrement(&word_, 1) - 1; in GetNext()
Datomicops_internals_arm_gcc.h82 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() function
Datomicops_internals_arm_qnx.h77 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* 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()
/external/libchrome/base/metrics/
Dsample_vector.cc59 subtle::NoBarrier_AtomicIncrement(&counts()[bucket_index], count); in Accumulate()
194 subtle::NoBarrier_AtomicIncrement( in AddSubtractImpl()
255 subtle::NoBarrier_AtomicIncrement(&counts()[sample.bucket], sample.count); in MoveSingleSampleToCounts()
Dhistogram_samples.cc249 subtle::NoBarrier_AtomicIncrement(&meta_->sum, sum); in IncreaseSumAndCount()
253 subtle::NoBarrier_AtomicIncrement(&meta_->redundant_count, count); in IncreaseSumAndCount()
/external/libchrome/base/sampling_heap_profiler/
Dlock_free_address_hash_set.cc34 subtle::NoBarrier_AtomicIncrement(&size_, 1); in Insert()

12