Lines Matching refs:off

1079       Address off = this->u2_.relobj->get_output_section_offset(this->shndx_);  in get_address()  local
1080 if (off != invalid_address) in get_address()
1081 address += os->address() + off; in get_address()
1262 const off_t off = this->offset(); in do_write() local
1264 unsigned char* const oview = of->get_output_view(off, oview_size); in do_write()
1284 of->write_output_view(off, oview_size, oview); in do_write()
1322 const off_t off = this->offset(); in do_write() local
1325 unsigned char* const oview = of->get_output_view(off, oview_size); in do_write()
1354 of->write_output_view(off, oview_size, oview); in do_write()
1673 const off_t off = this->offset(); in do_write() local
1675 unsigned char* const oview = of->get_output_view(off, oview_size); in do_write()
1686 of->write_output_view(off, oview_size, oview); in do_write()
1968 Output_fill_debug_info::do_write(Output_file* of, off_t off, size_t len) const in do_write() argument
1971 static_cast<long>(off), static_cast<long>(len)); in do_write()
1975 unsigned char* const oview = of->get_output_view(off, len); in do_write()
2004 of->write_output_view(off, len, oview); in do_write()
2025 Output_fill_debug_line::do_write(Output_file* of, off_t off, size_t len) const in do_write() argument
2028 static_cast<long>(off), static_cast<long>(len)); in do_write()
2032 unsigned char* const oview = of->get_output_view(off, len); in do_write()
2081 of->write_output_view(off, len, oview); in do_write()
3083 off_t off = this->first_input_offset_; in update_data_size() local
3088 off = align_address(off, p->addralign()); in update_data_size()
3089 off += p->current_data_size(); in update_data_size()
3092 this->set_current_data_size_for_child(off); in update_data_size()
3113 off_t off = startoff + this->first_input_offset_; in set_final_data_size() local
3118 off = align_address(off, p->addralign()); in set_final_data_size()
3119 p->set_address_and_file_offset(address + (off - startoff), off, in set_final_data_size()
3121 off += p->data_size(); in set_final_data_size()
3123 data_size = off - startoff; in set_final_data_size()
3682 off_t off = this->offset() + this->first_input_offset_; in do_write() local
3687 off_t aligned_off = align_address(off, p->addralign()); in do_write()
3688 if (this->generate_code_fills_at_write_ && (off != aligned_off)) in do_write()
3690 size_t fill_len = aligned_off - off; in do_write()
3692 of->write(off, fill_data.data(), fill_data.size()); in do_write()
3696 off = aligned_off + p->data_size(); in do_write()
3707 off_t off = p->start_; in do_write() local
3708 size_t len = p->end_ - off; in do_write()
3709 this->free_space_fill_->write(of, this->offset() + off, len); in do_write()
3713 off_t off = this->current_data_size_for_child() - this->patch_space_; in do_write() local
3714 this->free_space_fill_->write(of, this->offset() + off, in do_write()
3732 off_t off = this->first_input_offset_; in create_postprocessing_buffer() local
3737 off = align_address(off, p->addralign()); in create_postprocessing_buffer()
3739 off += p->data_size(); in create_postprocessing_buffer()
3741 this->set_current_data_size_for_child(off); in create_postprocessing_buffer()
3771 off_t off = this->first_input_offset_; in write_to_postprocessing_buffer() local
3776 off_t aligned_off = align_address(off, p->addralign()); in write_to_postprocessing_buffer()
3777 if (this->generate_code_fills_at_write_ && (off != aligned_off)) in write_to_postprocessing_buffer()
3779 size_t fill_len = aligned_off - off; in write_to_postprocessing_buffer()
3781 memcpy(buffer + off, fill_data.data(), fill_data.size()); in write_to_postprocessing_buffer()
3785 off = aligned_off + p->data_size(); in write_to_postprocessing_buffer()
3977 off_t off = 0; in adjust_section_offsets() local
3982 off = align_address(off, p->addralign()); in adjust_section_offsets()
3984 p->relobj()->set_section_offset(p->shndx(), off); in adjust_section_offsets()
3985 off += p->data_size(); in adjust_section_offsets()
4282 off_t off = *poff; in set_section_addresses() local
4335 if (desired_align < off % page_align) in set_section_addresses()
4336 off += page_align; in set_section_addresses()
4337 off += desired_align - off % page_align; in set_section_addresses()
4338 addr += off - orig_off; in set_section_addresses()
4339 orig_off = off; in set_section_addresses()
4340 *poff = off; in set_section_addresses()
4359 off_t off = 0; in set_section_addresses() local
4381 off = *poff; in set_section_addresses()
4400 *poff = off; in set_section_addresses()
4410 if (orig_off % abi_pagesize == 0 && off % abi_pagesize != 0) in set_section_addresses()
4412 size_t fill_size = abi_pagesize - (off % abi_pagesize); in set_section_addresses()
4422 fill->set_file_offset(off); in set_section_addresses()
4425 off += fill_size; in set_section_addresses()
4426 gold_assert(off % abi_pagesize == 0); in set_section_addresses()
4433 *poff = off; in set_section_addresses()
4455 off_t off = startoff; in set_section_list_addresses() local
4504 off = align_address(off, align); in set_section_list_addresses()
4505 (*p)->set_address_and_file_offset(addr + (off - startoff), off); in set_section_list_addresses()
4512 off = layout->allocate(current_size, align, startoff); in set_section_list_addresses()
4513 if (off == -1) in set_section_list_addresses()
4520 (*p)->set_address_and_file_offset(addr + (off - startoff), off); in set_section_list_addresses()
4534 off = (*p)->offset(); in set_section_list_addresses()
4540 if ((*p)->address() >= addr + (off - startoff)) in set_section_list_addresses()
4541 off += (*p)->address() - (addr + (off - startoff)); in set_section_list_addresses()
4552 static_cast<unsigned long long>(addr + (off - startoff)); in set_section_list_addresses()
4565 (*p)->set_file_offset(off); in set_section_list_addresses()
4572 static_cast<long>(off), in set_section_list_addresses()
4582 off += (*p)->data_size(); in set_section_list_addresses()
4584 if (off > maxoff) in set_section_list_addresses()
4585 maxoff = off; in set_section_list_addresses()