Home
last modified time | relevance | path

Searched refs:AtomicWord (Results 1 – 22 of 22) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Datomicops_internals_atomicword_compat.h53 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr, in NoBarrier_CompareAndSwap()
54 AtomicWord old_value, in NoBarrier_CompareAndSwap()
55 AtomicWord new_value) { in NoBarrier_CompareAndSwap()
60 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr, in NoBarrier_AtomicExchange()
61 AtomicWord new_value) { in NoBarrier_AtomicExchange()
66 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement()
67 AtomicWord increment) { in NoBarrier_AtomicIncrement()
72 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr, in Barrier_AtomicIncrement()
73 AtomicWord increment) { in Barrier_AtomicIncrement()
78 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr, in Acquire_CompareAndSwap()
[all …]
Donce.cc66 internal::AtomicWord state = internal::Acquire_Load(once); in GoogleOnceInitImpl()
Donce.h117 typedef internal::AtomicWord ProtobufOnceType;
Datomicops.h81 typedef intptr_t AtomicWord; typedef
/external/v8/src/base/
Datomicops_internals_atomicword_compat.h26 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr, in NoBarrier_CompareAndSwap()
27 AtomicWord old_value, in NoBarrier_CompareAndSwap()
28 AtomicWord new_value) { in NoBarrier_CompareAndSwap()
33 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr, in NoBarrier_AtomicExchange()
34 AtomicWord new_value) { in NoBarrier_AtomicExchange()
39 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement()
40 AtomicWord increment) { in NoBarrier_AtomicIncrement()
45 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr, in Barrier_AtomicIncrement()
46 AtomicWord increment) { in Barrier_AtomicIncrement()
51 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr, in Acquire_CompareAndSwap()
[all …]
Donce.cc19 AtomicWord state = Acquire_Load(once); in CallOnceImpl()
Donce.h60 typedef AtomicWord OnceType;
Datomicops.h57 typedef intptr_t AtomicWord; typedef
/external/v8/test/cctest/
Dtest-atomicops.cc276 TestAtomicIncrement<AtomicWord>(); in TEST()
282 TestCompareAndSwap<AtomicWord>(); in TEST()
288 TestAtomicExchange<AtomicWord>(); in TEST()
294 TestAtomicIncrementBounds<AtomicWord>(); in TEST()
301 TestStore<AtomicWord>(); in TEST()
308 TestLoad<AtomicWord>(); in TEST()
Dtest-circular-queue.cc39 typedef v8::base::AtomicWord Record; in TEST()
103 typedef v8::base::AtomicWord Record;
/external/v8/src/
Dunbound-queue-inl.h27 divider_ = last_ = reinterpret_cast<base::AtomicWord>(first_);
50 base::Release_Store(&divider_, reinterpret_cast<base::AtomicWord>(next));
59 base::Release_Store(&last_, reinterpret_cast<base::AtomicWord>(next));
Dunbound-queue.h38 base::AtomicWord divider_; // Node*
39 base::AtomicWord last_; // Node*
Doptimizing-compiler-thread.h42 static_cast<base::AtomicWord>(CONTINUE)); in OptimizingCompilerThread()
130 volatile base::AtomicWord stop_thread_;
Doptimizing-compiler-thread.cc69 static_cast<base::AtomicWord>(CONTINUE)); in Run()
173 base::Release_Store(&stop_thread_, static_cast<base::AtomicWord>(FLUSH)); in Flush()
187 base::Release_Store(&stop_thread_, static_cast<base::AtomicWord>(STOP)); in Stop()
Dobjects-inl.h1184 reinterpret_cast<const base::AtomicWord*>(FIELD_ADDR_CONST(p, offset))))
1188 reinterpret_cast<const base::AtomicWord*>(FIELD_ADDR_CONST(p, offset))))
1195 reinterpret_cast<base::AtomicWord*>(FIELD_ADDR(p, offset)), \
1196 reinterpret_cast<base::AtomicWord>(value));
1200 reinterpret_cast<base::AtomicWord*>(FIELD_ADDR(p, offset)), \
1201 reinterpret_cast<base::AtomicWord>(value));
/external/v8/src/heap/
Dsweeper-thread.cc26 base::NoBarrier_Store(&stop_thread_, static_cast<base::AtomicWord>(false)); in SweeperThread()
52 base::Release_Store(&stop_thread_, static_cast<base::AtomicWord>(true)); in Stop()
Dstore-buffer.cc343 base::NoBarrier_Load(reinterpret_cast<base::AtomicWord*>(slot))); in VerifyPointers()
377 base::NoBarrier_Load(reinterpret_cast<base::AtomicWord*>(slot))); in FindPointersToNewSpaceInRegion()
386 base::NoBarrier_Load(reinterpret_cast<base::AtomicWord*>(slot))); in FindPointersToNewSpaceInRegion()
407 base::NoBarrier_Load(reinterpret_cast<base::AtomicWord*>(slot))); in IteratePointersInStoreBuffer()
415 base::NoBarrier_Load(reinterpret_cast<base::AtomicWord*>(slot))); in IteratePointersInStoreBuffer()
Dsweeper-thread.h40 volatile base::AtomicWord stop_thread_;
Dspaces.h300 base::Release_Store(&next_chunk_, reinterpret_cast<base::AtomicWord>(next)); in set_next_chunk()
304 base::Release_Store(&prev_chunk_, reinterpret_cast<base::AtomicWord>(prev)); in set_prev_chunk()
671 base::AtomicWord parallel_sweeping_;
686 base::AtomicWord next_chunk_;
688 base::AtomicWord prev_chunk_;
1457 base::NoBarrier_Store(&top_, reinterpret_cast<base::AtomicWord>(top)); in set_top()
1479 base::AtomicWord top_;
Dobjects-visiting.h153 callbacks_[id] = reinterpret_cast<base::AtomicWord>(callback); in Register()
182 base::AtomicWord callbacks_[StaticVisitorBase::kVisitorIdCount];
Dspaces.cc2018 reinterpret_cast<base::AtomicWord*>(address() + kNextOffset), in set_next()
2019 reinterpret_cast<base::AtomicWord>(next)); in set_next()
2022 reinterpret_cast<base::AtomicWord*>(address() + kPointerSize), in set_next()
2023 reinterpret_cast<base::AtomicWord>(next)); in set_next()
Dmark-compact.cc3049 reinterpret_cast<base::AtomicWord*>(address), in UpdatePointer()
3050 reinterpret_cast<base::AtomicWord>(object), in UpdatePointer()
3051 reinterpret_cast<base::AtomicWord>(HeapObject::FromAddress(new_addr))); in UpdatePointer()