Searched refs:c_uint (Results 1 – 2 of 2) sorted by relevance
25 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() argument225 ) -> c_uint { in AbrMarkSlotActive() argument248 ) -> c_uint { in AbrGetSlotLastMarkedActive() argument267 ) -> c_uint { in AbrMarkSlotUnbootable() argument[all …]
17 use core::{cmp::min, ffi::c_uint, fmt::Write, mem::size_of};94 impl From<SlotIndex> for c_uint { implementation105 impl TryFrom<c_uint> for SlotIndex {108 fn try_from(val: c_uint) -> core::result::Result<SlotIndex, Self::Error> { in try_from()