Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libabr/src/
Dc_staticlib.rs25 ffi::{c_char, c_uint, c_void},
31 pub const ABR_RESULT_OK: c_uint = 0;
32 pub const ABR_RESULT_ERR_IO: c_uint = 1;
33 pub const ABR_RESULT_ERR_INVALID_DATA: c_uint = 2;
34 pub const ABR_RESULT_ERR_UNSUPPORTED_VERSION: c_uint = 3;
117 type AbrSlotIndex = c_uint;
154 fn unpack_result<T: Into<O>, O>(res: AbrResult<T>, val: &mut O) -> c_uint { in unpack_result() argument
225 ) -> c_uint { in AbrMarkSlotActive() argument
248 ) -> c_uint { in AbrGetSlotLastMarkedActive() argument
267 ) -> c_uint { in AbrMarkSlotUnbootable() argument
[all …]
Dlib.rs17 use core::{cmp::min, ffi::c_uint, fmt::Write, mem::size_of};
94 impl From<SlotIndex> for c_uint { implementation
105 impl TryFrom<c_uint> for SlotIndex {
108 fn try_from(val: c_uint) -> core::result::Result<SlotIndex, Self::Error> { in try_from()