Lines Matching refs:max_u32
27 const uint32_t max_u32 = ~0; in TEST() local
30 EXPECT_EQ(MutateBits(max_u32, 0, 0, false), max_u32); in TEST()
32 EXPECT_EQ(MutateBits(zero_u32, 0, 32, true), max_u32); in TEST()
33 EXPECT_EQ(MutateBits(max_u32, 0, 32, true), max_u32); in TEST()
34 EXPECT_EQ(MutateBits(max_u32, 0, 32, false), zero_u32); in TEST()
40 const uint32_t max_u32 = ~0; in TEST() local
44 EXPECT_EQ(MutateBits(max_u32, 0, 1, true), max_u32); in TEST()
92 const uint32_t max_u32 = ~zero_u32; in TEST() local
99 EXPECT_EQ(SetHighBits(zero_u32, 32), max_u32); in TEST()
100 EXPECT_EQ(SetHighBits(max_u32, 32), max_u32); in TEST()
106 const uint32_t max_u32 = ~zero_u32; in TEST() local
113 EXPECT_EQ(ClearHighBits(max_u32, 0), max_u32); in TEST()
114 EXPECT_EQ(ClearHighBits(max_u32, 1), 0x7FFFFFFF); in TEST()
115 EXPECT_EQ(ClearHighBits(max_u32, 2), 0x3FFFFFFF); in TEST()
116 EXPECT_EQ(ClearHighBits(max_u32, 31), one_u32); in TEST()
117 EXPECT_EQ(ClearHighBits(max_u32, 32), zero_u32); in TEST()
176 const uint32_t max_u32 = ~0; in TEST() local
178 EXPECT_TRUE(IsBitAtPositionSet(max_u32, i)); in TEST()