Home
last modified time | relevance | path

Searched defs:DstLayout (Results 1 – 5 of 5) sorted by relevance

/external/rust/android-crates-io/crates/zerocopy/src/
Dlayout.rs30 pub struct DstLayout { struct
31 pub(crate) align: NonZeroUsize,
32 pub(crate) size_info: SizeInfo,
95 impl DstLayout { impl
147 pub const fn new_zst(repr_align: Option<NonZeroUsize>) -> DstLayout { in new_zst()
166 pub const fn for_type<T>() -> DstLayout { in for_type()
184 pub(crate) const fn for_slice<T>() -> DstLayout { in for_slice()
233 pub const fn extend(self, field: DstLayout, repr_packed: Option<NonZeroUsize>) -> Self { in extend()
818 fn layout<S: Into<SizeInfo>>(s: S, align: usize) -> DstLayout { in test_validate_cast_and_convert_metadata()
996 (layout, addr, bytes_len, cast_type): (DstLayout, usize, usize, CastType), in test_validate_cast_and_convert_metadata()
Dlib.rs6624 impl kani::Arbitrary for DstLayout { implementation
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/zerocopy-0.7.35/src/
Dlib.rs374 pub struct DstLayout { struct
375 align: NonZeroUsize,
376 size_info: SizeInfo,
431 impl DstLayout { implementation
474 pub const fn new_zst(repr_align: Option<NonZeroUsize>) -> DstLayout { in new_zst()
492 pub const fn for_type<T>() -> DstLayout { in for_type()
510 const fn for_slice<T>() -> DstLayout { in for_slice()
558 pub const fn extend(self, field: DstLayout, repr_packed: Option<NonZeroUsize>) -> Self { in extend()
5736 fn layout<S: Into<SizeInfo>>(s: S, align: usize) -> DstLayout { in testvalidate_cast_and_convert_metadata()
5896 (layout, addr, bytes_len, cast_type): (DstLayout, usize, usize, _CastType), in testvalidate_cast_and_convert_metadata()
[all …]
/external/rust/android-crates-io/extra_versions/crates/zerocopy/src/
Dlib.rs374 pub struct DstLayout { struct
375 align: NonZeroUsize,
376 size_info: SizeInfo,
431 impl DstLayout { implementation
474 pub const fn new_zst(repr_align: Option<NonZeroUsize>) -> DstLayout { in new_zst()
492 pub const fn for_type<T>() -> DstLayout { in for_type()
510 const fn for_slice<T>() -> DstLayout { in for_slice()
558 pub const fn extend(self, field: DstLayout, repr_packed: Option<NonZeroUsize>) -> Self { in extend()
5736 fn layout<S: Into<SizeInfo>>(s: S, align: usize) -> DstLayout { in testvalidate_cast_and_convert_metadata()
5896 (layout, addr, bytes_len, cast_type): (DstLayout, usize, usize, _CastType), in testvalidate_cast_and_convert_metadata()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/zerocopy-0.7.35/src/
Dlib.rs374 pub struct DstLayout { struct
375 align: NonZeroUsize,
376 size_info: SizeInfo,
431 impl DstLayout { impl
474 pub const fn new_zst(repr_align: Option<NonZeroUsize>) -> DstLayout { in new_zst()
492 pub const fn for_type<T>() -> DstLayout { in for_type()
510 const fn for_slice<T>() -> DstLayout { in for_slice()
558 pub const fn extend(self, field: DstLayout, repr_packed: Option<NonZeroUsize>) -> Self { in extend()
5736 fn layout<S: Into<SizeInfo>>(s: S, align: usize) -> DstLayout { in testvalidate_cast_and_convert_metadata()
5896 (layout, addr, bytes_len, cast_type): (DstLayout, usize, usize, _CastType), in testvalidate_cast_and_convert_metadata()
[all …]