Lines Matching refs:relocations
17 std::vector<T>* relocations) { in AddRelocation() argument
22 relocations->push_back(relocation); in AddRelocation()
41 std::vector<typename ELF::Rela> relocations; in encode() local
46 codec.Encode(relocations, &packed); in encode()
51 AddRelocation(0xf00d0000, 11U, 10000, &relocations); in encode()
53 codec.Encode(relocations, &packed); in encode()
70 AddRelocation(0xf00d0004, 11U, 10012, &relocations); in encode()
73 codec.Encode(relocations, &packed); in encode()
90 AddRelocation(0xf00d0008, 41U, 10024, &relocations); in encode()
93 AddRelocation(0xf00d0010, 42U, 10000, &relocations); in encode()
94 AddRelocation(0xf00d0018, 42U, 9976, &relocations); in encode()
95 AddRelocation(0xf00d0020, 42U, 9952, &relocations); in encode()
97 AddRelocation(0xf00d2028, 1042U, 0, &relocations); in encode()
98 AddRelocation(0xf00d2030, 3442U, 0, &relocations); in encode()
101 codec.Encode(relocations, &packed); in encode()
160 std::vector<typename ELF::Rela> relocations; in decode() local
163 codec.Decode(packed, &relocations); in decode()
165 EXPECT_EQ(0U, relocations.size()); in decode()
196 relocations.clear(); in decode()
197 codec.Decode(packed, &relocations); in decode()
199 EXPECT_EQ(6U, relocations.size()); in decode()
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()