Home
last modified time | relevance | path

Searched refs:Suffix (Results 1 – 7 of 7) sorted by relevance

/linux/rust/zerocopy/src/
H A Dlayout.rs96 Suffix, enumerator
663 CastType::Suffix => bytes_len, in validate_cast_and_convert_metadata()
750 CastType::Suffix => bytes_len - self_bytes, in validate_cast_and_convert_metadata()
1445 (@generate_cast_type _) => { [CastType::Prefix, CastType::Suffix] }; in test_validate_cast_and_convert_metadata()
1468 layout(((2..8) | ((2..8), (2..8))), _).validate([0x1000_0000 - 1], [1], Suffix), in test_validate_cast_and_convert_metadata()
1477 test!(layout(_, [2]).validate(EVENS, ODDS, Suffix), Ok(Err(MetadataCastError::Alignment))); in test_validate_cast_and_convert_metadata()
1478 test!(layout(_, [2]).validate(EVENS, ODDS, Suffix), Ok(Err(MetadataCastError::Alignment))); in test_validate_cast_and_convert_metadata()
1557 CastType::Suffix => { in test_validate_cast_and_convert_metadata()
1576 CastType::Suffix => bytes_len, in test_validate_cast_and_convert_metadata()
1593 itertools::iproduct!(layouts, 0..8, 0..8, [CastType::Prefix, CastType::Suffix]) in test_validate_cast_and_convert_metadata()
H A Dlib.rs2116 try_ref_from_prefix_suffix(source, CastType::Suffix, None).map(swap) in try_ref_from_suffix()
2421 try_mut_from_prefix_suffix(source, CastType::Suffix, None).map(swap) in try_mut_from_suffix()
2755 try_ref_from_prefix_suffix(source, CastType::Suffix, Some(count)).map(swap) in try_ref_from_suffix_with_elems()
3062 try_mut_from_prefix_suffix(source, CastType::Suffix, Some(count)).map(swap) in try_mut_from_suffix_with_elems()
4366 ref_from_prefix_suffix(source, None, CastType::Suffix).map(swap) in ref_from_suffix()
4624 mut_from_prefix_suffix(source, None, CastType::Suffix).map(swap) in mut_from_suffix()
4909 ref_from_prefix_suffix(source, Some(count), CastType::Suffix).map(swap) in ref_from_suffix_with_elems()
5165 mut_from_prefix_suffix(source, Some(count), CastType::Suffix).map(swap) in mut_from_suffix_with_elems()
H A Dref.rs433 .try_cast_into::<T, BecauseImmutable>(CastType::Suffix, None) in from_suffix()
/linux/Documentation/driver-api/media/drivers/
H A Dtuners.rst116 Suffix:
/linux/rust/zerocopy/src/pointer/
H A Dinner.rs607 CastType::Suffix => (r_slice, l_slice), in try_cast_into()
H A Dptr.rs1412 for cast_type in [CastType::Prefix, CastType::Suffix] { in test()
1428 CastType::Suffix => assert_eq!(remaining_addr, bytes_addr), in test()
/linux/Documentation/process/
H A Dsubmitting-patches.rst472 these cases, it can be useful to add a "# Suffix" to clarify its meaning::
493 list archives. A "# Suffix" may also be used in this case to clarify.