Lines Matching refs:Elf_Sym
83 using Elf_Sym = typename ElfTypes::Sym; variable
347 sizeof(Elf_Sym)) { in SymbolSection()
348 syms_.push_back(Elf_Sym()); // The symbol table always has to start with NULL symbol. in SymbolSection()
358 Elf_Sym sym = Elf_Sym(); in Add()
368 void Add(Elf_Sym sym, const Section* section) { in Add()
376 Elf_Word GetCacheSize() { return syms_.size() * sizeof(Elf_Sym); } in GetCacheSize()
379 auto is_local = [](const Elf_Sym& sym) { return ELF_ST_BIND(sym.st_info) == STB_LOCAL; }; in WriteCachedSection()
380 auto less_then = [is_local](const Elf_Sym& a, const Elf_Sym b) { in WriteCachedSection()
393 this->WriteFully(&syms_.front(), sizeof(Elf_Sym)); in WriteCachedSection()
399 std::deque<Elf_Sym> syms_; // Buffered/cached content of the whole section.
729 int count = dynsym_.GetCacheSize() / sizeof(Elf_Sym); // Includes NULL. in PrepareDynamicSection()
752 { .d_tag = DT_SYMENT, .d_un.d_ptr = sizeof(Elf_Sym) }, in PrepareDynamicSection()