Lines Matching refs:relocations

17                    std::vector<typename ELF::Rela>* relocations) {  in AddRelocation()  argument
23 relocations->push_back(relocation); in AddRelocation()
40 std::vector<typename ELF::Rela> relocations; in DoPackNoAddend() local
44 AddRelocation<ELF>(0xd1ce0000, 0x11, 0, &relocations); in DoPackNoAddend()
46 AddRelocation<ELF>(0xd1ce0004, 0x11, 0, &relocations); in DoPackNoAddend()
47 AddRelocation<ELF>(0xd1ce0008, 0x11, 0, &relocations); in DoPackNoAddend()
49 AddRelocation<ELF>(0xd1ce0010, 0x11, 0, &relocations); in DoPackNoAddend()
50 AddRelocation<ELF>(0xd1ce0018, 0x11, 0, &relocations); in DoPackNoAddend()
51 AddRelocation<ELF>(0xd1ce0020, 0x11, 0, &relocations); in DoPackNoAddend()
56 packer.PackRelocations(relocations, &packed); in DoPackNoAddend()
97 std::vector<typename ELF::Rela> relocations; in DoUnpackNoAddend() local
124 packer.UnpackRelocations(packed, &relocations); in DoUnpackNoAddend()
127 EXPECT_EQ(6U, relocations.size()); in DoUnpackNoAddend()
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()
136 EXPECT_EQ(ndx, relocations.size()); in DoUnpackNoAddend()
149 std::vector<typename ELF::Rela> relocations; in DoPackWithAddend() local
152 AddRelocation<ELF>(0xd1ce0000, 0x01, 10024, &relocations); in DoPackWithAddend()
154 AddRelocation<ELF>(0xd1ce0004, 0x01, 10012, &relocations); in DoPackWithAddend()
155 AddRelocation<ELF>(0xd1ce0008, 0x01, 10024, &relocations); in DoPackWithAddend()
157 AddRelocation<ELF>(0xd1ce0010, 0x01, 10000, &relocations); in DoPackWithAddend()
158 AddRelocation<ELF>(0xd1ce0018, 0x01, 9976, &relocations); in DoPackWithAddend()
159 AddRelocation<ELF>(0xd1ce0020, 0x01, 9952, &relocations); in DoPackWithAddend()
166 packer.PackRelocations(relocations, &packed); in DoPackWithAddend()
273 std::vector<typename ELF::Rela> relocations; in DoUnpackWithAddend() local
277 relocations.clear(); in DoUnpackWithAddend()
278 packer.UnpackRelocations(packed, &relocations); in DoUnpackWithAddend()
280 EXPECT_EQ(6U, relocations.size()); in DoUnpackWithAddend()
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()
288 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0010, 0x01, 10000, relocations[ndx++])); in DoUnpackWithAddend()
289 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0018, 0x01, 9976, relocations[ndx++])); in DoUnpackWithAddend()
290 EXPECT_TRUE(CheckRelocation<ELF>(0xd1ce0020, 0x01, 9952, relocations[ndx++])); in DoUnpackWithAddend()
292 EXPECT_EQ(ndx, relocations.size()); in DoUnpackWithAddend()