Lines Matching refs:core
66 pub fn load(&self, order: ::core::sync::atomic::Ordering) -> $new_type_name {
70 pub fn store(&self, val: $new_type_name, order: ::core::sync::atomic::Ordering) {
77 order: ::core::sync::atomic::Ordering,
86 success: ::core::sync::atomic::Ordering,
87 failure: ::core::sync::atomic::Ordering,
88 ) -> ::core::result::Result<$new_type_name, $new_type_name> {
102 success: ::core::sync::atomic::Ordering,
103 failure: ::core::sync::atomic::Ordering,
104 ) -> ::core::result::Result<$new_type_name, $new_type_name> {
121 use ::core::sync::atomic::AtomicUsize; in test()
122 use core::mem::size_of; in test()