Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 25 of 34) sorted by relevance

12

/toolchain/binutils/binutils-2.25/gold/
Dnacl.h44 Location(off_t file_offset, off_t data_size) in Location() argument
45 : offset_(file_offset), size_(data_size) in Location()
62 View(File_read& file, off_t file_offset, off_t data_size) in View() argument
63 : data_(file.get_view(0, file_offset, data_size, true, false)) in View()
73 View view(off_t file_offset, off_t data_size) in view() argument
75 return View(this->file_, this->offset_ + file_offset, data_size); in view()
Ddwp.cc824 return this->get_view(loc.file_offset, *plen, true, cache); in do_section_contents()
1649 off_t file_offset = this->next_file_offset_; in add_contribution() local
1650 gold_assert(this->size_ > 0 && file_offset > 0); in add_contribution()
1652 file_offset = align_offset(file_offset, align); in add_contribution()
1654 section.offset = file_offset; in add_contribution()
1668 section_offset = file_offset - section.offset; in add_contribution()
1669 section.size = file_offset + len - section.offset; in add_contribution()
1671 ::fseek(this->fd_, file_offset, SEEK_SET); in add_contribution()
1675 this->next_file_offset_ = file_offset + len; in add_contribution()
1848 off_t file_offset = this->next_file_offset_; in finalize() local
[all …]
Dfileread.h186 off_t file_offset; member
193 : file_offset(o), size(s), buffer(b) in Read_multiple_entry()
400 page_offset(off_t file_offset) in page_offset() argument
401 { return file_offset & ~ (page_size - 1); } in page_offset()
Dfileread.cc646 off_t first_offset = rm[start].file_offset; in do_readv()
653 if (i_entry.file_offset > last_offset) in do_readv()
655 size_t skip = i_entry.file_offset - last_offset; in do_readv()
671 last_offset = i_entry.file_offset + i_entry.size; in do_readv()
716 off_t i_off = i_entry.file_offset; in read_multiple()
724 off_t j_off = j_entry.file_offset; in read_multiple()
749 gold_assert((convert_to_section_size_type(k_entry.file_offset in read_multiple()
755 v + (k_entry.file_offset - i_off), in read_multiple()
Darchive.cc305 this->armap_[i].file_offset = elfcpp::Swap<32, true>::readval(pword); in read_armap()
308 if (this->armap_[i].file_offset != last_seen_offset) in read_armap()
310 last_seen_offset = this->armap_[i].file_offset; in read_armap()
782 if (this->armap_[i].file_offset == last_seen_offset) in add_symbols()
787 if (this->seen_offsets_.find(this->armap_[i].file_offset) in add_symbols()
791 last_seen_offset = this->armap_[i].file_offset; in add_symbols()
812 last_seen_offset = this->armap_[i].file_offset; in add_symbols()
1051 if (this->seen_offsets_.find(p->file_offset) in do_for_all_unused_symbols()
Dincremental.h1507 view(off_t file_offset, section_size_type data_size) in view() argument
1508 { return View(this->output_->get_input_view(file_offset, data_size)); } in view()
1513 off_t file_offset; member
1517 : file_offset(fo), data_size(ds) in Location()
1521 : file_offset(0), data_size(0) in Location()
1528 { return View(this->view(loc.file_offset, loc.data_size)); } in view()
Dobject.h641 view(off_t file_offset, section_size_type data_size) in view() argument
642 { return View(this->get_view(file_offset, data_size, true, true)); } in view()
651 off_t file_offset; member
655 : file_offset(fo), data_size(ds) in Location()
661 { return View(this->get_view(loc.file_offset, loc.data_size, true, true)); } in view()
2342 return this->get_view(loc.file_offset, *plen, true, cache); in do_section_contents()
Dreloc.cc708 { return rme1.file_offset < rme2.file_offset; } in operator ()()
840 if (!rm.empty() && rm.back().file_offset > sh_offset) in write_sections()
856 if (!rm.empty() && rm.back().file_offset > sh_offset) in write_sections()
Darchive.h365 off_t file_offset; member
Ddynobj.h222 return this->get_view(loc.file_offset, *plen, true, cache); in do_section_contents()
/toolchain/binutils/binutils-2.25/include/
Doasys.h62 file_ptr file_offset; member
77 bfd_byte file_offset[4]; member
90 bfd_byte file_offset[4]; member
/toolchain/binutils/binutils-2.25/include/aout/
Dranlib.h54 unsigned long file_offset; member
63 #define ran_off file_offset
/toolchain/binutils/binutils-2.25/bfd/
Dbfdwin.c142 file_ptr file_offset, offset2; in bfd_get_file_window() local
164 file_offset = offset - offset2; in bfd_get_file_window()
165 real_size = offset + size - file_offset; in bfd_get_file_window()
180 fd, file_offset); in bfd_get_file_window()
Dliboasys.h55 file_ptr file_offset; member
Dlibieee.h118 file_ptr file_offset; member
Decoff.c2947 unsigned int name_offset, file_offset; in _bfd_ecoff_slurp_armap() local
2951 file_offset = H_GET_32 (abfd, (raw_ptr + 4)); in _bfd_ecoff_slurp_armap()
2952 if (file_offset == 0) in _bfd_ecoff_slurp_armap()
2986 unsigned int name_offset, file_offset; in _bfd_ecoff_slurp_armap() local
2988 file_offset = H_GET_32 (abfd, (raw_ptr + 4)); in _bfd_ecoff_slurp_armap()
2989 if (file_offset == 0) in _bfd_ecoff_slurp_armap()
2993 symdef_ptr->file_offset = file_offset; in _bfd_ecoff_slurp_armap()
3581 unsigned int file_offset; in ecoff_link_add_archive_symbols() local
3618 file_offset = H_GET_32 (abfd, hashtable + (hash * 8) + 4); in ecoff_link_add_archive_symbols()
3619 if (file_offset == 0) in ecoff_link_add_archive_symbols()
[all …]
Darchive64.c115 carsyms->file_offset = bfd_getb64 (raw_armap + i * 8); in bfd_elf64_archive_slurp_armap()
Doasys.c287 record.file_offset = H_GET_32 (abfd, record_ext.file_offset); in oasys_archive_p()
308 module[i].pos = record.file_offset; in oasys_archive_p()
Dxsym.h202 unsigned long file_offset; member
Dieee.c1371 t->file_offset = must_parse_int (&(ieee->h)); in ieee_archive_p()
1402 if (bfd_seek (abfd, ieee->elements[i].file_offset, SEEK_SET) != 0) in ieee_archive_p()
1416 ieee->elements[i].file_offset = 0; in ieee_archive_p()
1418 ieee->elements[i].file_offset = must_parse_int (&(ieee->h)); in ieee_archive_p()
3662 if (p->file_offset != (file_ptr) 0) in ieee_openr_next_archived_file()
3667 p->abfd->origin = p->file_offset; in ieee_openr_next_archived_file()
Dvms-lib.c157 cs->idx[cs->nbr].file_offset = (idx_vbn - 1) * VMS_BLOCK_SIZE + idx_off; in vms_add_index()
1311 file_off = tdata->modules[modidx].file_offset; in _bfd_vms_lib_get_module()
1399 file_off = tdata->artdata.symdefs[symidx].file_offset; in _bfd_vms_lib_get_elt_at_index()
1404 if (tdata->modules[modidx].file_offset == file_off) in _bfd_vms_lib_get_elt_at_index()
Darchive.c734 return _bfd_get_elt_at_filepos (abfd, entry->file_offset); in _bfd_generic_get_elt_at_index()
944 set->file_offset = H_GET_32 (abfd, rbase + BSD_SYMDEF_OFFSET_SIZE); in do_slurp_bsd_armap()
1044 carsyms->file_offset = swap ((bfd_byte *) rawptr); in do_slurp_coff_armap()
1239 set->file_offset = H_GET_32 (abfd, rbase + BSD_SYMDEF_OFFSET_SIZE); in bfd_slurp_bsd_armap_f2()
Dlinker.c975 if (needed && arsym->file_offset == last_ar_offset) in _bfd_generic_link_add_archive_symbols()
1001 if (last_ar_offset != arsym->file_offset) in _bfd_generic_link_add_archive_symbols()
1003 last_ar_offset = arsym->file_offset; in _bfd_generic_link_add_archive_symbols()
1031 while (arsyms[mark].file_offset == last_ar_offset); in _bfd_generic_link_add_archive_symbols()
Dbfd-in.h243 file_ptr file_offset; /* Look here to find the file. */ member
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp.h1027 file->view(loc.file_offset, loc.data_size).data()))
1173 file->view(loc.file_offset, loc.data_size).data()))
1288 file->view(loc.file_offset, loc.data_size).data()))
1386 file->view(loc.file_offset, loc.data_size).data()))
1496 file->view(loc.file_offset, loc.data_size).data()))
1546 file->view(loc.file_offset, loc.data_size).data()))
1605 file->view(loc.file_offset, loc.data_size).data()))
1663 file->view(loc.file_offset, loc.data_size).data()))
1752 file->view(loc.file_offset, loc.data_size).data()))
1800 file->view(loc.file_offset, loc.data_size).data()))
[all …]

12