Home
last modified time | relevance | path

Searched refs:__ATOMIC_SEQ_CST (Results 1 – 25 of 27) sorted by relevance

12

/third_party/glib/glib/
Dgatomic.h99 #if defined(__ATOMIC_SEQ_CST) && !defined(__clang__)
106 __atomic_load ((gint *)(atomic), &gaig_temp, __ATOMIC_SEQ_CST); \
114 __atomic_store ((gint *)(atomic), &gais_temp, __ATOMIC_SEQ_CST); \
123 __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
132 __atomic_store (gaps_temp_atomic, &gaps_temp_newval, __ATOMIC_SEQ_CST); \
140 __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
149 __atomic_store (gaps_temp_atomic, &gaps_temp_newval, __ATOMIC_SEQ_CST); \
157 (void) __atomic_fetch_add ((atomic), 1, __ATOMIC_SEQ_CST); \
163 __atomic_fetch_sub ((atomic), 1, __ATOMIC_SEQ_CST) == 1; \
170 …are_exchange_n ((atomic), &gaicae_oldval, (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? T…
[all …]
Dgthread.c644 …ned(G_ATOMIC_LOCK_FREE) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && defined(__ATOMIC_SEQ_CST) in g_once_impl()
Dgthread.h246 …ned(G_ATOMIC_LOCK_FREE) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && defined(__ATOMIC_SEQ_CST)
Dgthread-posix.c82 (defined(HAVE_STDATOMIC_H) || defined(__ATOMIC_SEQ_CST)) && !defined(__clang__)
/third_party/node/deps/histogram/src/
Dhdr_atomic.h82 #elif defined(__ATOMIC_SEQ_CST)
84 #define hdr_atomic_load_pointer(x) __atomic_load_n(x, __ATOMIC_SEQ_CST)
85 #define hdr_atomic_store_pointer(f,v) __atomic_store_n(f,v, __ATOMIC_SEQ_CST)
86 #define hdr_atomic_load_64(x) __atomic_load_n(x, __ATOMIC_SEQ_CST)
87 #define hdr_atomic_store_64(f,v) __atomic_store_n(f,v, __ATOMIC_SEQ_CST)
88 #define hdr_atomic_exchange_64(f,i) __atomic_exchange_n(f,i, __ATOMIC_SEQ_CST)
89 #define hdr_atomic_add_fetch_64(field, value) __atomic_add_fetch(field, value, __ATOMIC_SEQ_CST)
90 …d) __atomic_compare_exchange_n(field, expected, desired, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
/third_party/ltp/include/
Dtst_atomic.h57 return __atomic_add_fetch(v, i, __ATOMIC_SEQ_CST); in tst_atomic_add_return()
62 return __atomic_load_n(v, __ATOMIC_SEQ_CST); in tst_atomic_load()
67 __atomic_store_n(v, i, __ATOMIC_SEQ_CST); in tst_atomic_store()
/third_party/python/Include/internal/
Dpycore_atomic_funcs.h32 return __atomic_load_n(var, __ATOMIC_SEQ_CST); in _Py_atomic_size_get()
37 __atomic_store_n(var, value, __ATOMIC_SEQ_CST); in _Py_atomic_size_set()
Dpycore_atomic.h73 _Py_memory_order_seq_cst = __ATOMIC_SEQ_CST
92 || (ORDER) == __ATOMIC_SEQ_CST \
98 || (ORDER) == __ATOMIC_SEQ_CST \
/third_party/boost/boost/atomic/detail/
Dops_msvc_common.hpp30 #define BOOST_ATOMIC_DETAIL_COMPILER_BARRIER() __atomic_signal_fence(__ATOMIC_SEQ_CST)
Dgcc_atomic_memory_order_utils.hpp57 (order == memory_order_acq_rel ? __ATOMIC_ACQ_REL : __ATOMIC_SEQ_CST))))); in convert_memory_order_to_gcc()
Dcore_ops_gcc_atomic.hpp74 __atomic_exchange_n(&storage, v, __ATOMIC_SEQ_CST); in store()
Dops_gcc_atomic.hpp81 (order == memory_order_acq_rel ? __ATOMIC_ACQ_REL : __ATOMIC_SEQ_CST))))); in convert_memory_order_to_gcc()
/third_party/pulseaudio/src/pulsecore/
Datomic.h58 return __atomic_load_n(&a->value, __ATOMIC_SEQ_CST); in pa_atomic_load()
62 __atomic_store_n(&a->value, i, __ATOMIC_SEQ_CST); in pa_atomic_store()
116 return (void*) __atomic_load_n(&a->value, __ATOMIC_SEQ_CST); in pa_atomic_ptr_load()
120 __atomic_store_n(&a->value, (unsigned long) p, __ATOMIC_SEQ_CST); in pa_atomic_ptr_store()
/third_party/ltp/m4/
Dltp-atomic.m410 __atomic_load_n(&i, __ATOMIC_SEQ_CST);
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dumutex.h154 return __c11_atomic_fetch_add(var, 1, __ATOMIC_SEQ_CST) + 1;
158 return __c11_atomic_fetch_sub(var, 1, __ATOMIC_SEQ_CST) - 1;
/third_party/grpc/include/grpc/impl/codegen/
Datm_gcc_atomic.h48 #define gpr_atm_full_barrier() (__atomic_thread_fence(__ATOMIC_SEQ_CST))
/third_party/boost/boost/log/detail/
Dadaptive_mutex.hpp49 # define BOOST_LOG_COMPILER_BARRIER __atomic_signal_fence(__ATOMIC_SEQ_CST)
/third_party/boost/boost/thread/win32/
Dinterlocked_read.hpp23 #define BOOST_THREAD_DETAIL_COMPILER_BARRIER() __atomic_signal_fence(__ATOMIC_SEQ_CST)
/third_party/boost/boost/config/compiler/
Dcray.hpp251 #define __ATOMIC_SEQ_CST 5 macro
/third_party/ffmpeg/compat/cuda/
Dcuda_runtime.h37 #define atomicAdd(a, b) (__atomic_fetch_add(a, b, __ATOMIC_SEQ_CST))
/third_party/alsa-lib/src/pcm/
Dpcm_meter.c37 #define atomic_read(ptr) __atomic_load_n(ptr, __ATOMIC_SEQ_CST )
38 #define atomic_add(ptr, n) __atomic_add_fetch(ptr, n, __ATOMIC_SEQ_CST)
39 #define atomic_dec(ptr) __atomic_sub_fetch(ptr, 1, __ATOMIC_SEQ_CST)
/third_party/alsa-lib/
Dconfigure.ac512 __atomic_load_n(&i, __ATOMIC_SEQ_CST);
513 __atomic_add_fetch(&i, 0, __ATOMIC_SEQ_CST);
/third_party/pulseaudio/
Dmeson.build431 __atomic_store_n(&c, 4, __ATOMIC_SEQ_CST);
Dconfigure.ac249 [AC_LANG_PROGRAM([], [[int c = 0; __atomic_store_n(&c, 4, __ATOMIC_SEQ_CST);]])],
/third_party/python/
Dconfigure.ac5696 __atomic_store_n(&val, 1, __ATOMIC_SEQ_CST);
5697 (void)__atomic_load_n(&val, __ATOMIC_SEQ_CST);

12