/external/chromium_org/v8/test/cctest/ |
D | test-atomicops.cc | 65 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/ |
D | atomicops_unittest.cc | 35 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 …]
|
D | atomicops_internals_mips_gcc.h | 69 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()
|
D | atomicops_internals_arm64_gcc.h | 80 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()
|
D | atomicops_internals_arm_gcc.h | 109 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
|
D | atomicops_internals_atomicword_compat.h | 39 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/ |
D | atomicops_unittest.cc | 63 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/ |
D | atomicops_unittest.cc | 63 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/ |
D | allocator_unittest.cc | 107 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/ |
D | atomicops_internals_mips_gcc.h | 96 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()
|
D | atomicops_internals_arm64_gcc.h | 97 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()
|
D | atomicops_internals_atomicword_compat.h | 66 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement() function 68 return NoBarrier_AtomicIncrement( in NoBarrier_AtomicIncrement()
|
D | atomicops_internals_x86_msvc.h | 40 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/ |
D | atomicops_internals_mips64_gcc.h | 90 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()
|
D | atomicops_internals_arm64_gcc.h | 70 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()
|
D | atomicops_internals_arm_gcc.h | 109 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
|
D | atomicops_internals_atomicword_compat.h | 39 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement() function 41 return NoBarrier_AtomicIncrement( in NoBarrier_AtomicIncrement()
|
D | atomicops_internals_mips_gcc.h | 68 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/ |
D | thread_collision_warner.cc | 42 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in EnterSelf() 55 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in Enter()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
D | atomicops-internals-x86.h | 92 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()
|
D | atomicops-internals-arm-v6plus.h | 97 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
|
D | atomicops.h | 155 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/ |
D | atomicops-internals-x86.h | 92 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()
|
D | atomicops-internals-arm-v6plus.h | 98 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
|
D | atomicops.h | 155 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);
|