Lines Matching refs:phdrs
574 std::vector<Elf_Phdr> phdrs; in End() local
576 phdrs = MakeProgramHeaders(); in End()
577 CHECK_LE(phdrs.size(), kMaxProgramHeaders); in End()
579 elf_header.e_phnum = phdrs.size(); in End()
584 stream_.WriteFully(phdrs.data(), phdrs.size() * sizeof(phdrs[0])); in End()
858 std::vector<Elf_Phdr> phdrs; in MakeProgramHeaders() local
868 phdrs.push_back(phdr); in MakeProgramHeaders()
876 phdrs.push_back(load); in MakeProgramHeaders()
886 Elf_Phdr& prev = phdrs.back(); in MakeProgramHeaders()
906 phdrs.push_back(load); in MakeProgramHeaders()
923 phdrs.push_back(phdr); in MakeProgramHeaders()
928 CHECK_EQ(phdrs[0].p_type, (Elf_Word)PT_PHDR); in MakeProgramHeaders()
929 phdrs[0].p_filesz = phdrs[0].p_memsz = phdrs.size() * sizeof(Elf_Phdr); in MakeProgramHeaders()
931 return phdrs; in MakeProgramHeaders()