Searched refs:raw_code (Results 1 – 3 of 3) sorted by relevance
/art/dex2oat/linker/x86/ |
D | relative_patcher_x86_test.cc | 116 static const uint8_t raw_code[] = { in TEST_F() local 122 ArrayRef<const uint8_t> code(raw_code); in TEST_F() 148 static const uint8_t raw_code[] = { in TEST_F() local 154 ArrayRef<const uint8_t> code(raw_code); in TEST_F()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 111 std::vector<uint8_t> raw_code; in RawCode() local 114 raw_code.reserve(insns.size() * 4u - number_of_16_bit_insns * 2u); in RawCode() 116 PushBackInsn(&raw_code, insn); in RawCode() 118 return raw_code; in RawCode() 713 const std::vector<uint8_t> raw_code = RawCode({kBneWPlus0, ldr}); in TestBakerFieldWide() local 714 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TestBakerFieldWide() 715 ArrayRef<const uint8_t> code(raw_code); in TestBakerFieldWide() 811 const std::vector<uint8_t> raw_code = RawCode({kBneWPlus0, ldr}); in TestBakerFieldNarrow() local 812 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TestBakerFieldNarrow() 813 ArrayRef<const uint8_t> code(raw_code); in TestBakerFieldNarrow() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 102 std::vector<uint8_t> raw_code; in RawCode() local 103 raw_code.reserve(insns.size() * 4u); in RawCode() 105 PushBackInsn(&raw_code, insn); in RawCode() 107 return raw_code; in RawCode() 1054 const std::vector<uint8_t> raw_code = RawCode({kCbnzIP1Plus0Insn, ldr}); in TestBakerField() local 1055 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TestBakerField() 1056 ArrayRef<const uint8_t> code(raw_code); in TestBakerField() 1306 const std::vector<uint8_t> raw_code = RawCode({kCbnzIP1Plus0Insn, ldr(base_reg)}); in TEST_F() local 1307 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TEST_F() 1308 ArrayRef<const uint8_t> code(raw_code); in TEST_F() [all …]
|