Home
last modified time | relevance | path

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

/external/rust/crates/nom/src/
Dtraits.rs93 pub trait AsBytes { trait
98 impl<'a> AsBytes for &'a str { impl
101 <str as AsBytes>::as_bytes(self) in as_bytes()
105 impl AsBytes for str {
112 impl<'a> AsBytes for &'a [u8] { impl
119 impl AsBytes for [u8] { impl
129 impl<'a> AsBytes for &'a [u8; $N] { impl
136 impl AsBytes for [u8; $N] { impl
714 self.compare(AsBytes::as_bytes(t)) in compare()
718 self.compare_no_case(AsBytes::as_bytes(t)) in compare_no_case()
[all …]
/external/perfetto/include/perfetto/trace_processor/
Dbasic_types.h165 const void* AsBytes() const { in AsBytes() function
/external/rust/crates/nom/src/number/
Dstreaming.rs830 T: crate::traits::AsBytes + InputLength + Slice<RangeFrom<usize>>, in float()
903 T: crate::traits::AsBytes + InputLength + Slice<RangeFrom<usize>>, in double()
Dcomplete.rs833 T: crate::traits::AsBytes + InputLength + Slice<RangeFrom<usize>>, in float()
900 T: crate::traits::AsBytes + InputLength + Slice<RangeFrom<usize>>, in double()
/external/rust/crates/nom/src/sequence/
Dmacros.rs485 fn as_bytes<T: $crate::AsBytes>(b: &T) -> &[u8] {
/external/rust/crates/nom/src/branch/
Dmacros.rs738 fn as_bytes<T: $crate::AsBytes>(b: &T) -> &[u8] {
/external/rust/crates/nom/src/multi/
Dmacros.rs547 fn as_bytes<T: $crate::AsBytes>(b: &T) -> &[u8] {
/external/rust/crates/nom/
DCHANGELOG.md908 - `AsBytes` is implemented for fixed size arrays. This allows `tag!([41u8, 42u8])`
1052 - Ryman for the AsBytes implementation
1057 - the AsBytes trait improves readability, no more b"...", but "..." instead
/external/libchrome/base/containers/
Dspan_unittest.cc1023 TEST(SpanTest, AsBytes) { in TEST() argument
/external/pigweed/pw_span/
Dspan_test.cc1248 TEST(SpanTest, AsBytes) {