Lines Matching defs:u8

803     fn raw_from_ptr_len(bytes: NonNull<u8>, meta: Self::PointerMetadata) -> NonNull<Self>;  in raw_from_ptr_len()
1068 fn raw_from_ptr_len(data: NonNull<u8>, elems: usize) -> NonNull<Self> { in raw_from_ptr_len()
1878 fn try_ref_from_bytes(source: &[u8]) -> Result<&Self, TryCastError<&[u8], Self>> in try_ref_from_bytes()
2001 fn try_ref_from_prefix(source: &[u8]) -> Result<(&Self, &[u8]), TryCastError<&[u8], Self>> in try_ref_from_prefix()
2111 fn try_ref_from_suffix(source: &[u8]) -> Result<(&[u8], &Self), TryCastError<&[u8], Self>> in try_ref_from_suffix()
2205 fn try_mut_from_bytes(bytes: &mut [u8]) -> Result<&mut Self, TryCastError<&mut [u8], Self>> in try_mut_from_bytes()
2315 source: &mut [u8], in try_mut_from_prefix()
2316 ) -> Result<(&mut Self, &mut [u8]), TryCastError<&mut [u8], Self>> in try_mut_from_prefix()
2415 source: &mut [u8], in try_mut_from_suffix()
2416 ) -> Result<(&mut [u8], &mut Self), TryCastError<&mut [u8], Self>> in try_mut_from_suffix()
2520 source: &[u8], in try_ref_from_bytes_with_elems()
2522 ) -> Result<&Self, TryCastError<&[u8], Self>> in try_ref_from_bytes_with_elems()
2641 source: &[u8], in try_ref_from_prefix_with_elems()
2643 ) -> Result<(&Self, &[u8]), TryCastError<&[u8], Self>> in try_ref_from_prefix_with_elems()
2749 source: &[u8], in try_ref_from_suffix_with_elems()
2751 ) -> Result<(&[u8], &Self), TryCastError<&[u8], Self>> in try_ref_from_suffix_with_elems()
2845 source: &mut [u8], in try_mut_from_bytes_with_elems()
2847 ) -> Result<&mut Self, TryCastError<&mut [u8], Self>> in try_mut_from_bytes_with_elems()
2956 source: &mut [u8], in try_mut_from_prefix_with_elems()
2958 ) -> Result<(&mut Self, &mut [u8]), TryCastError<&mut [u8], Self>> in try_mut_from_prefix_with_elems()
3056 source: &mut [u8], in try_mut_from_suffix_with_elems()
3058 ) -> Result<(&mut [u8], &mut Self), TryCastError<&mut [u8], Self>> in try_mut_from_suffix_with_elems()
3122 fn try_read_from_bytes(source: &[u8]) -> Result<Self, TryReadError<&[u8], Self>> in try_read_from_bytes()
3200 fn try_read_from_prefix(source: &[u8]) -> Result<(Self, &[u8]), TryReadError<&[u8], Self>> in try_read_from_prefix()
3279 fn try_read_from_suffix(source: &[u8]) -> Result<(&[u8], Self), TryReadError<&[u8], Self>> in try_read_from_suffix()
3298 fn try_ref_from_prefix_suffix<T: TryFromBytes + KnownLayout + Immutable + ?Sized>( in try_ref_from_prefix_suffix()
3302 ) -> Result<(&T, &[u8]), TryCastError<&[u8], T>> { in try_ref_from_prefix_suffix()
3318 fn try_mut_from_prefix_suffix<T: IntoBytes + TryFromBytes + KnownLayout + ?Sized>( in try_mut_from_prefix_suffix()
3322 ) -> Result<(&mut T, &mut [u8]), TryCastError<&mut [u8], T>> { in try_mut_from_prefix_suffix()
4155 fn ref_from_bytes(source: &[u8]) -> Result<&Self, CastError<&[u8], Self>> in ref_from_bytes()
4267 fn ref_from_prefix(source: &[u8]) -> Result<(&Self, &[u8]), CastError<&[u8], Self>> in ref_from_prefix()
4361 fn ref_from_suffix(source: &[u8]) -> Result<(&[u8], &Self), CastError<&[u8], Self>> in ref_from_suffix()
4445 fn mut_from_bytes(source: &mut [u8]) -> Result<&mut Self, CastError<&mut [u8], Self>> in mut_from_bytes()
4537 source: &mut [u8], in mut_from_prefix()
4538 ) -> Result<(&mut Self, &mut [u8]), CastError<&mut [u8], Self>> in mut_from_prefix()
4618 source: &mut [u8], in mut_from_suffix()
4619 ) -> Result<(&mut [u8], &mut Self), CastError<&mut [u8], Self>> in mut_from_suffix()
4710 source: &[u8], in ref_from_bytes_with_elems()
4712 ) -> Result<&Self, CastError<&[u8], Self>> in ref_from_bytes_with_elems()
4809 source: &[u8], in ref_from_prefix_with_elems()
4811 ) -> Result<(&Self, &[u8]), CastError<&[u8], Self>> in ref_from_prefix_with_elems()
4903 source: &[u8], in ref_from_suffix_with_elems()
4905 ) -> Result<(&[u8], &Self), CastError<&[u8], Self>> in ref_from_suffix_with_elems()
4984 source: &mut [u8], in mut_from_bytes_with_elems()
4986 ) -> Result<&mut Self, CastError<&mut [u8], Self>> in mut_from_bytes_with_elems()
5074 source: &mut [u8], in mut_from_prefix_with_elems()
5076 ) -> Result<(&mut Self, &mut [u8]), CastError<&mut [u8], Self>> in mut_from_prefix_with_elems()
5159 source: &mut [u8], in mut_from_suffix_with_elems()
5161 ) -> Result<(&mut [u8], &mut Self), CastError<&mut [u8], Self>> in mut_from_suffix_with_elems()
5206 fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>> in read_from_bytes()
5264 fn read_from_prefix(source: &[u8]) -> Result<(Self, &[u8]), SizeError<&[u8], Self>> in read_from_prefix()
5316 fn read_from_suffix(source: &[u8]) -> Result<(&[u8], Self), SizeError<&[u8], Self>> in read_from_suffix()
5415 fn slice_from_prefix(source: &[u8], count: usize) -> Option<(&[Self], &[u8])> in slice_from_prefix()
5426 fn slice_from_suffix(source: &[u8], count: usize) -> Option<(&[u8], &[Self])> in slice_from_suffix()
5437 fn mut_slice_from_prefix(source: &mut [u8], count: usize) -> Option<(&mut [Self], &mut [u8])> in mut_slice_from_prefix()
5448 fn mut_slice_from_suffix(source: &mut [u8], count: usize) -> Option<(&mut [u8], &mut [Self])> in mut_slice_from_suffix()
5475 fn ref_from_prefix_suffix<T: FromBytes + KnownLayout + Immutable + ?Sized>( in ref_from_prefix_suffix()
5479 ) -> Result<(&T, &[u8]), CastError<&[u8], T>> { in ref_from_prefix_suffix()
5495 fn mut_from_prefix_suffix<T: FromBytes + IntoBytes + KnownLayout + ?Sized>( in mut_from_prefix_suffix()
5499 ) -> Result<(&mut T, &mut [u8]), CastError<&mut [u8], T>> { in mut_from_prefix_suffix()
7242 bytes: &[u8], in test_to_methods()