Searched refs:check_return_code (Results 1 – 2 of 2) sorted by relevance
277 Error::check_return_code(unsafe { in open_file_impl()421 Error::check_return_code(unsafe { sys::storage_set_file_size(file.raw, 0, 0) })?; in write_all_impl()489 Error::check_return_code(unsafe { sys::storage_get_file_size(file.raw, &mut size) })?; in get_size()522 Error::check_return_code(unsafe { in set_size_impl()559 Error::check_return_code(unsafe { in rename_impl()600 Error::check_return_code(unsafe { in remove_impl()714 fn check_return_code(code: impl Into<c_long>) -> Result<(), Self> { in check_return_code() method915 Error::check_return_code(unsafe { in new()
37 let result = Error::check_return_code(unsafe { in end_transaction()201 Error::check_return_code(unsafe { sys::storage_end_transaction(self.session.raw, false) }) in drop()