Lines Matching refs:owner_
107 owner_(owner), in Section()
126 AllocateVirtualMemory(owner_->virtual_address_, size); in AllocateVirtualMemory()
136 CHECK_LE(owner_->virtual_address_, header_.sh_addr); in AllocateVirtualMemory()
137 owner_->virtual_address_ = header_.sh_addr + header_.sh_size; in AllocateVirtualMemory()
142 CHECK(owner_->current_section_ == nullptr); in Start()
145 header_.sh_offset = owner_->AlignFileOffset(align); in Start()
146 owner_->current_section_ = this; in Start()
151 CHECK(owner_->current_section_ == this); in End()
155 owner_->current_section_ = nullptr; in End()
161 CHECK(owner_->current_section_ == this); in GetPosition()
162 off_t file_offset = owner_->stream_.Seek(0, kSeekCurrent); in GetPosition()
177 CHECK(owner_->current_section_ == this); in WriteFully()
178 return owner_->stream_.WriteFully(buffer, byte_count); in WriteFully()
185 return owner_->stream_.Seek(offset, whence); in Seek()
191 return owner_->stream_.Flush(); in Flush()
210 std::vector<Section*>& sections = owner_->sections_; in AddSection()
218 return owner_->write_program_headers_ ? header_.sh_addralign : 1; in AddSection()
221 ElfBuilder<ElfTypes>* owner_; variable