Home
last modified time | relevance | path

Searched defs:AsBytes (Results 1 – 25 of 32) sorted by relevance

12

/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/binary/
Dmod.rs119 <I as Stream>::Slice: AsBytes, in be_u16()
164 <I as Stream>::Slice: AsBytes, in be_u24()
209 <I as Stream>::Slice: AsBytes, in be_u32()
254 <I as Stream>::Slice: AsBytes, in be_u64()
299 <I as Stream>::Slice: AsBytes, in be_u128()
309 <I as Stream>::Slice: AsBytes, in be_uint()
415 <I as Stream>::Slice: AsBytes, in be_i16()
463 <I as Stream>::Slice: AsBytes, in be_i24()
519 <I as Stream>::Slice: AsBytes, in be_i32()
567 <I as Stream>::Slice: AsBytes, in be_i64()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/nom/src/
Dtraits.rs90 pub trait AsBytes { trait
95 impl<'a> AsBytes for &'a str { impl
109 impl<'a> AsBytes for &'a [u8] { impl
116 impl AsBytes for [u8] { impl
126 impl<'a> AsBytes for &'a [u8; $N] { impl
133 impl AsBytes for [u8; $N] { impl
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/src/
H A Dtraits.rs90 pub trait AsBytes { trait
95 impl<'a> AsBytes for &'a str { impl
109 impl<'a> AsBytes for &'a [u8] { impl
116 impl AsBytes for [u8] { impl
126 impl<'a> AsBytes for &'a [u8; $N] { impl
133 impl AsBytes for [u8; $N] { impl
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy/src/
Dlib.rs1983 fn mut_from(bytes: &mut [u8]) -> Option<&mut Self> in mut_from()
2030 fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self> in mut_from_prefix()
2070 fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self> in mut_from_suffix()
2270 fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]> in mut_slice_from()
2327 Self: Sized + AsBytes, in mut_slice_from_prefix()
2382 Self: Sized + AsBytes, in mut_slice_from_suffix()
2676 pub unsafe trait AsBytes { trait
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy/src/
Dlib.rs1983 fn mut_from(bytes: &mut [u8]) -> Option<&mut Self> in mut_from()
2030 fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self> in mut_from_prefix()
2070 fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self> in mut_from_suffix()
2270 fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]> in mut_slice_from()
2327 Self: Sized + AsBytes, in mut_slice_from_prefix()
2382 Self: Sized + AsBytes, in mut_slice_from_suffix()
2676 pub unsafe trait AsBytes { interface
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy/tests/ui-nightly/
Dtransmute-ref-src-dst-generic.rs15 fn transmute_ref<T: AsBytes, U: FromBytes>(t: &T) -> &U { in transmute_ref()
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy/tests/ui-msrv/
Dtransmute-ref-src-dst-generic.rs15 fn transmute_ref<T: AsBytes, U: FromBytes>(t: &T) -> &U { in transmute_ref()
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy/tests/ui-nightly/
Dtransmute-ref-src-dst-generic.rs15 fn transmute_ref<T: AsBytes, U: FromBytes>(t: &T) -> &U { in transmute_ref()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy/tests/ui-stable/
Dtransmute-ref-src-dst-generic.rs15 fn transmute_ref<T: AsBytes, U: FromBytes>(t: &T) -> &U { in transmute_ref()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy/tests/ui-msrv/
Dtransmute-ref-src-dst-generic.rs15 fn transmute_ref<T: AsBytes, U: FromBytes>(t: &T) -> &U { in transmute_ref()
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy/tests/ui-stable/
Dtransmute-ref-src-dst-generic.rs15 fn transmute_ref<T: AsBytes, U: FromBytes>(t: &T) -> &U { in transmute_ref()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/src/number/
H A Dcomplete.rs1461 T: AsBytes, in recognize_float_parts()
1567 T: AsBytes, in float()
1620 T: AsBytes, in double()
H A Dstreaming.rs1430 T: AsBytes, in recognize_float_parts()
1539 T: AsBytes, in float()
1593 T: AsBytes, in double()
/aosp_15_r20/external/rust/android-crates-io/crates/nom/src/number/
Dstreaming.rs1430 T: AsBytes, in recognize_float_parts()
1539 T: AsBytes, in float()
1593 T: AsBytes, in double()
Dcomplete.rs1461 T: AsBytes, in recognize_float_parts()
1567 T: AsBytes, in float()
1620 T: AsBytes, in double()
/aosp_15_r20/external/cronet/base/
H A Dtoken.h50 span<const uint8_t, 16> AsBytes() const { in AsBytes() function
H A Dunguessable_token.h107 span<const uint8_t, 16> AsBytes() const { return token_.AsBytes(); } in AsBytes() function
/aosp_15_r20/external/crosvm/third_party/vmm_vhost/src/
H A Dfrontend_client.rs45 ) -> HandlerResult<u64> in send_message()
/aosp_15_r20/external/perfetto/include/perfetto/trace_processor/
H A Dbasic_types.h259 const void* AsBytes() const { in AsBytes() function
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include/external/perfetto/include/perfetto/trace_processor/
H A Dbasic_types.h259 const void* AsBytes() const { in AsBytes() function
/aosp_15_r20/external/crosvm/devices/src/virtio/
H A Ddescriptor_utils.rs544 pub fn write_iter<T: AsBytes, I: Iterator<Item = T>>(&mut self, mut iter: I) -> io::Result<()> { in write_iter()
549 pub fn consume<T: AsBytes, C: IntoIterator<Item = T>>(&mut self, vals: C) -> io::Result<()> { in consume()
/aosp_15_r20/external/pigweed/pw_protobuf/public/pw_protobuf/
H A Dmessage.h334 Bytes AsBytes(uint32_t field_number) { return As<Bytes>(field_number); } in AsBytes() function
/aosp_15_r20/external/crosvm/base/src/
H A Dvolatile_memory.rs299 T: FromBytes + AsBytes, in copy_from()
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy-derive/src/
Dlib.rs642 AsBytes, enumerator
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy-derive/src/
Dlib.rs642 AsBytes, enumerator

12