Lines Matching refs:Some
1431 if let Some(want) = meta { in test()
1447 if let Some(want) = meta { in test()
1487 test::<[$ty], _, N>([Some(0), Some(1), Some(2), Some(3)]);
1488 test::<SliceDst<$ty>, _, N>([Some(0), Some(1), Some(2), Some(3)]);
1490 test::<[$ty], _, N>([None, Some(0), Some(1), Some(2), Some(3)]);
1491 test::<SliceDst<$ty>, _, N>([None, Some(0), Some(1), Some(2), Some(3)]);
1514 ptr.try_cast_into::<$ty, BecauseImmutable>(CastType::Prefix, Some($elems)); in test_try_cast_into_explicit_count()
1515 if let Some(expect) = $expect { in test_try_cast_into_explicit_count()
1531 test!(ZstDst, 8, 0, Some(0)); in test_try_cast_into_explicit_count()
1534 test!(ZstDst, 8, usize::MAX, Some(usize::MAX)); in test_try_cast_into_explicit_count()
1544 test!(Dst, 8, 0, Some(0)); in test_try_cast_into_explicit_count()
1547 test!(Dst, 9, 1, Some(1)); in test_try_cast_into_explicit_count()