| /linux/rust/zerocopy/src/ |
| H A D | impls.rs | 32 unsafe_impl!((): Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned); 68 unsafe_impl!(u8: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned); 69 unsafe_impl!(i8: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned); 71 unsafe_impl!(u16: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); 72 unsafe_impl!(i16: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); 73 unsafe_impl!(u32: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); 74 unsafe_impl!(i32: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); 75 unsafe_impl!(u64: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); 76 unsafe_impl!(i64: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); 77 unsafe_impl!(u128: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); [all …]
|
| H A D | deprecated.rs | 20 T: KnownLayout + Immutable + ?Sized, 34 T: KnownLayout + Immutable + ?Sized, 48 T: KnownLayout + Immutable + ?Sized, 62 T: Unaligned + KnownLayout + Immutable + ?Sized, 79 T: Unaligned + KnownLayout + Immutable + ?Sized, 96 T: Unaligned + KnownLayout + Immutable + ?Sized, 113 T: Immutable, 126 T: Unaligned + Immutable, 142 T: FromBytes + Immutable, 155 T: FromBytes + IntoBytes + Immutable, [all …]
|
| H A D | split_at.rs | 371 T: Immutable, in via_immutable() argument 843 T: Immutable, in via_immutable() argument 958 use crate::{FromBytes, Immutable, IntoBytes, KnownLayout, SplitAt}; in test_split_at() 960 #[derive(FromBytes, KnownLayout, SplitAt, IntoBytes, Immutable, Debug)] in test_split_at() 1005 use crate::{FromBytes, Immutable, IntoBytes, KnownLayout, SplitAt}; in test_split_at_overlapping() 1007 #[derive(FromBytes, KnownLayout, SplitAt, Immutable)] in test_split_at_overlapping() 1051 use crate::{FromBytes, Immutable, IntoBytes, KnownLayout, SplitAt}; in test_split_at_via_methods() 1052 #[derive(FromBytes, KnownLayout, SplitAt, IntoBytes, Immutable, Debug)] in test_split_at_via_methods() 1074 use crate::{FromBytes, Immutable, IntoBytes, KnownLayout, SplitAt, Unaligned}; in test_split_at_via_unaligned() 1075 #[derive(FromBytes, KnownLayout, SplitAt, IntoBytes, Immutable, Unaligned)] in test_split_at_via_unaligned()
|
| H A D | macros.rs | 359 struct AssertSrcIsImmutable<'a, T: ?::core::marker::Sized + $crate::Immutable>(&'a T); 361 struct AssertDstIsImmutable<'a, T: ?::core::marker::Sized + $crate::Immutable>(&'a T); 1114 unsafe impl $(<$($tyvar),*>)? $crate::Immutable for $name$(<$($tyvar),*>)? 1117 $($tuple_field_ty: $crate::Immutable,)* 1121 $($field_ty: $crate::Immutable,)* 1245 unsafe impl $crate::Immutable for $name 1248 $field_ty: $crate::Immutable, 1264 #[derive(KnownLayout, Immutable, FromBytes, IntoBytes, PartialEq, Debug)] 1325 #[derive(FromBytes, IntoBytes, Immutable, PartialEq, Eq, Debug)] 1371 T: IntoBytes + Immutable, in test_transmute_ref() argument [all …]
|
| H A D | ref.rs | 274 T: KnownLayout + Immutable + ?Sized, 326 T: KnownLayout + Immutable + ?Sized, 456 T: KnownLayout<PointerMetadata = usize> + Immutable + ?Sized, 507 T: KnownLayout<PointerMetadata = usize> + Immutable + ?Sized, 612 T: FromBytes + KnownLayout + Immutable + ?Sized, 801 T: FromBytes + KnownLayout + Immutable + ?Sized, 844 T: FromBytes + IntoBytes + KnownLayout + Immutable + ?Sized, 891 T: FromBytes + Display + KnownLayout + Immutable + ?Sized, 903 T: FromBytes + Debug + KnownLayout + Immutable + ?Sized, 915 T: FromBytes + Eq + KnownLayout + Immutable + ?Sized, [all …]
|
| H A D | wrappers.rs | 116 #[cfg_attr(any(feature = "derive", test), derive(Immutable, FromBytes, IntoBytes, Unaligned))] 151 impl_or_verify!(T: Immutable => Immutable for Unalign<T>); 686 unsafe_impl!(T: ?Sized => Immutable for ReadOnly<T>); 718 impl<'a, T: ?Sized + Immutable> From<&'a T> for &'a ReadOnly<T> { 729 impl<T: ?Sized + Immutable> Deref for ReadOnly<T> { 739 impl<T: ?Sized + Immutable> DerefMut for ReadOnly<T> { 746 impl<T: ?Sized + Immutable + Debug> Debug for ReadOnly<T> {
|
| H A D | lib.rs | 1195 type Tag: Immutable; 1503 pub use zerocopy_derive::Immutable; 1575 pub unsafe trait Immutable { interface 1880 Self: KnownLayout + Immutable, in try_ref_from_bytes() argument 2003 Self: KnownLayout + Immutable, in try_ref_from_prefix() argument 2113 Self: KnownLayout + Immutable, in try_ref_from_suffix() argument 2524 Self: KnownLayout<PointerMetadata = usize> + Immutable, in try_ref_from_bytes_with_elems() 2645 Self: KnownLayout<PointerMetadata = usize> + Immutable, in try_ref_from_prefix_with_elems() 2753 Self: KnownLayout<PointerMetadata = usize> + Immutable, in try_ref_from_suffix_with_elems() 3298 fn try_ref_from_prefix_suffix<T: TryFromBytes + KnownLayout + Immutable + ?Sized>( in try_ref_from_prefix_suffix() [all …]
|
| H A D | byteorder.rs | 525 …#[cfg_attr(any(feature = "derive", test), derive(KnownLayout, Immutable, FromBytes, IntoBytes, Una… 540 impl_or_verify!(O => Immutable for $name<O>); 1057 trait Native: Arbitrary + FromBytes + IntoBytes + Immutable + Copy + PartialEq + Debug { 1102 FromBytes + IntoBytes + Immutable + Copy + AsRef<[u8]> + AsMut<[u8]> + Debug + Default + Eq
|
| /linux/rust/zerocopy-derive/derive/ |
| H A D | mod.rs | 21 ImplBlockBuilder::new(ctx, strct, Trait::Immutable, FieldBounds::ALL_SELF).build() in derive_immutable() 24 ImplBlockBuilder::new(ctx, enm, Trait::Immutable, FieldBounds::ALL_SELF).build() in derive_immutable() 27 ImplBlockBuilder::new(ctx, unn, Trait::Immutable, FieldBounds::ALL_SELF).build() in derive_immutable() 46 Self: #zerocopy_crate::IntoBytes + #zerocopy_crate::Immutable, in derive_hash() 74 Self: #zerocopy_crate::IntoBytes + #zerocopy_crate::Immutable, in derive_eq() 87 Self: #zerocopy_crate::IntoBytes + #zerocopy_crate::Immutable, in derive_eq()
|
| /linux/rust/zerocopy/src/util/ |
| H A D | macro_util.rs | 35 FromBytes, Immutable, IntoBytes, KnownLayout, Ptr, ReadOnly, TryFromBytes, ValidityError, 567 Self::Src: IntoBytes + Immutable + KnownLayout, in try_transmute_ref() 568 Self::Dst: TryFromBytes + Immutable + KnownLayout; in try_transmute_ref() 585 Src: IntoBytes + Immutable + KnownLayout + ?Sized, 586 Dst: TryFromBytes + Immutable + KnownLayout + ?Sized, 756 Src: IntoBytes + Immutable, in try_transmute_ref() argument 757 Dst: TryFromBytes + Immutable, in try_transmute_ref() argument 871 Src: KnownLayout + IntoBytes + Immutable, 872 Dst: KnownLayout<PointerMetadata = usize> + FromBytes + Immutable, 990 Immutable, FromBytes, Eq, PartialEq, Ord, PartialOrd, Default, Debug, Copy, Clone, in test_trailing_field_offset()
|
| H A D | mod.rs | 859 Immutable,
|
| /linux/rust/zerocopy/src/pointer/ |
| H A D | transmute.rs | 24 FromBytes, Immutable, IntoBytes, Unalign, 176 Src: Immutable + ?Sized, 177 Dst: Immutable + ?Sized,
|
| H A D | ptr.rs | 1334 use crate::{pointer::BecauseImmutable, util::testutil::AU64, FromBytes, Immutable}; 1348 T: ?Sized + KnownLayout + Immutable + FromBytes, in test() 1378 T: ?Sized + KnownLayout + FromBytes + Immutable, in test() argument 1457 #[derive(FromBytes, KnownLayout, Immutable)] 1524 #[derive(KnownLayout, Immutable)] in test_try_cast_into_explicit_count() 1537 #[derive(KnownLayout, Immutable)] in test_try_cast_into_explicit_count()
|
| H A D | inner.rs | 651 #[derive(FromBytes, KnownLayout, SplitAt, Immutable)] in test_split_at() 703 #[derive(FromBytes, KnownLayout, SplitAt, Immutable)] in test_trailing_slice()
|
| H A D | invariant.rs | 264 impl<A: Aliasing, T: ?Sized + crate::Immutable> Read<A, BecauseImmutable> for T {}
|
| H A D | mod.rs | 37 T: crate::Immutable + crate::KnownLayout, in is_zeroed()
|
| /linux/rust/zerocopy-derive/ |
| H A D | lib.rs | 122 derive!(Immutable => derive_immutable => crate::derive::derive_immutable); 145 (crate::derive::derive_immutable, Trait::Immutable), in most_traits()
|
| H A D | util.rs | 316 Immutable, enumerator 344 Trait::Immutable => "Immutable", in to_tokens() 365 | Trait::Immutable in to_tokens() 788 unsafe impl #zerocopy_crate::Immutable for ___ZerocopyTag { in generate_tag_enum()
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-bus-firewire | 60 Read-only. Immutable during the unit device's lifetime. 79 Immutable during the unit device's lifetime.
|
| /linux/Documentation/block/ |
| H A D | biovecs.rst | 2 Immutable biovecs and biovec iterators
|