Home
last modified time | relevance | path

Searched defs:Bytes (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/test/
Dtest_util.h38 struct Bytes { struct
39 Bytes(const uint8_t *data_arg, size_t len_arg) in Bytes() function
41 Bytes(const char *data_arg, size_t len_arg) in Bytes() function
44 explicit Bytes(const char *str) in Bytes() argument
46 explicit Bytes(const std::string &str) in Bytes() argument
48 explicit Bytes(bssl::Span<const uint8_t> span) in Bytes() argument
54 inline bool operator==(const Bytes &a, const Bytes &b) { argument
/external/cronet/stable/third_party/boringssl/src/crypto/test/
Dtest_util.h40 struct Bytes { struct
41 Bytes(const uint8_t *data_arg, size_t len_arg) in Bytes() function
43 Bytes(const char *data_arg, size_t len_arg) in Bytes() argument
46 explicit Bytes(const char *str) in Bytes() function
48 explicit Bytes(const std::string &str) in Bytes() argument
50 explicit Bytes(bssl::Span<const uint8_t> span) in Bytes() function
56 inline bool operator==(const Bytes &a, const Bytes &b) { argument
/external/cronet/tot/third_party/boringssl/src/crypto/test/
Dtest_util.h40 struct Bytes { struct
41 Bytes(const uint8_t *data_arg, size_t len_arg) in Bytes() argument
43 Bytes(const char *data_arg, size_t len_arg) in Bytes() argument
46 explicit Bytes(const char *str) in Bytes() function
48 explicit Bytes(const std::string &str) in Bytes() function
50 explicit Bytes(bssl::Span<const uint8_t> span) in Bytes() function
56 inline bool operator==(const Bytes &a, const Bytes &b) { argument
/external/boringssl/src/crypto/test/
Dtest_util.h40 struct Bytes { struct
41 Bytes(const uint8_t *data_arg, size_t len_arg) in Bytes() argument
43 Bytes(const char *data_arg, size_t len_arg) in Bytes() function
46 explicit Bytes(const char *str) in Bytes() argument
48 explicit Bytes(const std::string &str) in Bytes() argument
50 explicit Bytes(bssl::Span<const uint8_t> span) in Bytes() function
56 inline bool operator==(const Bytes &a, const Bytes &b) { argument
/external/rust/android-crates-io/crates/serde_bytes/src/
Dbytes.rs47 pub struct Bytes { struct
51 impl Bytes { impl
54 unsafe { &*(bytes as *const [u8] as *const Bytes) } in new() constant
58 impl Debug for Bytes { implementation
64 impl AsRef<[u8]> for Bytes { implementation
70 impl AsMut<[u8]> for Bytes { implementation
76 impl Deref for Bytes { implementation
84 impl DerefMut for Bytes { implementation
90 impl<'a> From<&'a [u8]> for &'a Bytes { implementation
97 impl ToOwned for Bytes { implementation
[all …]
/external/rust/android-crates-io/crates/winnow/src/stream/
Dimpls.rs50 impl fmt::Display for Bytes { implementation
57 impl fmt::Debug for Bytes { implementation
64 impl fmt::LowerHex for Bytes { implementation
74 impl fmt::UpperHex for Bytes { implementation
90 impl ops::Deref for Bytes { implementation
99 impl ops::Index<usize> for Bytes { implementation
108 impl ops::Index<ops::RangeFull> for Bytes { implementation
112 fn index(&self, _: ops::RangeFull) -> &Bytes { in index()
117 impl ops::Index<ops::Range<usize>> for Bytes { implementation
121 fn index(&self, r: ops::Range<usize>) -> &Bytes { in index()
[all …]
/external/rust/android-crates-io/crates/bytes/src/
Dbytes.rs102 pub struct Bytes { struct
112 pub clone: unsafe fn(&AtomicPtr<()>, *const u8, usize) -> Bytes, argument
124 impl Bytes { implementation
641 pub fn try_into_mut(self) -> Result<BytesMut, Bytes> { in try_into_mut() argument
655 ) -> Bytes { in with_vtable()
681 unsafe impl Send for Bytes {} implementation
682 unsafe impl Sync for Bytes {} implementation
684 impl Drop for Bytes { implementation
691 impl Clone for Bytes { implementation
693 fn clone(&self) -> Bytes { in clone()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/bytes-1.8.0/src/
Dbytes.rs101 pub struct Bytes { struct
111 pub clone: unsafe fn(&AtomicPtr<()>, *const u8, usize) -> Bytes, argument
123 impl Bytes { implementation
547 pub fn try_into_mut(self) -> Result<BytesMut, Bytes> { in try_into_mut() argument
561 ) -> Bytes { in with_vtable()
587 unsafe impl Send for Bytes {} implementation
588 unsafe impl Sync for Bytes {} implementation
590 impl Drop for Bytes { implementation
597 impl Clone for Bytes { implementation
599 fn clone(&self) -> Bytes { in clone()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/bytes-1.8.0/src/
Dbytes.rs101 pub struct Bytes { struct
111 pub clone: unsafe fn(&AtomicPtr<()>, *const u8, usize) -> Bytes, argument
123 impl Bytes { impl
547 pub fn try_into_mut(self) -> Result<BytesMut, Bytes> { in try_into_mut() argument
561 ) -> Bytes { in with_vtable()
587 unsafe impl Send for Bytes {} implementation
588 unsafe impl Sync for Bytes {} implementation
590 impl Drop for Bytes { implementation
597 impl Clone for Bytes { implementation
599 fn clone(&self) -> Bytes { in clone()
[all …]
/external/rust/android-crates-io/crates/httparse/src/
Diter.rs5 pub struct Bytes<'a> { struct
14 impl<'a> Bytes<'a> { argument
166 impl AsRef<[u8]> for Bytes<'_> { implementation
183 impl Iterator for Bytes<'_> { implementation
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp36 uint8_t Bytes[4] = { in TEST() local
56 uint8_t Bytes[4] = { in TEST() local
75 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03}; in TEST() local
87 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in TEST() local
97 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in TEST() local
107 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in TEST() local
118 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, in TEST() local
132 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, in TEST() local
146 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, in TEST() local
163 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, in TEST() local
/external/mesa3d/src/nouveau/nil/
Dcopy.rs132 start: Offset4D<units::Bytes>, in copy_gob()
133 end: Offset4D<units::Bytes>, in copy_gob()
194 start: Offset4D<units::Bytes>, in copy_gob()
195 end: Offset4D<units::Bytes>, in copy_gob()
327 bl_extent: Extent4D<units::Bytes>, in new()
328 extent: Extent4D<units::Bytes>, in new()
454 start: Offset4D<units::Bytes>, in copy_tile()
455 end: Offset4D<units::Bytes>, in copy_tile()
486 level_extent_B: Extent4D<units::Bytes>, in copy_tiled()
489 start: Offset4D<units::Bytes>, in copy_tiled()
[all …]
/external/rust/android-crates-io/crates/num-traits/src/ops/
Dbytes.rs36 type Bytes: NumBytes; typedef
48 fn to_be_bytes(&self) -> Self::Bytes; in to_be_bytes()
60 fn to_le_bytes(&self) -> Self::Bytes; in to_le_bytes()
84 fn to_ne_bytes(&self) -> Self::Bytes { in to_ne_bytes()
94 type Bytes: NumBytes + ?Sized; typedef
/external/rust/android-crates-io/crates/httparse/src/simd/
Druntime.rs33 pub fn match_header_name_vectored(bytes: &mut Bytes) { in match_header_name_vectored()
37 pub fn match_uri_vectored(bytes: &mut Bytes) { in match_uri_vectored()
48 pub fn match_header_value_vectored(bytes: &mut Bytes) { in match_header_value_vectored()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp76 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) { in nextByte()
84 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, in nextLEB()
100 ArrayRef<uint8_t> Bytes, bool Signed) { in parseLEBImmediate()
109 bool parseImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes) { in parseImmediate()
124 StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, in onSymbolStart()
159 MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t /*Address*/, in getInstruction()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp75 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) { in nextByte()
83 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, in nextLEB()
99 ArrayRef<uint8_t> Bytes, bool Signed) { in parseLEBImmediate()
108 bool parseImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes) { in parseImmediate()
125 ArrayRef<uint8_t> Bytes, in onSymbolStart()
161 MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t /*Address*/, in getInstruction()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/rand_core-0.6.4/src/
Dimpls.rs56 type Bytes: AsRef<[u8]>; typedef
57 fn to_le_bytes(self) -> Self::Bytes; in to_le_bytes()
63 type Bytes = [u8; 4]; typedef
64 fn to_le_bytes(self) -> Self::Bytes { in to_le_bytes()
74 type Bytes = [u8; 8]; typedef
75 fn to_le_bytes(self) -> Self::Bytes { in to_le_bytes()
/external/rust/android-crates-io/crates/rand_core/src/
Dimpls.rs56 type Bytes: AsRef<[u8]>; typedef
57 fn to_le_bytes(self) -> Self::Bytes; in to_le_bytes()
63 type Bytes = [u8; 4]; typedef
64 fn to_le_bytes(self) -> Self::Bytes { in to_le_bytes()
74 type Bytes = [u8; 8]; typedef
75 fn to_le_bytes(self) -> Self::Bytes { in to_le_bytes()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/rand_core-0.6.4/src/
Dimpls.rs56 type Bytes: AsRef<[u8]>; typedef
57 fn to_le_bytes(self) -> Self::Bytes; in to_le_bytes()
63 type Bytes = [u8; 4]; typedef
64 fn to_le_bytes(self) -> Self::Bytes { in to_le_bytes()
74 type Bytes = [u8; 8]; typedef
75 fn to_le_bytes(self) -> Self::Bytes { in to_le_bytes()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/XRay/
DFDRTraceWriter.cpp49 auto Bytes = IndexedWriter<0>::write(OS, T); in writeMetadata() local
99 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
108 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
117 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DFDRTraceWriter.cpp51 auto Bytes = IndexedWriter<0>::write(OS, T); in writeMetadata() local
101 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
110 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
119 ArrayRef<char> Bytes(D.data(), D.size()); in visit() local
/external/openthread/tests/scripts/thread-cert/pktverify/
Dbytes.py33 class Bytes(bytearray): class
36 def __init__(self, s: Union[str, bytearray, 'Bytes', Any]):
118 def __eq__(self, other: Union[str, 'Bytes']):
Daddrs.py40 def __init__(self, addr: Union[str, bytearray, 'Bytes']):
57 def __init__(self, addr: Union[str, bytearray, 'Bytes']):
74 def __init__(self, addr: Union[str, bytearray, 'Bytes']):
/external/capstone/bindings/powershell/Capstone/
DCapstone.psm1214 …C:\PS> $Bytes = [byte[]] @( 0x10, 0xf1, 0x10, 0xe7, 0x11, 0xf2, 0x31, 0xe7, 0xdc, 0xa1, 0x2e, 0xf3… in Get-CapstoneDisassembly() variable
215 C:\PS> Get-CapstoneDisassembly -Architecture CS_ARCH_ARM -Mode CS_MODE_ARM -Bytes $Bytes in Get-CapstoneDisassembly() variable
232 C:\PS> $Bytes = [byte[]] @( 0xB8, 0x0A, 0x00, 0x00, 0x00, 0xF7, 0xF3 ) in Get-CapstoneDisassembly() variable
233 …C:\PS> Get-CapstoneDisassembly -Architecture CS_ARCH_X86 -Mode CS_MODE_32 -Bytes $Bytes -Syntax AT… in Get-CapstoneDisassembly() variable
254 C:\PS> $Bytes = [byte[]] @( 0xB8, 0x0A, 0x00, 0x00, 0x00, 0xF7, 0xF3 ) in Get-CapstoneDisassembly() variable
303 [byte[]]$Bytes, in Get-CapstoneDisassembly() variable
/external/rust/android-crates-io/crates/csv/src/
Ddebug.rs7 pub(crate) struct Bytes<'a>(pub(crate) &'a [u8]); struct
9 impl<'a> core::fmt::Debug for Bytes<'a> { implementation

12345678910>>...23