• Home
  • Raw
  • Download

Lines Matching refs:ORDER

46 #define _Py_atomic_signal_fence(/*memory_order*/ ORDER) \  argument
47 atomic_signal_fence(ORDER)
49 #define _Py_atomic_thread_fence(/*memory_order*/ ORDER) \ argument
50 atomic_thread_fence(ORDER)
52 #define _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
53 atomic_store_explicit(&(ATOMIC_VAL)->_value, NEW_VAL, ORDER)
55 #define _Py_atomic_load_explicit(ATOMIC_VAL, ORDER) \ argument
56 atomic_load_explicit(&(ATOMIC_VAL)->_value, ORDER)
77 #define _Py_atomic_signal_fence(/*memory_order*/ ORDER) \ argument
78 __atomic_signal_fence(ORDER)
80 #define _Py_atomic_thread_fence(/*memory_order*/ ORDER) \ argument
81 __atomic_thread_fence(ORDER)
83 #define _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
84 (assert((ORDER) == __ATOMIC_RELAXED \
85 || (ORDER) == __ATOMIC_SEQ_CST \
86 || (ORDER) == __ATOMIC_RELEASE), \
87 __atomic_store_n(&(ATOMIC_VAL)->_value, NEW_VAL, ORDER))
89 #define _Py_atomic_load_explicit(ATOMIC_VAL, ORDER) \ argument
90 (assert((ORDER) == __ATOMIC_RELAXED \
91 || (ORDER) == __ATOMIC_SEQ_CST \
92 || (ORDER) == __ATOMIC_ACQUIRE \
93 || (ORDER) == __ATOMIC_CONSUME), \
94 __atomic_load_n(&(ATOMIC_VAL)->_value, ORDER))
157 #define _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
162 _Py_memory_order order = ORDER; \
187 #define _Py_atomic_load_explicit(ATOMIC_VAL, ORDER) \ argument
192 _Py_memory_order order = ORDER; \
253 #define _Py_atomic_store_64bit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
254 switch (ORDER) { \
266 #define _Py_atomic_store_64bit(ATOMIC_VAL, NEW_VAL, ORDER) ((void)0); argument
269 #define _Py_atomic_store_32bit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
270 switch (ORDER) { \
319 #define _Py_atomic_load_64bit(ATOMIC_VAL, ORDER) *ATOMIC_VAL argument
353 #define _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
355 _Py_atomic_store_64bit((volatile long long*)ATOMIC_VAL._value, NEW_VAL, ORDER) } else { \
356 _Py_atomic_store_32bit((volatile long*)ATOMIC_VAL._value, NEW_VAL, ORDER) }
358 #define _Py_atomic_load_explicit(ATOMIC_VAL, ORDER) \ argument
361 _Py_atomic_load_64bit((volatile long long*)ATOMIC_VAL._value, ORDER) : \
362 _Py_atomic_load_32bit((volatile long*)ATOMIC_VAL._value, ORDER) \
383 #define _Py_atomic_store_64bit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
384 switch (ORDER) { \
396 #define _Py_atomic_store_64bit(ATOMIC_VAL, NEW_VAL, ORDER) ((void)0); argument
399 #define _Py_atomic_store_32bit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
400 switch (ORDER) { \
449 #define _Py_atomic_load_64bit(ATOMIC_VAL, ORDER) *ATOMIC_VAL argument
483 #define _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
485 _Py_atomic_store_64bit(ATOMIC_VAL._value, NEW_VAL, ORDER) } else { \
486 _Py_atomic_store_32bit(ATOMIC_VAL._value, NEW_VAL, ORDER) }
488 #define _Py_atomic_load_explicit(ATOMIC_VAL, ORDER) \ argument
491 _Py_atomic_load_64bit(ATOMIC_VAL._value, ORDER) : \
492 _Py_atomic_load_32bit(ATOMIC_VAL._value, ORDER) \
514 #define _Py_atomic_signal_fence(/*memory_order*/ ORDER) ((void)0) argument
515 #define _Py_atomic_thread_fence(/*memory_order*/ ORDER) ((void)0) argument
516 #define _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, ORDER) \ argument
518 #define _Py_atomic_load_explicit(ATOMIC_VAL, ORDER) \ argument