Home
last modified time | relevance | path

Searched refs:relocation (Results 1 – 3 of 3) sorted by relevance

/bionic/tools/relocation_packer/src/
Ddelta_encoder_unittest.cc18 T relocation; in AddRelocation() local
19 relocation.r_offset = addr; in AddRelocation()
20 relocation.r_info = info; in AddRelocation()
21 relocation.r_addend = addend; in AddRelocation()
22 relocations->push_back(relocation); in AddRelocation()
29 const T& relocation) { in CheckRelocation() argument
30 return relocation.r_offset == addr && in CheckRelocation()
31 relocation.r_info == info && in CheckRelocation()
32 relocation.r_addend == addend; in CheckRelocation()
Dpacker_unittest.cc18 typename ELF::Rela relocation; in AddRelocation() local
19 relocation.r_offset = addr; in AddRelocation()
20 relocation.r_info = info; in AddRelocation()
21 relocation.r_addend = addend; in AddRelocation()
23 relocations->push_back(relocation); in AddRelocation()
30 const typename ELF::Rela& relocation) { in CheckRelocation() argument
31 return relocation.r_offset == addr && in CheckRelocation()
32 relocation.r_info == info && in CheckRelocation()
33 relocation.r_addend == addend; in CheckRelocation()
Ddelta_encoder.cc87 const ElfRela* relocation = &relocations[group_start + i]; in Encode() local
90 packed->push_back(relocation->r_offset - previous_offset); in Encode()
92 previous_offset = relocation->r_offset; in Encode()
95 packed->push_back(relocation->r_info); in Encode()
100 packed->push_back(relocation->r_addend - previous_addend); in Encode()
101 previous_addend = relocation->r_addend; in Encode()