OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Get8
(Results
1 - 2
of
2
) sorted by null
/external/webrtc/webrtc/base/
byteorder.h
34
inline uint8_t
Get8
(const void* memory, size_t offset) {
62
return static_cast<uint16_t>((
Get8
(memory, 0) << 8) | (
Get8
(memory, 1) << 0));
66
return (static_cast<uint32_t>(
Get8
(memory, 0)) << 24) |
67
(static_cast<uint32_t>(
Get8
(memory, 1)) << 16) |
68
(static_cast<uint32_t>(
Get8
(memory, 2)) << 8) |
69
(static_cast<uint32_t>(
Get8
(memory, 3)) << 0);
73
return (static_cast<uint64_t>(
Get8
(memory, 0)) << 56) |
74
(static_cast<uint64_t>(
Get8
(memory, 1)) << 48) |
75
(static_cast<uint64_t>(
Get8
(memory, 2)) << 40)
[
all
...]
byteorder_unittest.cc
72
EXPECT_EQ(0x01u,
Get8
(buf, 0));
73
EXPECT_EQ(0x23u,
Get8
(buf, 1));
Completed in 50 milliseconds