Home
last modified time | relevance | path

Searched refs:ByteSlice (Results 1 – 4 of 4) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/slots/
Dpartition.rs16 use zerocopy::{AsBytes, ByteSlice, FromBytes, FromZeroes, Ref};
49 fn validate<B: ByteSlice>(buffer: B) -> Result<Ref<B, Self>, MetadataParseError>; in validate()
108 pub fn deserialize<B: ByteSlice>( in deserialize()
Dandroid.rs27 use zerocopy::{AsBytes, ByteSlice, FromBytes, FromZeroes, Ref};
240 fn validate<B: ByteSlice>(buffer: B) -> Result<Ref<B, Self>, MetadataParseError> { in validate()
Dfuchsia.rs29 use zerocopy::{AsBytes, ByteSlice, FromBytes, FromZeroes, Ref};
121 fn validate<B: ByteSlice>(buffer: B) -> Result<Ref<B, AbrData>, MetadataParseError> { in validate()
/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs55 use zerocopy::{AsBytes, ByteSlice, ByteSliceMut, Ref};
78 pub fn align_buffer<B: ByteSlice>(buffer: B) -> ZbiResult<B> { in align_buffer()
94 pub struct ZbiItem<B: ByteSlice> {
101 impl<B: ByteSlice, C: ByteSlice> PartialEq<ZbiItem<C>> for ZbiItem<B> {
108 impl<B: ByteSlice + PartialEq> ZbiItem<B> {
260 pub struct ZbiContainer<B: ByteSlice> {
282 impl<B: ByteSlice> ZbiContainer<B> {
308 pub fn iter(&self) -> ZbiContainerIterator<impl ByteSlice + Default + Debug + PartialEq + '_> { in iter()
615 pub fn extend(&mut self, other: &ZbiContainer<impl ByteSlice + PartialEq>) -> ZbiResult<()> { in extend()
638 impl<B: ByteSlice + PartialEq + DerefMut> ZbiContainer<B> {
[all …]