Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 25 of 47) sorted by relevance

12

/toolchain/binutils/binutils-2.25/gold/
Dreduced_debug_output.cc226 off_t data_size = this->data_size(); in do_write() local
227 unsigned char* view = of->get_output_view(offset, data_size); in do_write()
232 memcpy(view, &this->data_.front(), data_size); in do_write()
233 of->write_output_view(offset, data_size, view); in do_write()
366 off_t data_size = this->data_size(); in do_write() local
367 unsigned char* view = of->get_output_view(offset, data_size); in do_write()
372 memcpy(view, &this->data_.front(), data_size); in do_write()
373 of->write_output_view(offset, data_size, view); in do_write()
Dcompressed_output.cc238 off_t data_size = this->data_size(); in do_write() local
239 unsigned char* view = of->get_output_view(offset, data_size); in do_write()
241 memcpy(view, this->postprocessing_buffer(), data_size); in do_write()
243 memcpy(view, this->data_, data_size); in do_write()
244 of->write_output_view(offset, data_size, view); in do_write()
Dattributes.cc141 size_t data_size = 0; in size() local
143 data_size += this->known_attributes_[i].size(i); in size()
148 data_size += p->second->size(p->first); in size()
151 return ((data_size != 0 in size()
153 ? data_size + strlen(this->name()) + 2 + 2 * 4 in size()
260 size_t data_size = 0; in size() local
262 data_size += this->vendor_object_attributes_[vendor]->size(); in size()
265 return data_size != 0 ? data_size + 1 : 0; in size()
448 convert_to_section_size_type(this->data_size()); in do_write()
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()
Doutput.cc269 off_t all_shdrs_size = this->data_size(); in do_sized_write()
283 size_t section_count = (this->data_size() in do_sized_write()
402 gold_assert(all_phdrs_size == this->data_size()); in do_sized_write()
554 size_t phnum = (this->segment_header_->data_size() in do_sized_write()
562 size_t section_count = (this->section_header_->data_size() in do_sized_write()
566 oehdr.put_e_shnum(this->section_header_->data_size() in do_sized_write()
649 of->write(this->offset(), this->p_, this->data_size()); in do_write()
1263 const off_t oview_size = this->data_size(); in do_write()
1324 convert_to_section_size_type(this->data_size()); in do_write()
1674 const off_t oview_size = this->data_size(); in do_write()
[all …]
Dgdb-index.cc1203 section_size_type data_size = gdb_index_hdr_size; in set_final_data_size() local
1204 data_size += this->comp_units_.size() * gdb_index_cu_size; in set_final_data_size()
1205 this->tu_offset_ = data_size; in set_final_data_size()
1206 data_size += this->type_units_.size() * gdb_index_tu_size; in set_final_data_size()
1207 this->addr_offset_ = data_size; in set_final_data_size()
1209 data_size += this->ranges_[i].ranges->size() * gdb_index_addr_size; in set_final_data_size()
1210 this->symtab_offset_ = data_size; in set_final_data_size()
1211 data_size += this->gdb_symtab_->capacity() * gdb_index_sym_size; in set_final_data_size()
1212 this->cu_pool_offset_ = data_size; in set_final_data_size()
1213 data_size += cu_vector_size; in set_final_data_size()
[all …]
Doutput.h80 data_size() const in data_size() function
408 set_data_size(off_t data_size) in set_data_size() argument
412 this->data_size_ = data_size; in set_data_size()
434 set_current_data_size_for_child(off_t data_size) in set_current_data_size_for_child() argument
437 this->data_size_ = data_size; in set_current_data_size_for_child()
634 Output_section_data(off_t data_size, uint64_t addralign, in Output_section_data() argument
638 this->set_data_size(data_size); in Output_section_data()
775 Output_section_data_build(off_t data_size, uint64_t addralign) in Output_section_data_build() argument
776 : Output_section_data(data_size, addralign, false) in Output_section_data_build()
781 set_current_data_size(off_t data_size) in set_current_data_size() argument
[all …]
Dehframe.cc96 unsigned int data_size = eh_frame_hdr_size + 4; in set_final_data_size() local
101 data_size += 4 + 8 * fde_count; in set_final_data_size()
104 this->set_data_size(data_size); in set_final_data_size()
146 const off_t oview_size = this->data_size(); in do_sized_write()
308 off_t eh_frame_size = this->eh_frame_section_->data_size(); in get_fde_addresses()
1151 const off_t oview_size = this->data_size(); in do_write()
Dlayout.cc328 info.data_size = os->is_data_size_valid() ? os->data_size() : -1; in read_sections()
347 off_t data_size = os->is_data_size_valid() ? os->data_size() : -1; in verify_sections() local
359 || data_size != info.data_size in verify_sections()
2517 size_t sizeof_headers = (file_header->data_size() in relaxation_loop_body()
2518 + segment_headers->data_size()); in relaxation_loop_body()
3508 off += (*p)->data_size(); in set_segment_offsets()
3804 off += file_header->data_size(); in set_relocatable_section_offsets()
3824 off += (*p)->data_size(); in set_relocatable_section_offsets()
3896 if ((*p)->data_size() > current_size) in set_section_offsets()
3906 static_cast<long>((*p)->data_size()), in set_section_offsets()
[all …]
Dincremental.cc275 elfcpp::Elf_strtab strtab(strtab_view.data(), strtab_location.data_size); in setup_readers()
281 symtab_location.data_size); in setup_readers()
284 relocs_location.data_size); in setup_readers()
536 shstrndx_location.data_size); in do_init_layout()
638 this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in do_process_got_plt()
800 size_t view_size = os->data_size(); in do_apply_incremental_relocs()
834 *nsyms = this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in get_symtab_view()
838 this->main_strtab_loc_.data_size); in get_symtab_view()
1399 const off_t oview_size = this->data_size(); in do_write()
1405 const off_t symtab_size = inputs->symtab_section()->data_size(); in do_write()
[all …]
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()
1514 off_t data_size; 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()
652 off_t data_size; 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()
2336 *plen = convert_to_section_size_type(loc.data_size); in do_section_contents()
Di386.cc503 return this->got_->data_size(); in got_size()
1030 gold_assert(this->data_size() >= 12); in do_write()
1380 convert_to_section_size_type(this->data_size()); in do_write()
1385 || (got_file_offset + this->got_plt_->data_size() in do_write()
1388 convert_to_section_size_type(this->got_plt_->data_size() in do_write()
1389 + this->got_irelative_->data_size()); in do_write()
1437 unsigned char* got_irelative_view = got_view + this->got_plt_->data_size(); in do_write()
2638 uint32_t data_size = this->got_plt_->current_data_size(); in do_finalize_sections() local
2639 symtab->get_sized_symbol<32>(sym)->set_symsize(data_size); in do_finalize_sections()
3054 + target->got_plt_section()->data_size()); in relocate_tls()
Dincremental-dump.cc253 elfcpp::Elf_strtab strtab(strtab_view.data(), strtab_location.data_size); in dump_incremental_inputs()
266 unsigned int nsyms = symtab_location.data_size / sym_size; in dump_incremental_inputs()
Daarch64.cc461 gold_assert(this->data_size() >= size / 8); in do_write()
476 convert_to_section_size_type(this->data_size()); in do_write()
1600 view_size == static_cast<section_size_type>(this->data_size())); in relocate_stubs()
1676 convert_to_section_size_type(this->data_size()); in do_write()
2092 section_size_type view_size = stub_table->data_size(); in do_relocate_sections()
2453 off += this->stub_table_->data_size(); in set_final_data_size()
2672 section_begin_offset + p->data_size(); in group_sections()
2725 && (p->data_size() != 0)) in group_sections()
4882 convert_to_section_size_type(this->data_size()); in do_write()
4886 gold_assert(got_file_offset + this->got_plt_->data_size() in do_write()
[all …]
Dx86_64.cc61 Output_data_got_plt_x86_64(Layout* layout, off_t data_size) in Output_data_got_plt_x86_64() argument
62 : Output_section_data_build(data_size, 8), in Output_data_got_plt_x86_64()
579 return this->got_->data_size(); in got_size()
1212 gold_assert(this->data_size() >= 24); in do_write()
1640 convert_to_section_size_type(this->data_size()); in do_write()
1645 || (got_file_offset + this->got_plt_->data_size() in do_write()
1648 convert_to_section_size_type(this->got_plt_->data_size() in do_write()
1649 + this->got_irelative_->data_size()); in do_write()
3229 uint64_t data_size = this->got_plt_->current_data_size(); in do_finalize_sections() local
3230 symtab->get_sized_symbol<size>(sym)->set_symsize(data_size); in do_finalize_sections()
[all …]
Dtarget.cc212 *len = plt->data_size(); in do_plt_fde_location()
Dscript-sections.cc1039 unsigned char* view = of->get_output_view(this->offset(), this->data_size()); in do_write()
1041 of->write_output_view(this->offset(), this->data_size(), view); in do_write()
1065 switch (this->data_size()) in endian_write_to_buffer()
1663 uint64_t data_size = sis.data_size(); in set_section_addresses() local
1683 dot = address + data_size; in set_section_addresses()
2915 uint64_t size = p->data_size(); in set_section_addresses()
/toolchain/binutils/binutils-2.25/binutils/
Dresres.c201 buff = res_alloc (reshdr.data_size); in read_resource_entry()
203 read_res_data (wrbfd, off, omax, buff, reshdr.data_size); in read_resource_entry()
205 r = bin_to_res (wrbfd, type, buff, reshdr.data_size); in read_resource_entry()
405 reshdr.data_size = datasize; in write_res_header()
429 windres_put_32 (wrbfd, brh.data_size, hdr->data_size); in write_res_data_hdr()
446 reshdr->data_size = windres_get_32 (wrbfd, brh.data_size, 4); in read_res_data_hdr()
582 if (reshdr.data_size != 0) in probe_binary()
596 if ((off - BIN_RES_HDR_SIZE + reshdr.data_size + reshdr.header_size) > omax) in probe_binary()
610 if (reshdr.data_size != 0) in skip_null_resource()
Dwindint.h37 rc_uint_type data_size; member
43 bfd_byte data_size[4]; member
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/
Dobjdump.exp91 if ![regexp $want $got all text_name text_size data_name data_size] then {
95 verbose "data name is $data_name size is $data_size"
108 if {[expr "0x$text_size"] < $ets || [expr "0x$data_size"] < $eds} then {
/toolchain/binutils/binutils-2.25/opcodes/
Dmmix-dis.c306 info->data_size = 8; in print_insn_mmix()
311 info->data_size = 4; in print_insn_mmix()
316 info->data_size = 2; in print_insn_mmix()
321 info->data_size = 1; in print_insn_mmix()
Dmips-dis.c1745 info->data_size = 0; in print_insn_mips()
1934 info->data_size = 1 << int_op->shift; in print_mips16_insn_arg()
2040 info->data_size = 0; in print_insn_mips16()
2224 info->data_size = 0; in print_insn_micromips()
/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 …]
/toolchain/binutils/binutils-2.25/include/
Ddis-asm.h206 char data_size; /* Size of data reference in insn, in bytes */ member

12