Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 1 – 25 of 121) sorted by relevance

12345

/toolchain/binutils/binutils-2.25/bfd/
Dsco5-core.c82 if (bfd_seek (abfd, (file_ptr) filepos, SEEK_SET) != 0 in read_uarea()
127 SEEK_SET) != 0) in sco5_core_file_p()
137 if ((bfd_seek (abfd, (file_ptr) (coresize - coffset_siz), SEEK_SET) != 0) in sco5_core_file_p()
185 SEEK_SET) != 0) in sco5_core_file_p()
190 || (bfd_seek (abfd, (file_ptr) cheadoffs, SEEK_SET) != 0) in sco5_core_file_p()
206 if ((bfd_seek (abfd, (file_ptr) chead.cs_hseek, SEEK_SET) != 0) in sco5_core_file_p()
Dmach-o.c1096 if (bfd_seek (abfd, 0, SEEK_SET) != 0 in bfd_mach_o_write_header()
1124 if (bfd_seek (abfd, command->offset + offset, SEEK_SET) != 0 in bfd_mach_o_write_thread()
1143 if (bfd_seek (abfd, command->offset + BFD_MACH_O_LC_SIZE, SEEK_SET) != 0 in bfd_mach_o_write_dylinker()
1169 if (bfd_seek (abfd, command->offset + BFD_MACH_O_LC_SIZE, SEEK_SET) != 0 in bfd_mach_o_write_dylib()
1192 if (bfd_seek (abfd, command->offset + BFD_MACH_O_LC_SIZE, SEEK_SET) != 0 in bfd_mach_o_write_main()
1216 if (bfd_seek (abfd, command->offset + BFD_MACH_O_LC_SIZE, SEEK_SET) != 0 in bfd_mach_o_write_dyld_info()
1221 if (bfd_seek (abfd, cmd->rebase_off, SEEK_SET) != 0 in bfd_mach_o_write_dyld_info()
1227 if (bfd_seek (abfd, cmd->bind_off, SEEK_SET) != 0 in bfd_mach_o_write_dyld_info()
1233 if (bfd_seek (abfd, cmd->weak_bind_off, SEEK_SET) != 0 in bfd_mach_o_write_dyld_info()
1239 if (bfd_seek (abfd, cmd->lazy_bind_off, SEEK_SET) != 0 in bfd_mach_o_write_dyld_info()
[all …]
Daix5ppc-core.c67 if (bfd_seek (abfd, 0, SEEK_SET) != 0) in xcoff64_core_p()
178 if (bfd_seek (abfd, ld_offset, SEEK_SET) != 0) in xcoff64_core_p()
205 if (bfd_seek (abfd, core.c_vmm, SEEK_SET) != 0) in xcoff64_core_p()
252 if (bfd_seek (core_bfd, 0, SEEK_SET) != 0) in xcoff64_core_file_matches_executable_p()
259 if (bfd_seek (core_bfd, core.c_loader, SEEK_SET) != 0) in xcoff64_core_file_matches_executable_p()
Dcoff-ia64.c79 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in ia64coff_object_p()
105 if (bfd_seek (abfd, offset, SEEK_SET) != 0 in ia64coff_object_p()
124 if (bfd_seek (abfd, offset - sizeof (dos_hdr), SEEK_SET) != 0) in ia64coff_object_p()
Dbfdio.c287 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
294 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek()
313 if (direction == SEEK_SET) in bfd_seek()
349 if (direction == SEEK_SET) in bfd_seek()
531 if (direction == SEEK_SET) in memory_bseek()
Di386lynx.c53 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
61 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF(*execp)), SEEK_SET) \
67 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF(*execp)), SEEK_SET) \
73 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF(*execp)), SEEK_SET) \
405 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0) in NAME()
Dsysdep.h112 #ifndef SEEK_SET
113 #define SEEK_SET 0 macro
Daout-adobe.c310 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in aout_adobe_write_object_contents()
336 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (*exec_hdr (abfd))), SEEK_SET) in aout_adobe_write_object_contents()
343 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (*exec_hdr (abfd))), SEEK_SET) in aout_adobe_write_object_contents()
352 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (*exec_hdr (abfd))), SEEK_SET) in aout_adobe_write_object_contents()
416 if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0) in aout_adobe_set_section_contents()
Delfcore.h197 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) in elf_core_file_p()
234 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) in elf_core_file_p()
241 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_core_file_p()
Dvms-lib.c182 if (bfd_seek (abfd, off, SEEK_SET) != 0 in vms_add_indexes_from_list()
203 if (bfd_seek (abfd, off, SEEK_SET) != 0 in vms_read_block()
218 if (bfd_seek (abfd, off, SEEK_SET) != 0 in vms_write_block()
356 if (bfd_seek (abfd, off, SEEK_SET) != 0 in vms_traverse_index()
393 if (bfd_seek (abfd, LHD_IDXDESC + idx * IDD_LENGTH, SEEK_SET) != 0 in vms_lib_read_index()
555 if (bfd_seek (abfd, (dcxvbn - 1) * VMS_BLOCK_SIZE, SEEK_SET) != 0 in _bfd_vms_lib_archive_p()
823 if (bfd_seek (abfd->my_archive, vec->next_block, SEEK_SET) != 0) in vms_lib_read_block()
1154 if (whence == SEEK_SET && offset == 0) in vms_lib_bseek()
1162 if (bfd_seek (abfd->my_archive, vec->first_block, SEEK_SET) != 0) in vms_lib_bseek()
1248 if (bfd_seek (el->my_archive, filepos, SEEK_SET) != 0) in vms_lib_bopen()
[all …]
Dxsym.c134 bfd_seek (abfd, table_offset, SEEK_SET); in bfd_sym_read_name_table()
573 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_resources_table_entry()
624 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_modules_table_entry()
674 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_file_references_table_entry()
724 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_modules_table_entry()
774 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_variables_table_entry()
824 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_statements_table_entry()
874 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_labels_table_entry()
924 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_types_table_entry()
974 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_file_references_index_table_entry()
[all …]
Dformat.c244 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) /* rewind! */ in bfd_check_format_matches()
296 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in bfd_check_format_matches()
434 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in bfd_check_format_matches()
Dlynx-core.c105 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in lynx_core_file_p()
137 if (bfd_seek (abfd, (file_ptr) pagesize, SEEK_SET) != 0) in lynx_core_file_p()
Dcoff-stgo32.c334 if ((long) lseek (f, exe_start, SEEK_SET) != exe_start) in create_go32_stub()
356 lseek (f, 0L, SEEK_SET); in create_go32_stub()
420 if (bfd_seek (abfd, 0, SEEK_SET) != 0) in go32_check_format()
Di386msdos.c98 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in msdos_write_object_contents()
120 if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0 in msdos_set_section_contents()
Drs6000-core.c281 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in read_hdr()
570 if (bfd_seek (abfd, c_loader, SEEK_SET) != 0) in rs6000coff_core_p()
606 if (bfd_seek (abfd, c_vmm, SEEK_SET) != 0) in rs6000coff_core_p()
679 if (bfd_seek (core_bfd, c_loader + size, SEEK_SET) != 0) in rs6000coff_core_file_matches_executable_p()
Dsom.c2091 SEEK_SET) != 0) in setup_sections()
2113 SEEK_SET) != 0) in setup_sections()
2152 SEEK_SET) != 0) in setup_sections()
2161 SEEK_SET) != 0) in setup_sections()
2424 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in som_object_p()
2441 if (bfd_seek (abfd, loc, SEEK_SET) != 0) in som_object_p()
2458 if (bfd_seek (abfd, current_offset, SEEK_SET) != 0) in som_object_p()
2959 if (bfd_seek (abfd, current_offset + total_reloc_size, SEEK_SET) != 0) in som_write_fixups()
3315 if (bfd_seek (abfd, (file_ptr) current_offset, SEEK_SET) != 0) in som_write_space_strings()
3430 if (bfd_seek (abfd, (file_ptr) current_offset, SEEK_SET) != 0) in som_write_symbol_strings()
[all …]
Dpef.c381 bfd_seek (abfd, section->header_offset, SEEK_SET); in bfd_pef_scan_section()
444 if (bfd_seek (abfd, loadersec->filepos, SEEK_SET) < 0 in bfd_pef_print_loader_section()
474 if (bfd_seek (abfd, loadersec->filepos, SEEK_SET) < 0) in bfd_pef_scan_start_address()
562 bfd_seek (abfd, 0, SEEK_SET); in bfd_pef_read_header()
893 if (bfd_seek (abfd, codesec->filepos, SEEK_SET) < 0) in bfd_pef_parse_symbols()
904 if (bfd_seek (abfd, loadersec->filepos, SEEK_SET) < 0) in bfd_pef_parse_symbols()
1069 bfd_seek (abfd, 0, SEEK_SET); in bfd_pef_xlib_read_header()
Dlibaout.h642 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
651 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF(*execp)), SEEK_SET) != 0)\
658 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (*execp)), SEEK_SET) != 0) \
663 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (*execp)), SEEK_SET) != 0) \
Dbfdwin.c156 || abfd->iovec->bseek (abfd, offset, SEEK_SET) != 0)) in bfd_get_file_window()
237 if (bfd_seek (abfd, offset, SEEK_SET) != 0) in bfd_get_file_window()
Driscix.c128 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
137 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (* execp)), SEEK_SET) != 0)\
143 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (* execp)), SEEK_SET) != 0)\
148 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (* execp)), SEEK_SET) != 0)\
/toolchain/binutils/binutils-2.25/ld/
Dsysdep.h100 #ifndef SEEK_SET
101 #define SEEK_SET 0 macro
/toolchain/binutils/binutils-2.25/binutils/
Dsysdep.h127 #ifndef SEEK_SET
128 #define SEEK_SET 0 macro
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object.c42 #ifndef SEEK_SET
43 #define SEEK_SET 0 macro
66 if (lseek (descriptor, offset, SEEK_SET) < 0) in simple_object_internal_read()
110 if (lseek (descriptor, offset, SEEK_SET) < 0) in simple_object_internal_write()
/toolchain/binutils/binutils-2.25/gold/
Dpread.c39 if (lseek(fd, offset, SEEK_SET) != offset) in pread()

12345