Lines Matching refs:ByteCount

19   constexpr size_t ByteCount = 1;  in TEST_F()  local
20 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
22 verifyBytes<ByteCount>(codeBytes(), 0xc3); in TEST_F()
28 constexpr size_t ByteCount = 3; in TEST_F() local
29 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
31 verifyBytes<ByteCount>(codeBytes(), 0xC2, 0x20, 0x00); in TEST_F()
37 constexpr size_t ByteCount = 5; in TEST_F() local
38 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
40 verifyBytes<ByteCount>(codeBytes(), 0xe8, 0x00, 0x00, 0x00, 0x00); in TEST_F()
52 constexpr size_t ByteCount = 7; in TEST_F() local
53 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
56 verifyBytes<ByteCount>(codeBytes(), PopOpcode | GPRRegister::Encoded_Reg_eax, in TEST_F()
74 constexpr size_t ByteCount = 7; in TEST_F() local
75 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
78 verifyBytes<ByteCount>(codeBytes(), PushOpcode | GPRRegister::Encoded_Reg_eax, in TEST_F()
96 constexpr size_t ByteCount = 6 * MovReg32BitImmBytes; in TEST_F() local
97 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
100 verifyBytes<ByteCount>( in TEST_F()
115 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
118 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
119 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
129 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
131 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
132 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
142 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
145 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
146 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
156 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
160 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
161 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
172 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
176 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
177 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
188 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
193 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
194 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
205 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
211 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
212 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
223 static constexpr uint8_t ByteCount = ByteCountUntyped; \ in TEST_F()
229 ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \ in TEST_F()
230 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()