Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs57 type ZbiResult<T> = Result<T, ZbiError>; typedef
78 pub fn align_buffer<B: ByteSlice>(buffer: B) -> ZbiResult<B> { in align_buffer()
135 pub fn parse(buffer: B) -> ZbiResult<(ZbiItem<B>, B)> { in parse()
168 pub fn is_valid(&self) -> ZbiResult<()> { in is_valid() argument
222 ) -> ZbiResult<(ZbiItem<B>, B)> { in new()
285 fn construct(header: Ref<B, ZbiHeader>, buffer: B) -> ZbiResult<Self> { in construct()
323 pub fn is_bootable(&self) -> ZbiResult<()> { in is_bootable() argument
347 pub fn parse(buffer: B) -> ZbiResult<Self> { in parse()
385 fn set_payload_length_usize(&mut self, len: usize) -> ZbiResult<()> { in set_payload_length_usize() argument
400 pub fn new(buffer: B) -> ZbiResult<Self> { in new()
[all …]