Home
last modified time | relevance | path

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

/third_party/grpc/include/grpc/impl/codegen/
Datm_gcc_atomic.h38 __atomic_fetch_add(&counter, 1, __ATOMIC_RELAXED)
51 #define gpr_atm_no_barrier_load(p) (__atomic_load_n((p), __ATOMIC_RELAXED))
55 (__atomic_store_n((p), (intptr_t)(value), __ATOMIC_RELAXED))
59 __atomic_fetch_add((p), (intptr_t)(delta), __ATOMIC_RELAXED))
66 p, &o, n, 0, __ATOMIC_RELAXED, __ATOMIC_RELAXED)); in gpr_atm_no_barrier_cas()
71 p, &o, n, 0, __ATOMIC_ACQUIRE, __ATOMIC_RELAXED)); in gpr_atm_acq_cas()
76 p, &o, n, 0, __ATOMIC_RELEASE, __ATOMIC_RELAXED)); in gpr_atm_rel_cas()
81 p, &o, n, 0, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED)); in gpr_atm_full_cas()
Dport_platform.h472 #if defined(GPR_GCC_ATOMIC) && !defined(__ATOMIC_RELAXED)
/third_party/boost/boost/smart_ptr/detail/
Dsp_counted_base_gcc_atomic.hpp35 __atomic_fetch_add( pw, 1, __ATOMIC_RELAXED ); in atomic_increment()
49 boost::uint_least32_t r = __atomic_load_n( pw, __ATOMIC_RELAXED ); in atomic_conditional_increment()
58 if( __atomic_compare_exchange_n( pw, &r, r + 1, true, __ATOMIC_RELAXED, __ATOMIC_RELAXED ) ) in atomic_conditional_increment()
Dsp_counted_base_clang.hpp33 __c11_atomic_fetch_add( pw, 1, __ATOMIC_RELAXED ); in atomic_increment()
47 boost::int_least32_t r = __c11_atomic_load( pw, __ATOMIC_RELAXED ); in atomic_conditional_increment()
56 … if( __c11_atomic_compare_exchange_weak( pw, &r, r + 1, __ATOMIC_RELAXED, __ATOMIC_RELAXED ) ) in atomic_conditional_increment()
Dsp_has_gcc_intrinsics.hpp21 #if defined( __ATOMIC_RELAXED ) && defined( __ATOMIC_ACQUIRE ) && defined( __ATOMIC_RELEASE ) && de…
/third_party/openssl/include/internal/
Dtsan_assist.h65 #elif defined(__GNUC__) && defined(__ATOMIC_RELAXED)
70 # define tsan_load(ptr) __atomic_load_n((ptr), __ATOMIC_RELAXED)
71 # define tsan_store(ptr, val) __atomic_store_n((ptr), (val), __ATOMIC_RELAXED)
72 # define tsan_counter(ptr) __atomic_fetch_add((ptr), 1, __ATOMIC_RELAXED)
73 # define tsan_decr(ptr) __atomic_fetch_add((ptr), -1, __ATOMIC_RELAXED)
Drefcount.h56 # elif defined(__GNUC__) && defined(__ATOMIC_RELAXED) && __GCC_ATOMIC_INT_LOCK_FREE > 0
64 *ret = __atomic_fetch_add(val, 1, __ATOMIC_RELAXED) + 1; in CRYPTO_UP_REF()
70 *ret = __atomic_fetch_sub(val, 1, __ATOMIC_RELAXED) - 1; in CRYPTO_DOWN_REF()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-atomic.hh60 #define hb_atomic_int_impl_set_relaxed(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELAXED)
62 #define hb_atomic_int_impl_get_relaxed(AI) __atomic_load_n ((AI), __ATOMIC_RELAXED)
65 #define hb_atomic_ptr_impl_set_relaxed(P, V) __atomic_store_n ((P), (V), __ATOMIC_RELAXED)
66 #define hb_atomic_ptr_impl_get_relaxed(P) __atomic_load_n ((P), __ATOMIC_RELAXED)
72 …mpare_exchange_n ((void **) P, (void **) &O, (void *) N, true, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED); in _hb_atomic_ptr_impl_cmplexch()
/third_party/harfbuzz/src/
Dhb-atomic.hh60 #define hb_atomic_int_impl_set_relaxed(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELAXED)
62 #define hb_atomic_int_impl_get_relaxed(AI) __atomic_load_n ((AI), __ATOMIC_RELAXED)
65 #define hb_atomic_ptr_impl_set_relaxed(P, V) __atomic_store_n ((P), (V), __ATOMIC_RELAXED)
66 #define hb_atomic_ptr_impl_get_relaxed(P) __atomic_load_n ((P), __ATOMIC_RELAXED)
72 …mpare_exchange_n ((void **) P, (void **) &O, (void *) N, true, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED); in _hb_atomic_ptr_impl_cmplexch()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-atomic.hh60 #define hb_atomic_int_impl_set_relaxed(AI, V) __atomic_store_n ((AI), (V), __ATOMIC_RELAXED)
62 #define hb_atomic_int_impl_get_relaxed(AI) __atomic_load_n ((AI), __ATOMIC_RELAXED)
65 #define hb_atomic_ptr_impl_set_relaxed(P, V) __atomic_store_n ((P), (V), __ATOMIC_RELAXED)
66 #define hb_atomic_ptr_impl_get_relaxed(P) __atomic_load_n ((P), __ATOMIC_RELAXED)
72 …mpare_exchange_n ((void **) P, (void **) &O, (void *) N, true, __ATOMIC_ACQ_REL, __ATOMIC_RELAXED); in _hb_atomic_ptr_impl_cmplexch()
/third_party/grpc/test/core/util/
Dmemory_counters.cc41 __atomic_fetch_add((x), (sz), __ATOMIC_RELAXED)
42 #define NO_BARRIER_LOAD(x) __atomic_load_n((x), __ATOMIC_RELAXED)
/third_party/boost/boost/config/compiler/
Dcray.hpp245 #ifndef __ATOMIC_RELAXED
246 #define __ATOMIC_RELAXED 0 macro
/third_party/boost/boost/atomic/detail/
Dgcc_atomic_memory_order_utils.hpp55 …return (order == memory_order_relaxed ? __ATOMIC_RELAXED : (order == memory_order_consume ? __ATOM… in convert_memory_order_to_gcc()
Dops_gcc_atomic.hpp79 …return (order == memory_order_relaxed ? __ATOMIC_RELAXED : (order == memory_order_consume ? __ATOM… in convert_memory_order_to_gcc()
/third_party/selinux/libselinux/src/
Dlabel_file.h360 #ifdef __ATOMIC_RELAXED in compile_regex()
375 #ifdef __ATOMIC_RELAXED in compile_regex()
421 #ifdef __ATOMIC_RELAXED in compile_regex()
/third_party/python/Include/internal/
Dpycore_atomic.h69 _Py_memory_order_relaxed = __ATOMIC_RELAXED,
91 (assert((ORDER) == __ATOMIC_RELAXED \
97 (assert((ORDER) == __ATOMIC_RELAXED \
/third_party/ltp/m4/
Dltp-atomic.m411 __atomic_store_n(&i, 0, __ATOMIC_RELAXED);
/third_party/libuv/src/
Duv-common.h64 #define uv__load_relaxed(p) __atomic_load_n(p, __ATOMIC_RELAXED)
65 #define uv__store_relaxed(p, v) __atomic_store_n(p, v, __ATOMIC_RELAXED)
/third_party/grpc/src/core/lib/gpr/
Dtime_posix.cc151 __atomic_fetch_add(&gpr_now_call_count, 1, __ATOMIC_RELAXED); in gpr_now()
/third_party/glib/glib/
Dgthread-posix.c1428 __ATOMIC_ACQUIRE, __ATOMIC_RELAXED)
1440 __atomic_compare_exchange_4((ptr), (old), (new), 0, __ATOMIC_ACQUIRE, __ATOMIC_RELAXED)
/third_party/mesa3d/src/util/
Du_atomic.h45 #define p_atomic_read_relaxed(_v) __atomic_load_n((_v), __ATOMIC_RELAXED)
/third_party/sqlite/src/
Dsqlite3.c13112 # define AtomicLoad(PTR) __atomic_load_n((PTR),__ATOMIC_RELAXED)
13113 # define AtomicStore(PTR,VAL) __atomic_store_n((PTR),(VAL),__ATOMIC_RELAXED)