Lines Matching refs:comp
165 uint64_t comp = absl::ghtonll(kInitialNumber); in TEST() local
166 EXPECT_EQ(comp, kInitialInNetworkOrder); in TEST()
167 comp = absl::gntohll(kInitialInNetworkOrder); in TEST()
168 EXPECT_EQ(comp, kInitialNumber); in TEST()
175 comp = absl::ghtonll(absl::gntohll(value)); in TEST()
176 EXPECT_EQ(value, comp); in TEST()
177 comp = absl::gntohll(absl::ghtonll(value)); in TEST()
178 EXPECT_EQ(value, comp); in TEST()
185 uint64_t comp = little_endian::FromHost16(k16Value); in TEST() local
186 EXPECT_EQ(comp, k16ValueLE); in TEST()
187 comp = little_endian::ToHost16(k16ValueLE); in TEST()
188 EXPECT_EQ(comp, k16Value); in TEST()
191 comp = little_endian::FromHost32(k32Value); in TEST()
192 EXPECT_EQ(comp, k32ValueLE); in TEST()
193 comp = little_endian::ToHost32(k32ValueLE); in TEST()
194 EXPECT_EQ(comp, k32Value); in TEST()
197 comp = little_endian::FromHost64(k64Value); in TEST()
198 EXPECT_EQ(comp, k64ValueLE); in TEST()
199 comp = little_endian::ToHost64(k64ValueLE); in TEST()
200 EXPECT_EQ(comp, k64Value); in TEST()
209 comp = little_endian::Load16(&u16Buf); in TEST()
210 EXPECT_EQ(comp, k16Value); in TEST()
214 comp = little_endian::Load32(&u32Buf); in TEST()
215 EXPECT_EQ(comp, k32Value); in TEST()
219 comp = little_endian::Load64(&u64Buf); in TEST()
220 EXPECT_EQ(comp, k64Value); in TEST()
232 uint64_t comp = big_endian::Load16(&u16Buf); in TEST() local
233 EXPECT_EQ(comp, k16Value); in TEST()
237 comp = big_endian::Load32(&u32Buf); in TEST()
238 EXPECT_EQ(comp, k32Value); in TEST()
242 comp = big_endian::Load64(&u64Buf); in TEST()
243 EXPECT_EQ(comp, k64Value); in TEST()
247 comp = big_endian::Load16(buffer + 1); in TEST()
248 EXPECT_EQ(comp, k16Value); in TEST()
252 comp = big_endian::Load32(buffer + 1); in TEST()
253 EXPECT_EQ(comp, k32Value); in TEST()
257 comp = big_endian::Load64(buffer + 1); in TEST()
258 EXPECT_EQ(comp, k64Value); in TEST()