Lines Matching refs:owner_
99 owner_(owner), in Section()
118 AllocateVirtualMemory(owner_->virtual_address_, size); in AllocateVirtualMemory()
128 CHECK_LE(owner_->virtual_address_, header_.sh_addr); in AllocateVirtualMemory()
129 owner_->virtual_address_ = header_.sh_addr + header_.sh_size; in AllocateVirtualMemory()
134 CHECK(owner_->current_section_ == nullptr); in Start()
137 header_.sh_offset = owner_->AlignFileOffset(align); in Start()
138 owner_->current_section_ = this; in Start()
143 CHECK(owner_->current_section_ == this); in End()
147 owner_->current_section_ = nullptr; in End()
153 CHECK(owner_->current_section_ == this); in GetPosition()
154 off_t file_offset = owner_->stream_.Seek(0, kSeekCurrent); in GetPosition()
169 CHECK(owner_->current_section_ == this); in WriteFully()
170 return owner_->stream_.WriteFully(buffer, byte_count); in WriteFully()
177 return owner_->stream_.Seek(offset, whence); in Seek()
183 return owner_->stream_.Flush(); in Flush()
202 std::vector<Section*>& sections = owner_->sections_; in AddSection()
210 return owner_->write_program_headers_ ? header_.sh_addralign : 1; in AddSection()
213 ElfBuilder<ElfTypes>* owner_; variable