Home
last modified time | relevance | path

Searched refs:BigEndian (Results 1 – 25 of 102) sorted by relevance

12345

/external/rust/crates/ring/src/
Ddigest.rs29 endian::{self, BigEndian},
447 as64: [BigEndian<u64>; 512 / 8 / core::mem::size_of::<BigEndian<u64>>()],
448 as32: [BigEndian<u32>; 256 / 8 / core::mem::size_of::<BigEndian<u32>>()],
467 BigEndian::from(input[0]), in sha256_format_output()
468 BigEndian::from(input[1]), in sha256_format_output()
469 BigEndian::from(input[2]), in sha256_format_output()
470 BigEndian::from(input[3]), in sha256_format_output()
471 BigEndian::from(input[4]), in sha256_format_output()
472 BigEndian::from(input[5]), in sha256_format_output()
473 BigEndian::from(input[6]), in sha256_format_output()
[all …]
Dendian.rs133 define_endian!(BigEndian);
135 impl_endian!(BigEndian, u32, to_be, from_be, 4);
136 impl_endian!(BigEndian, u64, to_be, from_be, 8);
146 let x = BigEndian::from(1u32); in test_big_endian()
/external/rust/crates/byteorder/benches/
Dbench.rs9 BigEndian, ByteOrder, LittleEndian, NativeEndian,
21 bb(BigEndian::$read(&buf, $bytes));
51 BigEndian, ByteOrder, LittleEndian, NativeEndian,
64 bb(BigEndian::$read(&buf));
95 bb(BigEndian::$write(&mut buf, n));
258 use byteorder::{BigEndian, ByteOrder, LittleEndian};
270 BigEndian::$write(&numbers, &mut bytes);
274 BigEndian::$read(&bytes, &mut numbers);
303 BigEndian::$write(&numbers, &mut bytes);
/external/grpc-grpc/tools/http2_interop/
Dgoaway.go39 StreamID: StreamID(binary.BigEndian.Uint32(raw[0:4]) & 0x7fffffff),
40 Code: binary.BigEndian.Uint32(raw[4:8]),
49 binary.BigEndian.PutUint32(raw[:4], uint32(f.StreamID))
50 binary.BigEndian.PutUint32(raw[4:8], f.Code)
Dsettings.go81 Identifier: SettingsIdentifier(binary.BigEndian.Uint16(raw[i : i+2])),
82 Value: binary.BigEndian.Uint32(raw[i+2 : i+6]),
91 binary.BigEndian.PutUint16(raw[i*6:i*6+2], uint16(p.Identifier))
92 binary.BigEndian.PutUint32(raw[i*6+2:i*6+6], p.Value)
Dframeheader.go43 StreamID: StreamID(binary.BigEndian.Uint32(b[5:9]) & 0x7fffffff),
65 binary.BigEndian.PutUint32(buf[5:], uint32(fh.StreamID)|res)
/external/rust/crates/grpcio-sys/grpc/tools/http2_interop/
Dgoaway.go53 StreamID: StreamID(binary.BigEndian.Uint32(raw[0:4]) & 0x7fffffff),
54 Code: binary.BigEndian.Uint32(raw[4:8]),
63 binary.BigEndian.PutUint32(raw[:4], uint32(f.StreamID))
64 binary.BigEndian.PutUint32(raw[4:8], f.Code)
Dsettings.go95 Identifier: SettingsIdentifier(binary.BigEndian.Uint16(raw[i : i+2])),
96 Value: binary.BigEndian.Uint32(raw[i+2 : i+6]),
105 binary.BigEndian.PutUint16(raw[i*6:i*6+2], uint16(p.Identifier))
106 binary.BigEndian.PutUint32(raw[i*6+2:i*6+6], p.Value)
Dframeheader.go57 StreamID: StreamID(binary.BigEndian.Uint32(b[5:9]) & 0x7fffffff),
79 binary.BigEndian.PutUint32(buf[5:], uint32(fh.StreamID)|res)
/external/rust/crates/byteorder/src/
Dlib.rs170 impl Sealed for super::BigEndian {} implementation
1807 pub enum BigEndian {} enum
1809 impl Default for BigEndian { implementation
1810 fn default() -> BigEndian { in default()
1818 pub type BE = BigEndian;
1874 pub type NetworkEndian = BigEndian;
1896 pub type NativeEndian = BigEndian;
1970 impl ByteOrder for BigEndian { implementation
2456 BigEndian, ByteOrder, LittleEndian, NativeEndian,
2463 BigEndian::$write(&mut buf, n.clone(), $bytes);
[all …]
/external/boringssl/src/ssl/test/runner/
Dmock_quic_transport.go78 cipherSuite := binary.BigEndian.Uint16(header[2:4])
79 length := binary.BigEndian.Uint32(header[4:])
124 binary.BigEndian.PutUint16(payload[2:4], m.writeCipherSuite)
125 binary.BigEndian.PutUint32(payload[4:8], uint32(length))
Dpacket_adapter.go59 if err := binary.Read(p.Conn, binary.BigEndian, &length); err != nil {
87 binary.BigEndian.PutUint32(payload[1:5], uint32(len(b)))
103 binary.BigEndian.PutUint64(payload[1:], uint64(d.Nanoseconds()))
/external/rust/crates/byteorder/
DREADME.md32 use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian, LittleEndian};
39 use byteorder::{BigEndian, ReadBytesExt};
44 assert_eq!(517, rdr.read_u16::<BigEndian>().unwrap());
45 assert_eq!(768, rdr.read_u16::<BigEndian>().unwrap());
/external/clang/test/CodeGenCXX/
D2010-07-23-DeclLoc.cpp32 class BigEndian {}; class
39 typedef SizeAndEndianness<Pointer32, BigEndian> ISA32Big;
41 typedef SizeAndEndianness<Pointer64, BigEndian> ISA64Big;
/external/llvm-project/clang/test/CodeGenCXX/
D2010-07-23-DeclLoc.cpp32 class BigEndian {}; class
39 typedef SizeAndEndianness<Pointer32, BigEndian> ISA32Big;
41 typedef SizeAndEndianness<Pointer64, BigEndian> ISA64Big;
/external/rust/crates/ring/src/aead/
Dchacha20_poly1305_openssh.rs170 BigEndian::ZERO, in make_counter()
171 BigEndian::ZERO, in make_counter()
172 BigEndian::from(sequence_number), in make_counter()
Dblock.rs46 pub fn from_u64_be(first: BigEndian<u64>, second: BigEndian<u64>) -> Self { in from_u64_be()
/external/llvm/test/Object/
Dyaml2obj-elf-bits-endian.test10 BE64-NEXT: DataEncoding: BigEndian (0x2)
16 BE32-NEXT: DataEncoding: BigEndian (0x2)
/external/llvm/include/llvm/IR/
DDataLayout.h104 bool BigEndian;
196 BigEndian = DL.isBigEndian();
214 bool isLittleEndian() const { return !BigEndian; } in isLittleEndian()
215 bool isBigEndian() const { return BigEndian; } in isBigEndian()
/external/openscreen/osp/go/
Dbinary.go28 e := binary.BigEndian
50 e := binary.BigEndian
/external/rust/crates/rusqlite/src/types/
Dvalue.rs42 use byteorder::{BigEndian, ByteOrder}; in from()
46 BigEndian::write_i128(&mut buf, i ^ (1i128 << 127)); in from()
/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc157 TEST(BigEndian, Signed1) { in TEST() argument
176 TEST(BigEndian, Signed2) { in TEST() argument
206 TEST(BigEndian, Signed4) { in TEST() argument
234 TEST(BigEndian, Signed8) { in TEST() argument
261 TEST(BigEndian, Unsigned1) { in TEST() argument
280 TEST(BigEndian, Unsigned2) { in TEST() argument
310 TEST(BigEndian, Unsigned4) { in TEST() argument
338 TEST(BigEndian, Unsigned8) { in TEST() argument
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h121 bool BigEndian;
212 BigEndian = DL.isBigEndian();
240 bool isLittleEndian() const { return !BigEndian; } in isLittleEndian()
241 bool isBigEndian() const { return BigEndian; } in isBigEndian()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h121 bool BigEndian;
209 BigEndian = DL.isBigEndian();
232 bool isLittleEndian() const { return !BigEndian; } in isLittleEndian()
233 bool isBigEndian() const { return BigEndian; } in isBigEndian()
/external/llvm-project/lld/test/ELF/
Drel-addend-with-rela-input.s11 # INPUT-RELA: DataEncoding: BigEndian
32 # RELA-TO-REL: DataEncoding: BigEndian

12345