Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 93) sorted by relevance

1234

/toolchain/binutils/binutils-2.25/gold/
Ddwarf_reader.h61 off_t
67 advance(off_t offset) in advance()
73 get_reloc_target(off_t reloc_offset, off_t* target_offset) in get_reloc_target()
91 virtual off_t
96 do_advance(off_t offset) = 0;
99 do_get_reloc_target(off_t reloc_offset, off_t* target_offset) = 0;
115 off_t symtab_size) in Sized_elf_reloc_mapper()
125 virtual off_t
131 do_advance(off_t offset) in do_advance()
135 do_get_reloc_target(off_t reloc_offset, off_t* target_offset);
[all …]
Dgdb-index.h63 off_t symbols_size,
70 add_comp_unit(off_t cu_offset, off_t cu_length) in add_comp_unit()
78 add_type_unit(off_t tu_offset, off_t type_offset, uint64_t signature) in add_type_unit()
99 off_t
100 find_pubname_offset(off_t cu_offset);
104 off_t
105 find_pubtype_offset(off_t cu_offset);
111 pubnames_read(const Relobj* object, off_t offset);
116 set_pubnames_read(const Relobj* object, off_t offset);
157 off_t symbols_size);
[all …]
Dfileread.h89 off_t size);
136 off_t
153 get_view(off_t offset, off_t start, section_size_type size, bool aligned,
159 read(off_t start, section_size_type size, void* p);
168 get_lasting_view(off_t offset, off_t start, section_size_type size,
186 off_t file_offset;
192 Read_multiple_entry(off_t o, section_size_type s, unsigned char* b) in Read_multiple_entry()
204 read_multiple(off_t base, const Read_multiple&);
266 View(off_t start, section_size_type size, const unsigned char* data, in View()
275 off_t
[all …]
Dgdb-index.cc182 off_t symbols_size, in Gdb_index_info_reader()
202 visit_compilation_unit(off_t cu_offset, off_t cu_length, Dwarf_die*);
206 visit_type_unit(off_t tu_offset, off_t tu_length, off_t type_offset,
222 Declaration_pair(off_t parent_offset, const char* name) in Declaration_pair()
226 off_t parent_offset_;
229 typedef Unordered_map<off_t, Declaration_pair> Declaration_map;
266 get_context(off_t die_offset);
282 read_pubtable(Dwarf_pubnames_table* table, off_t offset);
321 Gdb_index_info_reader::visit_compilation_unit(off_t cu_offset, off_t cu_length, in visit_compilation_unit()
332 Gdb_index_info_reader::visit_type_unit(off_t tu_offset, off_t, in visit_type_unit() argument
[all …]
Darchive.h289 get_view(off_t start, section_size_type size, bool aligned, bool cache) in get_view()
294 read_armap(off_t start, section_size_type size);
299 off_t
300 read_header(off_t off, bool cache, std::string* pname, off_t* nested_off);
304 off_t
305 interpret_header(const Archive_header* hdr, off_t off, std::string* pname,
306 off_t* nested_off) const;
314 get_file_and_offset(off_t off, Input_file** input_file, off_t* memoff,
315 off_t* memsize, std::string* member_name);
319 get_elf_object_for_member(off_t off, bool*);
[all …]
Derrors.cc136 size_t relnum, off_t reloffset, in error_at_location()
152 size_t relnum, off_t reloffset, in warning_at_location()
281 size_t relnum, off_t reloffset, in gold_error_at_location()
296 size_t relnum, off_t reloffset, in gold_warning_at_location()
320 size_t relnum, off_t reloffset) in gold_undefined_symbol_at_location()
330 size_t relnum, off_t reloffset,
338 size_t relnum, off_t reloffset,
346 size_t relnum, off_t reloffset,
354 size_t relnum, off_t reloffset,
362 size_t relnum, off_t reloffset,
[all …]
Dnacl.h37 Sniff_file(Input_file* input_file, off_t offset) in Sniff_file()
44 Location(off_t file_offset, off_t data_size) in Location()
48 inline off_t offset() const in offset()
55 off_t offset_;
62 View(File_read& file, off_t file_offset, off_t data_size) in View()
73 View view(off_t file_offset, off_t data_size) in view()
89 off_t offset_;
113 do_recognize(Input_file* file, off_t offset, in do_recognize()
161 recognize_nacl_file(Input_file* input_file, off_t offset) in recognize_nacl_file()
195 do_recognize_nacl_file(Input_file* input_file, off_t offset) in do_recognize_nacl_file()
Dlayout.h77 Free_list_node(off_t start, off_t end) in Free_list_node()
80 off_t start_;
81 off_t end_;
93 init(off_t len, bool extend);
98 set_min_hole_size(off_t min_hole) in set_min_hole_size()
103 remove(off_t start, off_t end);
107 off_t
108 allocate(off_t len, uint64_t align, off_t minoff);
141 off_t length_;
145 off_t min_hole_;
[all …]
Darchive.cc216 off_t header_size = this->read_header(sarmag, false, &armap_name, NULL); in setup()
221 off_t off = sarmag; in setup()
277 Archive::read_armap(off_t start, section_size_type size) in read_armap()
283 off_t last_seen_offset = -1; in read_armap()
328 off_t
329 Archive::read_header(off_t off, bool cache, std::string* pname, in read_header()
330 off_t* nested_off) in read_header()
342 off_t
343 Archive::interpret_header(const Archive_header* hdr, off_t off, in interpret_header()
344 std::string* pname, off_t* nested_off) const in interpret_header()
[all …]
Dfileread.cc71 gold_mmap(void *, size_t, int, int, int, off_t) in gold_mmap() argument
223 const unsigned char* contents, off_t size) in open()
331 File_read::find_view(off_t start, section_size_type size, in find_view()
347 off_t page = File_read::page_offset(start); in find_view()
356 && (p->second->start() + static_cast<off_t>(p->second->size()) in find_view()
357 >= start + static_cast<off_t>(size))) in find_view()
379 File_read::do_read(off_t start, section_size_type size, void* p) in do_read()
396 off_t read_pos = start; in do_read()
426 File_read::read(off_t start, section_size_type size, void* p) in read()
471 File_read::make_view(off_t start, section_size_type size, in make_view()
[all …]
Ddwarf_reader.cc62 gold_assert(static_cast<off_t>((symndx + 1) * symsize) <= this->symtab_size_); in symbol_section()
75 off_t reloc_offset, off_t* target_offset) in do_get_reloc_target()
95 off_t symtab_size) in make_elf_reloc_mapper()
172 off_t abbrev_offset) in do_read_abbrevs()
305 off_t symtab_size, in read_ranges_table()
390 off_t symtab_size, in read_range_list()
393 off_t offset) in read_range_list()
407 off_t base = 0; in read_range_list()
412 off_t start; in read_range_list()
413 off_t end; in read_range_list()
[all …]
Dftruncate.c31 extern int ftruncate (int, off_t);
36 ftruncate (int fd, off_t length) in ftruncate()
50 ftruncate (int fd, off_t length) in ftruncate()
93 ftruncate (int fd, off_t length) in ftruncate()
103 ftruncate (int fd, off_t length) in ftruncate()
Doutput.h79 off_t
87 off_t
99 off_t
186 set_address_and_file_offset(uint64_t addr, off_t off) in set_address_and_file_offset()
204 set_file_offset(off_t off) in set_file_offset()
408 set_data_size(off_t data_size) in set_data_size()
427 off_t
434 set_current_data_size_for_child(off_t data_size) in set_current_data_size_for_child()
460 off_t data_size_;
462 off_t offset_;
[all …]
Dsystem.h94 struct hash<off_t> : public std::unary_function<off_t, std::size_t>
97 operator()(off_t val) const
152 extern "C" ssize_t pread(int, void*, size_t, off_t);
156 extern "C" int ftruncate(int, off_t);
Dtarget.cc71 off_t offset, in do_make_elf_object_implementation()
107 off_t offset, const elfcpp::Ehdr<32, false>& ehdr) in do_make_elf_object()
117 off_t offset, const elfcpp::Ehdr<32, true>& ehdr) in do_make_elf_object()
127 off_t offset, const elfcpp::Ehdr<64, false>& ehdr) in do_make_elf_object()
137 off_t offset, const elfcpp::Ehdr<64, true>& ehdr) in do_make_elf_object()
209 uint64_t* address, off_t* len) const in do_plt_fde_location()
Doutput.cc78 gold_mmap(void *, size_t, int, int, int, off_t) in gold_mmap() argument
128 gold_fallocate(int o, off_t offset, off_t len) in gold_fallocate()
196 off_t
200 off_t count = 1; in do_size()
269 off_t all_shdrs_size = this->data_size(); in do_sized_write()
401 off_t all_phdrs_size = this->segment_list_.size() * phdr_size; in do_sized_write()
420 off_t
624 off_t
1262 const off_t off = this->offset(); in do_write()
1263 const off_t oview_size = this->data_size(); in do_write()
[all …]
Dobject.h346 off_t offset = 0)
373 off_t
641 view(off_t file_offset, section_size_type data_size) in view()
651 off_t file_offset;
652 off_t data_size;
654 Location(off_t fo, section_size_type ds) in Location()
665 get_view(off_t start, section_size_type size, bool aligned, bool cache) in get_view()
673 get_lasting_view(off_t start, section_size_type size, bool aligned, in get_lasting_view()
682 read(off_t start, section_size_type size, void* p) in read()
987 off_t offset_;
[all …]
Ddwp.cc392 off_t
420 do_finalize_local_symbols(unsigned int, off_t, Symbol_table*) in do_finalize_local_symbols() argument
430 do_set_local_dynsym_offset(off_t) in do_set_local_dynsym_offset() argument
505 off_t offset;
624 uint64_t addr, off_t offset, section_size_type sect_size,
631 uint64_t addr, off_t offset, section_size_type sect_size,
655 off_t next_file_offset_;
663 off_t shoff_;
707 visit_compilation_unit(off_t cu_offset, off_t cu_length, Dwarf_die*);
735 visit_compilation_unit(off_t cu_offset, off_t cu_length, Dwarf_die*);
[all …]
Dplugin.h162 claim_file(Input_file* input_file, off_t offset, off_t filesize,
398 Pluginobj(const std::string& name, Input_file* input_file, off_t offset,
399 off_t filesize);
432 off_t
453 off_t filesize_;
467 off_t offset, off_t filesize);
Dincremental.h376 add_input_section(unsigned int shndx, Stringpool::Key name_key, off_t sh_size) in add_input_section()
395 off_t
438 Input_section(unsigned int shndx, Stringpool::Key name_key, off_t sh_size) in Input_section()
443 off_t sh_size_;
593 off_t sh_size);
1018 off_t sh_offset;
1019 off_t sh_size;
1179 Incremental_symtab_reader(const unsigned char* p, off_t len) in Incremental_symtab_reader()
1197 off_t len_;
1220 Incremental_relocs_reader(const unsigned char* p, off_t len) in Incremental_relocs_reader()
[all …]
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object.c62 simple_object_internal_read (int descriptor, off_t offset, in simple_object_internal_read()
106 simple_object_internal_write (int descriptor, off_t offset, in simple_object_internal_write()
149 simple_object_start_read (int descriptor, off_t offset, in simple_object_start_read()
190 int (*pfn) (void *, const char *, off_t, off_t), in simple_object_find_sections() argument
204 off_t *offset;
206 off_t *length;
214 find_one_section (void *data, const char *name, off_t offset, off_t length) in find_one_section()
233 off_t *offset, off_t *length, in simple_object_find_section()
Dsimple-object-common.h30 off_t offset;
109 int descriptor, off_t offset, const char *segment_name,
115 off_t offset, off_t length),
158 simple_object_internal_read (int descriptor, off_t offset,
167 simple_object_internal_write (int descriptor, off_t offset,
Dsimple-object-coff.c174 off_t symptr;
180 off_t scnhdr_offset;
229 int descriptor, off_t offset, in simple_object_coff_match()
306 off_t strtab_offset; in simple_object_coff_read_strtab()
336 off_t offset, off_t length), in simple_object_coff_find_sections()
375 off_t scnptr; in simple_object_coff_find_sections()
545 off_t scnhdr_offset, size_t scnsize, in simple_object_coff_write_scnhdr()
546 off_t offset, unsigned int align, in simple_object_coff_write_scnhdr()
606 off_t scnhdr_offset; in simple_object_coff_write_to_file()
608 off_t secsym_offset; in simple_object_coff_write_to_file()
Dsimple-object-xcoff.c270 off_t symptr;
276 off_t scnhdr_offset;
293 int descriptor, off_t offset, in simple_object_xcoff_match()
363 off_t strtab_offset; in simple_object_xcoff_read_strtab()
391 off_t offset, off_t length), in simple_object_xcoff_find_sections()
431 off_t scnptr; in simple_object_xcoff_find_sections()
628 off_t scnhdr_offset, size_t scnsize, in simple_object_xcoff_write_scnhdr()
629 off_t offset, unsigned int align, in simple_object_xcoff_write_scnhdr()
703 off_t scnhdr_offset; in simple_object_xcoff_write_to_file()
705 off_t secsym_offset; in simple_object_xcoff_write_to_file()
/toolchain/binutils/binutils-2.25/include/
Dsimple-object.h56 simple_object_start_read (int descriptor, off_t offset,
73 off_t offset, off_t length),
95 const char *name, off_t *offset, off_t *length,

1234