Home
last modified time | relevance | path

Searched refs:raw_code (Results 1 – 2 of 2) sorted by relevance

/art/compiler/linker/x86/
Drelative_patcher_x86_test.cc113 static const uint8_t raw_code[] = { in TEST_F() local
119 ArrayRef<const uint8_t> code(raw_code); in TEST_F()
146 static const uint8_t raw_code[] = { in TEST_F() local
152 ArrayRef<const uint8_t> code(raw_code); in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc90 std::vector<uint8_t> raw_code; in RawCode() local
91 raw_code.reserve(insns.size() * 4u); in RawCode()
93 PushBackInsn(&raw_code, insn); in RawCode()
95 return raw_code; in RawCode()
903 const std::vector<uint8_t> raw_code = RawCode({kCbnzIP1Plus0Insn, ldr}); in TestBakerField() local
904 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TestBakerField()
905 ArrayRef<const uint8_t> code(raw_code); in TestBakerField()
1148 const std::vector<uint8_t> raw_code = RawCode({ldr, kCbnzIP1Plus0Insn}); in TEST_F() local
1149 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TEST_F()
1150 ArrayRef<const uint8_t> code(raw_code); in TEST_F()