Home
last modified time | relevance | path

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

123

/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 …]
Datomic_sequence_num.h43 AtomicWord GetNext() { in GetNext()
47 AtomicWord word_;
/external/libchrome/base/
Datomicops_internals_atomicword_compat.h30 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr, in NoBarrier_CompareAndSwap()
31 AtomicWord old_value, in NoBarrier_CompareAndSwap()
32 AtomicWord new_value) { in NoBarrier_CompareAndSwap()
37 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr, in NoBarrier_AtomicExchange()
38 AtomicWord new_value) { in NoBarrier_AtomicExchange()
43 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement()
44 AtomicWord increment) { in NoBarrier_AtomicIncrement()
49 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr, in Barrier_AtomicIncrement()
50 AtomicWord increment) { in Barrier_AtomicIncrement()
55 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr, in Acquire_CompareAndSwap()
[all …]
Dlazy_instance.h125 static const subtle::AtomicWord kLazyInstanceStateCreating = 1;
130 BASE_EXPORT bool NeedsLazyInstance(subtle::AtomicWord* state);
134 BASE_EXPORT void CompleteLazyInstance(subtle::AtomicWord* state,
135 subtle::AtomicWord new_instance,
172 static const subtle::AtomicWord kLazyInstanceCreatedMask = in Pointer()
182 subtle::AtomicWord value = subtle::Acquire_Load(&private_instance_); in Pointer()
186 value = reinterpret_cast<subtle::AtomicWord>( in Pointer()
209 subtle::AtomicWord private_instance_;
Dlazy_instance.cc16 bool NeedsLazyInstance(subtle::AtomicWord* state) { in NeedsLazyInstance()
39 void CompleteLazyInstance(subtle::AtomicWord* state, in CompleteLazyInstance()
40 subtle::AtomicWord new_instance, in CompleteLazyInstance()
Datomicops_unittest.cc222 TestAtomicIncrement<base::subtle::AtomicWord>(); in TEST()
227 TestCompareAndSwap<base::subtle::AtomicWord>(); in TEST()
232 TestAtomicExchange<base::subtle::AtomicWord>(); in TEST()
237 TestAtomicIncrementBounds<base::subtle::AtomicWord>(); in TEST()
242 TestStore<base::subtle::AtomicWord>(); in TEST()
247 TestLoad<base::subtle::AtomicWord>(); in TEST()
/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 …]
Datomic-utils.h25 &value_, static_cast<base::AtomicWord>(increment))); in Increment()
31 &value_, -static_cast<base::AtomicWord>(decrement))); in Decrement()
39 base::Release_Store(&value_, static_cast<base::AtomicWord>(new_value)); in SetValue()
51 STATIC_ASSERT(sizeof(T) <= sizeof(base::AtomicWord));
53 base::AtomicWord value_;
86 STATIC_ASSERT(sizeof(T) <= sizeof(base::AtomicWord));
90 static base::AtomicWord to_storage_type(S value) { in to_storage_type()
91 return static_cast<base::AtomicWord>(value); in to_storage_type()
93 static S to_return_type(base::AtomicWord value) { in to_return_type()
100 static base::AtomicWord to_storage_type(S* value) {
[all …]
/external/libmojo/base/android/
Djni_android.cc138 base::subtle::AtomicWord* atomic_class_id) { in LazyGetClass()
139 static_assert(sizeof(subtle::AtomicWord) >= sizeof(jclass), in LazyGetClass()
141 subtle::AtomicWord value = base::subtle::Acquire_Load(atomic_class_id); in LazyGetClass()
146 subtle::AtomicWord null_aw = reinterpret_cast<subtle::AtomicWord>(NULL); in LazyGetClass()
147 subtle::AtomicWord cas_result = base::subtle::Release_CompareAndSwap( in LazyGetClass()
150 reinterpret_cast<subtle::AtomicWord>(clazz.obj())); in LazyGetClass()
184 base::subtle::AtomicWord* atomic_method_id) { in LazyGet()
185 static_assert(sizeof(subtle::AtomicWord) >= sizeof(jmethodID), in LazyGet()
187 subtle::AtomicWord value = base::subtle::Acquire_Load(atomic_method_id); in LazyGet()
192 atomic_method_id, reinterpret_cast<subtle::AtomicWord>(id)); in LazyGet()
[all …]
/external/libchrome/base/memory/
Dsingleton.h35 static const subtle::AtomicWord kBeingCreatedMarker = 1;
39 BASE_EXPORT subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance);
249 subtle::AtomicWord value = subtle::Acquire_Load(&instance_); in get()
264 reinterpret_cast<subtle::AtomicWord>(newval)); in get()
287 static subtle::AtomicWord instance_;
291 subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::instance_ = 0;
Dsingleton.cc11 subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance) { in WaitForInstance()
19 subtle::AtomicWord value; in WaitForInstance()
/external/libmojo/base/android/jni_generator/
DtestConstantsFromJavaP.golden23 base::subtle::AtomicWord g_MotionEvent_clazz __attribute__((unused)) = 0;
115 static base::subtle::AtomicWord g_MotionEvent_finalize = 0;
135 static base::subtle::AtomicWord
188 static base::subtle::AtomicWord
239 static base::subtle::AtomicWord g_MotionEvent_obtainAVME_J_J_I_F_F_F_F_I_F_F_I_I
285 static base::subtle::AtomicWord
333 static base::subtle::AtomicWord g_MotionEvent_obtainAVME_J_J_I_F_F_I = 0;
365 static base::subtle::AtomicWord g_MotionEvent_obtainAVME_AVME = 0;
389 static base::subtle::AtomicWord g_MotionEvent_obtainNoHistory = 0;
413 static base::subtle::AtomicWord g_MotionEvent_recycle = 0;
[all …]
DtestCalledByNatives.golden24 base::subtle::AtomicWord g_TestJni_clazz __attribute__((unused)) = 0;
27 base::subtle::AtomicWord g_InfoBar_clazz __attribute__((unused)) = 0;
34 static base::subtle::AtomicWord g_TestJni_showConfirmInfoBar = 0;
67 static base::subtle::AtomicWord g_TestJni_showAutoLoginInfoBar = 0;
98 static base::subtle::AtomicWord g_InfoBar_dismiss = 0;
118 static base::subtle::AtomicWord g_TestJni_shouldShowAutoLogin = 0;
147 static base::subtle::AtomicWord g_TestJni_openUrl = 0;
170 static base::subtle::AtomicWord g_TestJni_activateHardwareAcceleration = 0;
200 static base::subtle::AtomicWord g_TestJni_updateStatus = 0;
222 static base::subtle::AtomicWord g_TestJni_uncheckedCall = 0;
[all …]
DtestFromJavaP.golden23 base::subtle::AtomicWord g_InputStream_clazz __attribute__((unused)) = 0;
32 static base::subtle::AtomicWord g_InputStream_available = 0;
54 static base::subtle::AtomicWord g_InputStream_close = 0;
74 static base::subtle::AtomicWord g_InputStream_mark = 0;
95 static base::subtle::AtomicWord g_InputStream_markSupported = 0;
117 static base::subtle::AtomicWord g_InputStream_readI = 0;
139 static base::subtle::AtomicWord g_InputStream_readI_AB = 0;
163 static base::subtle::AtomicWord g_InputStream_readI_AB_I_I = 0;
191 static base::subtle::AtomicWord g_InputStream_reset = 0;
211 static base::subtle::AtomicWord g_InputStream_skip = 0;
[all …]
DtestInnerClassNativesMultiple.golden26 base::subtle::AtomicWord g_MyOtherInnerClass_clazz __attribute__((unused)) = 0;
29 base::subtle::AtomicWord g_TestJni_clazz __attribute__((unused)) = 0;
32 base::subtle::AtomicWord g_MyInnerClass_clazz __attribute__((unused)) = 0;
/external/libchrome/base/trace_event/
Dtrace_event_synthetic_delay.h43 static base::subtle::AtomicWord INTERNAL_TRACE_EVENT_UID(impl_ptr) = 0; \
52 static base::subtle::AtomicWord impl_ptr = 0; \
61 static base::subtle::AtomicWord impl_ptr = 0; \
148 base::subtle::AtomicWord* impl_ptr);
160 GetOrCreateDelay(const char* name, base::subtle::AtomicWord* impl_ptr);
/external/libchrome/base/files/
Dfile_tracing.cc10 using base::subtle::AtomicWord;
15 AtomicWord g_provider;
19 AtomicWord provider = base::subtle::Acquire_Load(&g_provider); in GetProvider()
32 reinterpret_cast<AtomicWord>(provider)); in SetProvider()
/external/libchrome/base/allocator/
Dallocator_shim.cc39 subtle::AtomicWord g_chain_head = reinterpret_cast<subtle::AtomicWord>(
87 *static_cast<const volatile subtle::AtomicWord*>(&g_chain_head) in GetChainHead()
122 subtle::AtomicWord old_value = in InsertAllocatorDispatch()
123 reinterpret_cast<subtle::AtomicWord>(chain_head); in InsertAllocatorDispatch()
128 reinterpret_cast<subtle::AtomicWord>(dispatch)) == old_value) { in InsertAllocatorDispatch()
140 reinterpret_cast<subtle::AtomicWord>(dispatch->next)); in RemoveAllocatorDispatchForTesting()
/external/v8/src/zone/
Daccounting-allocator.h82 base::AtomicWord current_memory_usage_ = 0;
83 base::AtomicWord max_memory_usage_ = 0;
84 base::AtomicWord current_pool_size_ = 0;
Daccounting-allocator.cc87 base::AtomicWord current = in AllocateSegment()
89 base::AtomicWord max = base::NoBarrier_Load(&max_memory_usage_); in AllocateSegment()
109 &current_memory_usage_, -static_cast<base::AtomicWord>(memory->size())); in FreeSegment()
149 &current_pool_size_, -static_cast<base::AtomicWord>(segment->size())); in GetSegmentFromPool()
/external/v8/src/profiler/
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*
/external/v8/src/
Dexecution.h197 base::AtomicWord jslimit_;
198 base::AtomicWord climit_;
205 static_cast<base::AtomicWord>(limit)); in set_jslimit()
212 static_cast<base::AtomicWord>(limit)); in set_climit()
/external/v8/src/compiler-dispatcher/
Doptimizing-compile-dispatcher.cc154 base::Release_Store(&mode_, static_cast<base::AtomicWord>(FLUSH)); in Flush()
159 base::Release_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); in Flush()
168 base::Release_Store(&mode_, static_cast<base::AtomicWord>(FLUSH)); in Stop()
173 base::Release_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); in Stop()
Doptimizing-compile-dispatcher.h36 base::NoBarrier_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); in OptimizingCompileDispatcher()
87 volatile base::AtomicWord mode_;

123