Home
last modified time | relevance | path

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

12

/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_helpers.h20 constexpr subtle::AtomicWord kLazyInstanceStateCreating = 1;
25 BASE_EXPORT bool NeedsLazyInstance(subtle::AtomicWord* state);
30 BASE_EXPORT void CompleteLazyInstance(subtle::AtomicWord* state,
31 subtle::AtomicWord new_instance,
58 Type* GetOrCreateLazyPointer(subtle::AtomicWord* state, in GetOrCreateLazyPointer()
68 constexpr subtle::AtomicWord kLazyInstanceCreatedMask = in GetOrCreateLazyPointer()
77 subtle::AtomicWord instance = subtle::Acquire_Load(state); in GetOrCreateLazyPointer()
83 reinterpret_cast<subtle::AtomicWord>((*creator_func)(creator_arg)); in GetOrCreateLazyPointer()
Dlazy_instance_helpers.cc14 bool NeedsLazyInstance(subtle::AtomicWord* state) { in NeedsLazyInstance()
49 void CompleteLazyInstance(subtle::AtomicWord* state, in CompleteLazyInstance()
50 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/libchrome/base/sampling_heap_profiler/
Dlock_free_address_hash_set.cc20 for (subtle::AtomicWord bucket : buckets_) { in ~LockFreeAddressHashSet()
36 subtle::AtomicWord* bucket_ptr = &buckets_[h & bucket_mask_]; in Insert()
41 &node->key, 0, reinterpret_cast<subtle::AtomicWord>(key)) == 0) { in Insert()
49 subtle::AtomicWord current_head = subtle::NoBarrier_Load(bucket_ptr); in Insert()
50 subtle::AtomicWord expected_head; in Insert()
56 reinterpret_cast<subtle::AtomicWord>(new_node)); in Insert()
62 for (subtle::AtomicWord bucket : other.buckets_) { in Copy()
65 subtle::AtomicWord k = subtle::NoBarrier_Load(&node->key); in Copy()
Dlock_free_address_hash_set.h87 subtle::AtomicWord key;
88 subtle::AtomicWord next;
98 std::vector<subtle::AtomicWord> buckets_;
100 subtle::AtomicWord size_ = 0;
104 subtle::NoBarrier_Store(&key, reinterpret_cast<subtle::AtomicWord>(a_key)); in Node()
Dsampling_heap_profiler.cc33 using base::subtle::AtomicWord;
50 AtomicWord g_sampled_addresses_set;
53 AtomicWord g_sampling_interval = kDefaultSamplingIntervalBytes;
186 reinterpret_cast<AtomicWord>(sampled_addresses.get())); in SamplingHeapProfiler()
253 AtomicWord count = base::subtle::Barrier_AtomicIncrement(&g_running, -1); in Stop()
260 static_cast<AtomicWord>(sampling_interval)); in SetSamplingInterval()
418 reinterpret_cast<AtomicWord>(new_set.get())); in BalanceAddressesHashSet()
/external/libchrome/base/android/
Djni_android.cc146 base::subtle::AtomicWord* atomic_class_id) { in LazyGetClass()
147 static_assert(sizeof(subtle::AtomicWord) >= sizeof(jclass), in LazyGetClass()
149 subtle::AtomicWord value = base::subtle::Acquire_Load(atomic_class_id); in LazyGetClass()
154 subtle::AtomicWord null_aw = reinterpret_cast<subtle::AtomicWord>(NULL); in LazyGetClass()
155 subtle::AtomicWord cas_result = base::subtle::Release_CompareAndSwap( in LazyGetClass()
158 reinterpret_cast<subtle::AtomicWord>(clazz.obj())); in LazyGetClass()
192 base::subtle::AtomicWord* atomic_method_id) { in LazyGet()
193 static_assert(sizeof(subtle::AtomicWord) >= sizeof(jmethodID), in LazyGet()
195 subtle::AtomicWord value = base::subtle::Acquire_Load(atomic_method_id); in LazyGet()
200 atomic_method_id, reinterpret_cast<subtle::AtomicWord>(id)); in LazyGet()
[all …]
Djni_android.h109 base::subtle::AtomicWord* atomic_class_id);
135 base::subtle::AtomicWord* atomic_method_id);
/external/libchrome/base/android/jni_generator/
DtestCalledByNatives.golden27 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_clazz = 0;
36 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_00024InfoBar_clazz = 0;
51 static base::subtle::AtomicWord g_org_chromium_TestJni_showConfirmInfoBar = 0;
75 static base::subtle::AtomicWord g_org_chromium_TestJni_showAutoLoginInfoBar = 0;
97 static base::subtle::AtomicWord g_org_chromium_TestJni_00024InfoBar_dismiss = 0;
113 static base::subtle::AtomicWord g_org_chromium_TestJni_shouldShowAutoLogin = 0;
135 static base::subtle::AtomicWord g_org_chromium_TestJni_openUrl = 0;
154 static base::subtle::AtomicWord g_org_chromium_TestJni_activateHardwareAcceleration = 0;
176 static base::subtle::AtomicWord g_org_chromium_TestJni_updateStatus = 0;
194 static base::subtle::AtomicWord g_org_chromium_TestJni_uncheckedCall = 0;
[all …]
DtestConstantsFromJavaP.golden24 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_android_view_MotionEvent_clazz = 0;
127 static base::subtle::AtomicWord g_android_view_MotionEvent_finalize = 0;
145 static base::subtle::AtomicWord
194 static base::subtle::AtomicWord
241 static base::subtle::AtomicWord g_android_view_MotionEvent_obtainAVME_J_J_I_F_F_F_F_I_F_F_I_I = 0;
285 static base::subtle::AtomicWord g_android_view_MotionEvent_obtainAVME_J_J_I_I_F_F_F_F_I_F_F_I_I = 0;
331 static base::subtle::AtomicWord g_android_view_MotionEvent_obtainAVME_J_J_I_F_F_I = 0;
362 static base::subtle::AtomicWord g_android_view_MotionEvent_obtainAVME_AVME = 0;
383 static base::subtle::AtomicWord g_android_view_MotionEvent_obtainNoHistory = 0;
404 static base::subtle::AtomicWord g_android_view_MotionEvent_recycle = 0;
[all …]
DSampleForTests_jni.golden41 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord
53 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord
65 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord
76 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord
225 static base::subtle::AtomicWord g_org_chromium_example_jni_1generator_SampleForTests_javaMethod = 0;
245 static base::subtle::AtomicWord
264 static base::subtle::AtomicWord
282 static base::subtle::AtomicWord
301 static base::subtle::AtomicWord g_org_chromium_example_jni_1generator_SampleForTests_Constructor =
322 static base::subtle::AtomicWord
[all …]
DtestFromJavaP.golden24 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_java_io_InputStream_clazz = 0;
41 static base::subtle::AtomicWord g_java_io_InputStream_available = 0;
61 static base::subtle::AtomicWord g_java_io_InputStream_close = 0;
79 static base::subtle::AtomicWord g_java_io_InputStream_mark = 0;
98 static base::subtle::AtomicWord g_java_io_InputStream_markSupported = 0;
119 static base::subtle::AtomicWord g_java_io_InputStream_readI = 0;
139 static base::subtle::AtomicWord g_java_io_InputStream_readI_AB = 0;
160 static base::subtle::AtomicWord g_java_io_InputStream_readI_AB_I_I = 0;
185 static base::subtle::AtomicWord g_java_io_InputStream_reset = 0;
203 static base::subtle::AtomicWord g_java_io_InputStream_skip = 0;
[all …]
DtestNativeExportsOnlyOption.golden36 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord
48 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord
60 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord
117 static base::subtle::AtomicWord
135 static base::subtle::AtomicWord
156 static base::subtle::AtomicWord
175 static base::subtle::AtomicWord
194 static base::subtle::AtomicWord
DtestFromJavaPGenerics.golden24 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_java_util_HashSet_clazz = 0;
40 static base::subtle::AtomicWord g_java_util_HashSet_dummy = 0;
58 static base::subtle::AtomicWord g_java_util_HashSet_getClass = 0;
DtestInnerClassNativesMultiple.golden32 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_00024MyOtherInnerClass_clazz
42 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_clazz = 0;
51 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_00024MyInnerClass_clazz = 0;
DtestTracing.golden24 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_foo_Foo_clazz = 0;
61 static base::subtle::AtomicWord g_org_chromium_foo_Foo_Constructor = 0;
79 static base::subtle::AtomicWord g_org_chromium_foo_Foo_callbackFromNative = 0;
DtestInnerClassNatives.golden28 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_clazz = 0;
37 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_00024MyInnerClass_clazz = 0;
DtestInnerClassNativesBothInnerAndOuter.golden28 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_00024MyOtherInnerClass_clazz
38 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_TestJni_clazz = 0;
DtestSingleJNIAdditionalImport.golden24 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_foo_Foo_clazz = 0;
50 static base::subtle::AtomicWord g_org_chromium_foo_Foo_calledByNative = 0;
DtestInnerClassNativesBothInnerAndOuterRegistrations.golden24 extern base::subtle::AtomicWord g_org_chromium_TestJni_00024MyOtherInnerClass_clazz;
32 extern base::subtle::AtomicWord g_org_chromium_TestJni_clazz;
DtestMultipleJNIAdditionalImport.golden24 JNI_REGISTRATION_EXPORT base::subtle::AtomicWord g_org_chromium_foo_Foo_clazz = 0;
53 static base::subtle::AtomicWord g_org_chromium_foo_Foo_calledByNative = 0;
/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>(
73 *static_cast<const volatile subtle::AtomicWord*>(&g_chain_head) in GetChainHead()
108 subtle::AtomicWord old_value = in InsertAllocatorDispatch()
109 reinterpret_cast<subtle::AtomicWord>(chain_head); in InsertAllocatorDispatch()
114 reinterpret_cast<subtle::AtomicWord>(dispatch)) == old_value) { in InsertAllocatorDispatch()
126 reinterpret_cast<subtle::AtomicWord>(dispatch->next)); in RemoveAllocatorDispatchForTesting()
/external/libchrome/base/memory/
Dsingleton.h254 static subtle::AtomicWord instance_;
258 subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::instance_ = 0;

12