Searched refs:is_err (Results 1 – 10 of 10) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | ref.rs | 1175 assert!(Ref::<_, AU64>::from_bytes(&buf.t[..]).is_err()); in test_new_error() 1182 assert!(Ref::<_, AU64>::from_bytes(&buf.t[..]).is_err()); in test_new_error() 1183 assert!(Ref::<_, AU64>::from_prefix(&buf.t[..]).is_err()); in test_new_error() 1184 assert!(Ref::<_, AU64>::from_suffix(&buf.t[..]).is_err()); in test_new_error() 1190 assert!(Ref::<_, [AU64]>::from_bytes(&buf.t[..]).is_err()); in test_new_error() 1201 assert!(Ref::<_, [AU64]>::from_bytes_with_elems(&buf.t[..], n).is_err()); in test_new_error() 1202 assert!(Ref::<_, [AU64]>::from_bytes_with_elems(&buf.t[..], 2).is_err()); in test_new_error() 1203 assert!(Ref::<_, [AU64]>::from_prefix_with_elems(&buf.t[..], n).is_err()); in test_new_error() 1204 assert!(Ref::<_, [AU64]>::from_prefix_with_elems(&buf.t[..], 2).is_err()); in test_new_error() 1205 assert!(Ref::<_, [AU64]>::from_suffix_with_elems(&buf.t[..], n).is_err()); in test_new_error() [all …]
|
| H A D | lib.rs | 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() [all …]
|
| H A D | split_at.rs | 1024 assert!(split.is_err()); in test_split_at_overlapping()
|
| H A D | wrappers.rs | 932 assert!(res.is_err()); in test_unalign_update()
|
| /linux/sound/soc/codecs/ |
| H A D | tas2781-fmwlib.c | 885 bool is_err = false; in tasdevice_process_block() local 904 is_err = false; in tasdevice_process_block() 915 is_err = true; in tasdevice_process_block() 927 is_err = true; in tasdevice_process_block() 943 is_err = true; in tasdevice_process_block() 959 is_err = true; in tasdevice_process_block() 974 is_err = true; in tasdevice_process_block() 987 is_err = true; in tasdevice_process_block() 997 is_err = true; in tasdevice_process_block() 1007 if (is_err == true && blktyp != 0) { in tasdevice_process_block()
|
| /linux/rust/pin-init/examples/ |
| H A D | mutex.rs | 37 .is_err() in acquire()
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | cmd.h | 162 u8 is_err; member
|
| /linux/rust/kernel/ |
| H A D | bitmap.rs | 540 assert!(res.is_err()); in bitmap_vec_new()
|
| H A D | str.rs | 474 assert!(cstr.to_str().is_err()); in test_cstr_display()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_virt.c | 1437 bool is_err = true; in amdgpu_virt_rlcg_vfi_reg_rw() local 1509 is_err = false; in amdgpu_virt_rlcg_vfi_reg_rw() 1532 if (is_err) in amdgpu_virt_rlcg_vfi_reg_rw()
|