Home
last modified time | relevance | path

Searched refs:Get8 (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/base/
Dbyteorder.h34 inline uint8_t Get8(const void* memory, size_t offset) { in Get8() function
62 return static_cast<uint16_t>((Get8(memory, 0) << 8) | (Get8(memory, 1) << 0)); in GetBE16()
66 return (static_cast<uint32_t>(Get8(memory, 0)) << 24) | in GetBE32()
67 (static_cast<uint32_t>(Get8(memory, 1)) << 16) | in GetBE32()
68 (static_cast<uint32_t>(Get8(memory, 2)) << 8) | in GetBE32()
69 (static_cast<uint32_t>(Get8(memory, 3)) << 0); in GetBE32()
73 return (static_cast<uint64_t>(Get8(memory, 0)) << 56) | in GetBE64()
74 (static_cast<uint64_t>(Get8(memory, 1)) << 48) | in GetBE64()
75 (static_cast<uint64_t>(Get8(memory, 2)) << 40) | in GetBE64()
76 (static_cast<uint64_t>(Get8(memory, 3)) << 32) | in GetBE64()
[all …]
Dbyteorder_unittest.cc72 EXPECT_EQ(0x01u, Get8(buf, 0)); in TEST()
73 EXPECT_EQ(0x23u, Get8(buf, 1)); in TEST()