Lines Matching refs:name
91 const std::string& name, in Section() argument
98 : OutputStream(name), in Section()
102 name_(name), in Section()
229 const std::string& name, in CachedSection() argument
236 : Section(owner, name, type, flags, link, info, align, entsize), cache_() { } in CachedSection()
269 const std::string& name, in CachedStringSection() argument
273 name, in CachedStringSection()
281 Elf_Word Add(const std::string& name) { in Add() argument
283 DCHECK(name.empty()); in Add()
285 return CachedSection::Add(name.c_str(), name.length() + 1); in Add()
293 const std::string& name, in StringSection() argument
297 name, in StringSection()
313 Elf_Word Write(const std::string& name) { in Write() argument
315 DCHECK(name.empty()); in Write()
316 } else if (name == last_name_) { in Write()
319 last_name_ = name; in Write()
321 this->WriteFully(name.c_str(), name.length() + 1); in Write()
322 current_offset_ += name.length() + 1; in Write()
336 const std::string& name, in SymbolSection() argument
341 name, in SymbolSection()
352 void Add(Elf_Word name, in Add() argument
359 sym.st_name = name; in Add()
405 const std::string& name, in BuildIdSection() argument
412 : Section(owner, name, type, flags, link, info, align, entsize), in BuildIdSection()
502 void WriteSection(const char* name, const std::vector<uint8_t>* buffer) { in WriteSection() argument
503 std::unique_ptr<Section> s(new Section(this, name, SHT_PROGBITS, 0, nullptr, 0, 1, 0)); in WriteSection()