Lines Matching refs:is_err

7078         assert!(u32::MAX.write_to_io(&mut short_buffer[..]).is_err());  in test_read_write_io()
7080 assert!(u32::read_from_io(&short_buffer[..]).is_err()); in test_read_write_io()
7198 assert!(AU64::ref_from_bytes(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7199 assert!(AU64::mut_from_bytes(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7200 assert!(<[u8; 8]>::ref_from_bytes(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7201 assert!(<[u8; 8]>::mut_from_bytes(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7205 assert!(AU64::ref_from_bytes(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7206 assert!(AU64::mut_from_bytes(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7207 assert!(<[u8; 8]>::ref_from_bytes(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7208 assert!(<[u8; 8]>::mut_from_bytes(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7209 assert!(AU64::ref_from_prefix(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7210 assert!(AU64::mut_from_prefix(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7211 assert!(AU64::ref_from_suffix(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7212 assert!(AU64::mut_from_suffix(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7213 assert!(<[u8; 8]>::ref_from_prefix(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7214 assert!(<[u8; 8]>::mut_from_prefix(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7215 assert!(<[u8; 8]>::ref_from_suffix(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7216 assert!(<[u8; 8]>::mut_from_suffix(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7220 assert!(AU64::ref_from_bytes(&buf.t[1..]).is_err()); in test_ref_from_mut_from_bytes_error()
7221 assert!(AU64::mut_from_bytes(&mut buf.t[1..]).is_err()); in test_ref_from_mut_from_bytes_error()
7222 assert!(AU64::ref_from_bytes(&buf.t[1..]).is_err()); in test_ref_from_mut_from_bytes_error()
7223 assert!(AU64::mut_from_bytes(&mut buf.t[1..]).is_err()); in test_ref_from_mut_from_bytes_error()
7224 assert!(AU64::ref_from_prefix(&buf.t[1..]).is_err()); in test_ref_from_mut_from_bytes_error()
7225 assert!(AU64::mut_from_prefix(&mut buf.t[1..]).is_err()); in test_ref_from_mut_from_bytes_error()
7226 assert!(AU64::ref_from_suffix(&buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7227 assert!(AU64::mut_from_suffix(&mut buf.t[..]).is_err()); in test_ref_from_mut_from_bytes_error()
7256 assert!(t.write_to(&mut vec![0; N - 1][..]).is_err()); in test_to_methods()
7257 assert!(t.write_to(&mut vec![0; N + 1][..]).is_err()); in test_to_methods()
7265 assert!(t.write_to_prefix(&mut vec![0; N - 1][..]).is_err()); in test_to_methods()
7281 assert!(t.write_to_suffix(&mut vec![0; N - 1][..]).is_err()); in test_to_methods()