Lines Matching refs:__order
623 static inline _LIBCPP_CONSTEXPR int __to_gcc_order(memory_order __order) {
625 return __order == memory_order_relaxed ? __ATOMIC_RELAXED:
626 (__order == memory_order_acquire ? __ATOMIC_ACQUIRE:
627 (__order == memory_order_release ? __ATOMIC_RELEASE:
628 (__order == memory_order_seq_cst ? __ATOMIC_SEQ_CST:
629 (__order == memory_order_acq_rel ? __ATOMIC_ACQ_REL:
633 static inline _LIBCPP_CONSTEXPR int __to_gcc_failure_order(memory_order __order) {
635 return __order == memory_order_relaxed ? __ATOMIC_RELAXED:
636 (__order == memory_order_acquire ? __ATOMIC_ACQUIRE:
637 (__order == memory_order_release ? __ATOMIC_RELAXED:
638 (__order == memory_order_seq_cst ? __ATOMIC_SEQ_CST:
639 (__order == memory_order_acq_rel ? __ATOMIC_ACQUIRE:
675 static inline void __c11_atomic_thread_fence(memory_order __order) {
676 __atomic_thread_fence(__gcc_atomic::__to_gcc_order(__order));
679 static inline void __c11_atomic_signal_fence(memory_order __order) {
680 __atomic_signal_fence(__gcc_atomic::__to_gcc_order(__order));
685 memory_order __order) {
687 __gcc_atomic::__to_gcc_order(__order));
692 memory_order __order) {
694 __gcc_atomic::__to_gcc_order(__order));
699 memory_order __order) {
702 __gcc_atomic::__to_gcc_order(__order));
707 static inline _Tp __c11_atomic_load(const _Atomic(_Tp)* __a, memory_order __order) {
710 __gcc_atomic::__to_gcc_order(__order));
716 _Tp __value, memory_order __order) {
719 __gcc_atomic::__to_gcc_order(__order));
725 memory_order __order) {
728 __gcc_atomic::__to_gcc_order(__order));
787 _Td __delta, memory_order __order) {
789 __gcc_atomic::__to_gcc_order(__order));
794 memory_order __order) {
796 __gcc_atomic::__to_gcc_order(__order));
801 _Td __delta, memory_order __order) {
803 __gcc_atomic::__to_gcc_order(__order));
808 memory_order __order) {
810 __gcc_atomic::__to_gcc_order(__order));
815 _Tp __pattern, memory_order __order) {
817 __gcc_atomic::__to_gcc_order(__order));
822 _Tp __pattern, memory_order __order) {
824 __gcc_atomic::__to_gcc_order(__order));
829 _Tp __pattern, memory_order __order) {
831 __gcc_atomic::__to_gcc_order(__order));
836 memory_order __order) {
838 __gcc_atomic::__to_gcc_order(__order));
843 _Tp __pattern, memory_order __order) {
845 __gcc_atomic::__to_gcc_order(__order));
850 memory_order __order) {
852 __gcc_atomic::__to_gcc_order(__order));