Home
last modified time | relevance | path

Searched refs:codeBytes (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DOther.cpp22 ASSERT_TRUE(verifyBytes<Size>(codeBytes(), __VA_ARGS__)) << TestString; \ in TEST_F()
42 verifyBytes<ByteCount>(codeBytes(), 0xCC); in TEST_F()
49 verifyBytes<ByteCount>(codeBytes(), 0xF4); in TEST_F()
56 verifyBytes<ByteCount>(codeBytes(), 0x0F, 0x0B); in TEST_F()
65 verifyBytes<ByteCount>(codeBytes(), Prefix); \ in TEST_F()
DLocked.cpp21 verifyBytes<ByteCount>(codeBytes(), 0x0F, 0xAE, 0xF0); in TEST_F()
29 verifyBytes<ByteCount>(codeBytes(), 0xF0); in TEST_F()
207 verifyBytes<ByteCountNotLocked8>(codeBytes(), 0x0F, 0xC0, 0x35, 0x00, 0xFF, in TEST_F()
215 verifyBytes<ByteCountLocked8>(codeBytes(), 0xF0, 0x0F, 0xC0, 0x35, 0x00, in TEST_F()
225 verifyBytes<ByteCountNotLocked16>(codeBytes(), 0x66, 0x0F, 0xC1, 0x35, 0x00, in TEST_F()
233 verifyBytes<ByteCountLocked16>(codeBytes(), 0x66, 0xF0, 0x0F, 0xC1, 0x35, in TEST_F()
243 verifyBytes<ByteCountNotLocked32>(codeBytes(), 0x0F, 0xC1, 0x35, 0x00, 0xFF, in TEST_F()
251 verifyBytes<ByteCountLocked32>(codeBytes(), 0xF0, 0x0F, 0xC1, 0x35, 0x00, in TEST_F()
313 verifyBytes<ByteCountNotLocked>(codeBytes(), 0x0F, 0xC7, 0x0D, 0x00, 0xFF, in TEST_F()
320 verifyBytes<ByteCountLocked>(codeBytes(), 0xF0, 0x0F, 0xC7, 0x0D, 0x00, 0xFF, in TEST_F()
[all …]
DLowLevel.cpp22 verifyBytes<ByteCount>(codeBytes(), 0xc3); in TEST_F()
31 verifyBytes<ByteCount>(codeBytes(), 0xC2, 0x20, 0x00); in TEST_F()
40 verifyBytes<ByteCount>(codeBytes(), 0xe8, 0x00, 0x00, 0x00, 0x00); in TEST_F()
56 verifyBytes<ByteCount>(codeBytes(), PopOpcode | GPRRegister::Encoded_Reg_eax, in TEST_F()
78 verifyBytes<ByteCount>(codeBytes(), PushOpcode | GPRRegister::Encoded_Reg_eax, in TEST_F()
101 codeBytes(), MovOpcode | GPRRegister::Encoded_Reg_eax, 0x00, 0x00, 0x00, in TEST_F()
119 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
132 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
146 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
161 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
[all …]
DX87.cpp31 verifyBytes<ByteCount>(codeBytes(), Fld32Opcode, Fld32ModRM, 0x01, in TEST_F()
50 verifyBytes<ByteCount>(codeBytes(), Fld32Opcode, Fld32ModRM, 0x01, in TEST_F()
60 verifyBytes<ByteCount>(codeBytes(), 0xD9, 0XF7); in TEST_F()
73 verifyBytes<ByteCount>(codeBytes(), Opcode, ModRM, 0x45, 0x23, 0x01, 0x00); in TEST_F()
86 verifyBytes<ByteCount>(codeBytes(), Opcode, ModRM, 0x45, 0x23, 0x01, 0x00); in TEST_F()
DTestUtil.h56 const uint8_t *codeBytes() const { in codeBytes() function
760 return AssembledTest(codeBytes(), codeBytesSize(), NumAllocatedDwords); in assemble()
DGPRArith.cpp28 verifyBytes<ByteCount>(codeBytes(), Pushal, Popal); in TEST_F()
305 verifyBytes<ByteCount>(codeBytes(), Opcode, ModRM, (Value)&0xFF, \ in TEST_F()
895 verifyBytes<BytesSize>(codeBytes(), __VA_ARGS__); \ in TEST_F()
1317 verifyBytes<ByteCount>(codeBytes(), \ in TEST_F()
DDataMov.cpp364 verifyBytes<ByteCount>(codeBytes(), Prefix, Opcode); in TEST_F()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DLocked.cpp21 verifyBytes<ByteCount>(codeBytes(), 0x0F, 0xAE, 0xF0); in TEST_F()
29 verifyBytes<ByteCount>(codeBytes(), 0xF0); in TEST_F()
211 ASSERT_TRUE(verifyBytes<ByteCountNotLocked8>(codeBytes(), 0x67, 0x44, 0x0F, in TEST_F()
219 ASSERT_TRUE(verifyBytes<ByteCountLocked8>(codeBytes(), 0xF0, 0x67, 0x44, in TEST_F()
230 ASSERT_TRUE(verifyBytes<ByteCountNotLocked16>(codeBytes(), 0x66, 0x67, 0x44, in TEST_F()
238 ASSERT_TRUE(verifyBytes<ByteCountLocked16>(codeBytes(), 0x66, 0xF0, 0x67, in TEST_F()
249 ASSERT_TRUE(verifyBytes<ByteCountNotLocked32>(codeBytes(), 0x67, 0x44, 0x0F, in TEST_F()
257 ASSERT_TRUE(verifyBytes<ByteCountLocked32>(codeBytes(), 0xF0, 0x67, 0x44, in TEST_F()
270 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), Prefix)); \ in TEST_F()
341 codeBytes(), 0x67, 0x0F, 0xC7, 0x0C, 0x25, 0x00, 0xFF, 0x01, 0x00)); in TEST_F()
[all …]
DOther.cpp22 ASSERT_TRUE(verifyBytes<Size>(codeBytes(), __VA_ARGS__)) << TestString; \ in TEST_F()
42 verifyBytes<ByteCount>(codeBytes(), 0xCC); in TEST_F()
49 verifyBytes<ByteCount>(codeBytes(), 0xF4); in TEST_F()
56 verifyBytes<ByteCount>(codeBytes(), 0x0F, 0x0B); in TEST_F()
DLowLevel.cpp22 verifyBytes<ByteCount>(codeBytes(), 0xc3); in TEST_F()
31 verifyBytes<ByteCount>(codeBytes(), 0xC2, 0x20, 0x00); in TEST_F()
40 verifyBytes<ByteCount>(codeBytes(), 0xe8, 0x00, 0x00, 0x00, 0x00); in TEST_F()
66 codeBytes(), PopOpcode | Encoded_GPR_eax(), PopOpcode | Encoded_GPR_ebx(), in TEST_F()
102 codeBytes(), PushOpcode | Encoded_GPR_eax(), in TEST_F()
140 codeBytes(), MovOpcode | Encoded_GPR_eax(), 0x00, 0x00, 0x00, 0x00, in TEST_F()
165 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
178 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
191 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
205 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \ in TEST_F()
[all …]
DTestUtil.h152 const uint8_t *codeBytes() const { in codeBytes() function
946 return AssembledTest(codeBytes(), codeBytesSize(), NumAllocatedDwords); in assemble()
DGPRArith.cpp342 codeBytes(), 0x67, Opcode, ModRM, SIB, (Value)&0xFF, \ in TEST_F()
923 ASSERT_TRUE(verifyBytes<BytesSize>(codeBytes(), __VA_ARGS__)); \ in TEST_F()
DDataMov.cpp518 verifyBytes<ByteCount>(codeBytes(), Prefix, Opcode); in TEST_F()
/external/skia/fuzz/oss_fuzz/
DFuzzSkRuntimeEffect.cpp36 sk_sp<SkData> codeBytes = SkData::MakeSubset(bytes.get(), 0, bytes->size() - kReservedBytes); in FuzzSkRuntimeEffect_Once() local
38 SkString shaderText{static_cast<const char*>(codeBytes->data()), codeBytes->size()}; in FuzzSkRuntimeEffect_Once()