Lines Matching refs:dynamics
510 std::vector<typename ELF::Dyn> dynamics( in AdjustDynamicSectionForHole() local
512 dynamic_base + data->d_size / sizeof(dynamics[0])); in AdjustDynamicSectionForHole()
518 for (size_t i = 0; i < dynamics.size(); ++i) { in AdjustDynamicSectionForHole()
519 typename ELF::Dyn* dynamic = &dynamics[i]; in AdjustDynamicSectionForHole()
571 void* section_data = &dynamics[0]; in AdjustDynamicSectionForHole()
572 size_t bytes = dynamics.size() * sizeof(dynamics[0]); in AdjustDynamicSectionForHole()
648 std::vector<typename ELF::Dyn>* dynamics) { in FindDynamicEntry() argument
650 for (size_t i = 0; i < dynamics->size() - 1; ++i) { in FindDynamicEntry()
651 if (dynamics->at(i).d_tag == tag) { in FindDynamicEntry()
657 return dynamics->size(); in FindDynamicEntry()
664 std::vector<typename ELF::Dyn>* dynamics) { in ReplaceDynamicEntry() argument
665 const size_t slot = FindDynamicEntry<ELF>(tag, dynamics); in ReplaceDynamicEntry()
666 if (slot == dynamics->size()) { in ReplaceDynamicEntry()
671 dynamics->at(slot) = dyn; in ReplaceDynamicEntry()
798 std::vector<typename ELF::Dyn> dynamics( in PackTypedRelocations() local
800 dynamic_base + data->d_size / sizeof(dynamics[0])); in PackTypedRelocations()
806 ReplaceDynamicEntry<ELF>(relocations_type_ == REL ? DT_REL : DT_RELA, dyn, &dynamics); in PackTypedRelocations()
812 ReplaceDynamicEntry<ELF>(relocations_type_ == REL ? DT_RELSZ : DT_RELASZ, dyn, &dynamics); in PackTypedRelocations()
815 const void* dynamics_data = &dynamics[0]; in PackTypedRelocations()
816 const size_t dynamics_bytes = dynamics.size() * sizeof(dynamics[0]); in PackTypedRelocations()
913 std::vector<typename ELF::Dyn> dynamics( in UnpackTypedRelocations() local
915 dynamic_base + data->d_size / sizeof(dynamics[0])); in UnpackTypedRelocations()
921 dyn, &dynamics); in UnpackTypedRelocations()
929 dyn, &dynamics); in UnpackTypedRelocations()
932 const void* dynamics_data = &dynamics[0]; in UnpackTypedRelocations()
933 const size_t dynamics_bytes = dynamics.size() * sizeof(dynamics[0]); in UnpackTypedRelocations()