Home
last modified time | relevance | path

Searched refs:is_err (Results 1 – 10 of 10) sorted by relevance

/linux/rust/zerocopy/src/
H A Dref.rs1175 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 Dlib.rs7078 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 Dsplit_at.rs1024 assert!(split.is_err()); in test_split_at_overlapping()
H A Dwrappers.rs932 assert!(res.is_err()); in test_unalign_update()
/linux/sound/soc/codecs/
H A Dtas2781-fmwlib.c885 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 Dmutex.rs37 .is_err() in acquire()
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h162 u8 is_err; member
/linux/rust/kernel/
H A Dbitmap.rs540 assert!(res.is_err()); in bitmap_vec_new()
H A Dstr.rs474 assert!(cstr.to_str().is_err()); in test_cstr_display()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.c1437 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()