Lines Matching refs:bytes
87 // a second 64-bit integer. This is the same as writing the raw-bytes in
90 UUID::UUID128Bit bytes = uuid.GetFullBigEndian();
93 ((((uint64_t) bytes[0]) << 56) |
94 (((uint64_t) bytes[1]) << 48) |
95 (((uint64_t) bytes[2]) << 40) |
96 (((uint64_t) bytes[3]) << 32) |
97 (((uint64_t) bytes[4]) << 24) |
98 (((uint64_t) bytes[5]) << 16) |
99 (((uint64_t) bytes[6]) << 8) |
100 bytes[7]);
103 ((((uint64_t) bytes[8]) << 56) |
104 (((uint64_t) bytes[9]) << 48) |
105 (((uint64_t) bytes[10]) << 40) |
106 (((uint64_t) bytes[11]) << 32) |
107 (((uint64_t) bytes[12]) << 24) |
108 (((uint64_t) bytes[13]) << 16) |
109 (((uint64_t) bytes[14]) << 8) |
110 bytes[15]);
118 UUID::UUID128Bit bytes;
123 bytes[0] = (most_sig_bits >> 56) & 0xFF;
124 bytes[1] = (most_sig_bits >> 48) & 0xFF;
125 bytes[2] = (most_sig_bits >> 40) & 0xFF;
126 bytes[3] = (most_sig_bits >> 32) & 0xFF;
127 bytes[4] = (most_sig_bits >> 24) & 0xFF;
128 bytes[5] = (most_sig_bits >> 16) & 0xFF;
129 bytes[6] = (most_sig_bits >> 8) & 0xFF;
130 bytes[7] = most_sig_bits & 0xFF;
132 bytes[8] = (least_sig_bits >> 56) & 0xFF;
133 bytes[9] = (least_sig_bits >> 48) & 0xFF;
134 bytes[10] = (least_sig_bits >> 40) & 0xFF;
135 bytes[11] = (least_sig_bits >> 32) & 0xFF;
136 bytes[12] = (least_sig_bits >> 24) & 0xFF;
137 bytes[13] = (least_sig_bits >> 16) & 0xFF;
138 bytes[14] = (least_sig_bits >> 8) & 0xFF;
139 bytes[15] = least_sig_bits & 0xFF;
141 return std::unique_ptr<UUID>(new UUID(bytes));