Lines Matching refs:u64
36 constexpr u64 ReverseBytes64(u64 n)
39 ((n & u64{0xFF00000000000000}) >> 56) |
40 ((n & u64{0x00FF000000000000}) >> 40) |
41 ((n & u64{0x0000FF0000000000}) >> 24) |
42 ((n & u64{0x000000FF00000000}) >> 8) |
43 ((n & u64{0x00000000FF000000}) << 8) |
44 ((n & u64{0x0000000000FF0000}) << 24) |
45 ((n & u64{0x000000000000FF00}) << 40) |
46 ((n & u64{0x00000000000000FF}) << 56)
53 inline u64 HostToNetwork64 (u64 host) { return ReverseBytes64(host); }
57 inline u64 HostToNetwork64 (u64 host) { return host; }
62 inline u64 NetworkToHost64 (u64 net) { return HostToNetwork64(net); }