Home
last modified time | relevance | path

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

/bionic/tools/relocation_packer/src/
Dpacker_unittest.cc27 static bool CheckRelocation(typename ELF::Addr addr, in CheckRelocation() function
128 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0000, 0x11, 0, relocations[ndx++])); in DoUnpackNoAddend()
129 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0004, 0x11, 0, relocations[ndx++])); in DoUnpackNoAddend()
130 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0008, 0x11, 0, relocations[ndx++])); in DoUnpackNoAddend()
132 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0010, 0x11, 0, relocations[ndx++])); in DoUnpackNoAddend()
133 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0018, 0x11, 0, relocations[ndx++])); in DoUnpackNoAddend()
134 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0020, 0x11, 0, relocations[ndx++])); in DoUnpackNoAddend()
283 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0000, 0x01, 10024, relocations[ndx++])); in DoUnpackWithAddend()
285 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0004, 0x01, 10012, relocations[ndx++])); in DoUnpackWithAddend()
286 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0008, 0x01, 10024, relocations[ndx++])); in DoUnpackWithAddend()
[all …]
Ddelta_encoder_unittest.cc26 bool CheckRelocation(uint32_t addr, in CheckRelocation() function
201 EXPECT_TRUE(CheckRelocation(0xc0de0000, 11U, 10000, relocations[0])); in decode()
203 EXPECT_TRUE(CheckRelocation(0xc0de0004, 11U, 10012, relocations[1])); in decode()
204 EXPECT_TRUE(CheckRelocation(0xc0de0008, 11U, 10024, relocations[2])); in decode()
206 EXPECT_TRUE(CheckRelocation(0xc0de0010, 11U, 10000, relocations[3])); in decode()
207 EXPECT_TRUE(CheckRelocation(0xc0de0018, 42U, 9976, relocations[4])); in decode()
208 EXPECT_TRUE(CheckRelocation(0xc0de0020, 42U, 9952, relocations[5])); in decode()