Home
last modified time | relevance | path

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

12345678910>>...20

/external/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() function
46 explicit Bytes(const char *str) in Bytes() argument
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/cronet/third_party/boringssl/src/crypto/test/
Dtest_util.h38 struct Bytes { struct
39 Bytes(const uint8_t *data_arg, size_t len_arg) in Bytes() argument
41 Bytes(const char *data_arg, size_t len_arg) in Bytes() function
44 explicit Bytes(const char *str) in Bytes() function
46 explicit Bytes(const std::string &str) in Bytes() argument
48 explicit Bytes(bssl::Span<const uint8_t> span) in Bytes() function
54 inline bool operator==(const Bytes &a, const Bytes &b) { argument
/external/rust/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() argument
41 Bytes(const char *data_arg, size_t len_arg) in Bytes() argument
44 explicit Bytes(const char *str) in Bytes() function
46 explicit Bytes(const std::string &str) in Bytes() function
48 explicit Bytes(bssl::Span<const uint8_t> span) in Bytes() argument
54 inline bool operator==(const Bytes &a, const Bytes &b) { argument
/external/rust/crates/winnow/src/stream/
Dimpls.rs46 impl fmt::Display for Bytes { implementation
53 impl fmt::Debug for Bytes { implementation
60 impl fmt::LowerHex for Bytes { implementation
70 impl fmt::UpperHex for Bytes { implementation
86 impl ops::Deref for Bytes { implementation
95 impl ops::Index<usize> for Bytes { implementation
104 impl ops::Index<ops::RangeFull> for Bytes { implementation
108 fn index(&self, _: ops::RangeFull) -> &Bytes { in index()
113 impl ops::Index<ops::Range<usize>> for Bytes { implementation
117 fn index(&self, r: ops::Range<usize>) -> &Bytes { in index()
[all …]
/external/rust/crates/bytes/src/
Dbytes.rs100 pub struct Bytes { struct
110 pub clone: unsafe fn(&AtomicPtr<()>, *const u8, usize) -> Bytes, argument
119 impl Bytes { impl
493 ) -> Bytes { in with_vtable()
519 unsafe impl Send for Bytes {} implementation
520 unsafe impl Sync for Bytes {} implementation
522 impl Drop for Bytes { implementation
529 impl Clone for Bytes { implementation
531 fn clone(&self) -> Bytes { in clone()
536 impl Buf for Bytes { implementation
[all …]
/external/rust/crates/httparse/src/simd/
Dmod.rs126 pub fn match_uri_vectored(bytes: &mut crate::iter::Bytes) { in match_uri_vectored()
144 pub fn match_header_value_vectored(bytes: &mut crate::iter::Bytes) { in match_header_value_vectored()
186 pub fn match_uri_vectored(bytes: &mut crate::iter::Bytes) { in match_uri_vectored()
196 pub fn match_header_value_vectored(bytes: &mut crate::iter::Bytes) { in match_header_value_vectored()
235 pub fn match_uri_vectored(bytes: &mut crate::iter::Bytes) { in match_uri_vectored()
252 pub fn match_header_value_vectored(bytes: &mut crate::iter::Bytes) { in match_header_value_vectored()
/external/rust/crates/httparse/src/
Diter.rs5 pub struct Bytes<'a> { struct
10 impl<'a> Bytes<'a> { argument
88 impl<'a> AsRef<[u8]> for Bytes<'a> { implementation
95 impl<'a> Iterator for Bytes<'a> { 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/rust/crates/num-traits/src/ops/
Dbytes.rs38 type Bytes: NumBytes; typedef
50 fn to_be_bytes(&self) -> Self::Bytes; in to_be_bytes()
62 fn to_le_bytes(&self) -> Self::Bytes; in to_le_bytes()
86 fn to_ne_bytes(&self) -> Self::Bytes { in to_ne_bytes()
96 type Bytes: NumBytes + ?Sized; typedef
/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/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/rust/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/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/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
/external/tink/java_src/src/main/java/com/google/crypto/tink/util/
DBytes.java32 public final class Bytes { class
76 private Bytes(final byte[] buf, final int start, final int len) { in Bytes() method in Bytes
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/Disassembler/
DAVRDisassembler.cpp77 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16()
90 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32()
114 ArrayRef<uint8_t> Bytes, in getInstruction()
/external/rust/crates/siphasher/src/
Dtests128.rs16 struct Bytes<'a>(&'a [u8]); struct
18 impl<'a> Hash for Bytes<'a> { implementation
21 let Bytes(v) = *self; in hash() localVariable
/external/swiftshader/third_party/llvm-16.0/llvm/lib/MC/MCDisassembler/
DMCDisassembler.cpp18 ArrayRef<uint8_t> Bytes, uint64_t Address, in onSymbolStart()
23 uint64_t MCDisassembler::suggestBytesToSkip(ArrayRef<uint8_t> Bytes, in suggestBytesToSkip()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLoc.cpp65 unsigned Bytes = data.getU16(&Offset); in parse() local
98 unsigned Bytes = data.getU16(&Offset); in parse() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/Disassembler/
DARCDisassembler.cpp50 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32()
59 static bool readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64()
69 static bool readInstruction48(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction48()
78 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16()
297 ArrayRef<uint8_t> Bytes, in getInstruction()
/external/swiftshader/third_party/subzero/src/
DIceELFStreamer.h37 virtual void writeBytes(llvm::StringRef Bytes) { in writeBytes()
97 void writeBytes(llvm::StringRef Bytes) override { Out << Bytes; } in writeBytes()

12345678910>>...20