Searched refs:VMS_BLOCK_SIZE (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | vms-lib.c | 34 #ifndef VMS_BLOCK_SIZE 35 #define VMS_BLOCK_SIZE 512 macro 173 cs->idx[cs->nbr].file_offset = (idx_vbn - 1) * VMS_BLOCK_SIZE + idx_off; in vms_add_index() 197 off = (vbn - 1) * VMS_BLOCK_SIZE + bfd_getl16 (rfa->offset); in vms_add_indexes_from_list() 218 off = (vbn - 1) * VMS_BLOCK_SIZE; in vms_read_block() 220 || bfd_read (blk, VMS_BLOCK_SIZE, abfd) != VMS_BLOCK_SIZE) in vms_read_block() 233 off = (vbn - 1) * VMS_BLOCK_SIZE; in vms_write_block() 235 || bfd_write (blk, VMS_BLOCK_SIZE, abfd) != VMS_BLOCK_SIZE) in vms_write_block() 261 BFD_ASSERT (sizeof (indexdef) == VMS_BLOCK_SIZE); in vms_traverse_index() 334 unsigned char kblk[VMS_BLOCK_SIZE]; in vms_traverse_index() [all …]
|
H A D | vms-alpha.c | 546 offset = (offset + VMS_BLOCK_SIZE) & ~(VMS_BLOCK_SIZE - 1); in _bfd_vms_slurp_eisd() 636 section->filepos = vbn ? VMS_BLOCK_SIZE * (vbn - 1) : 0; in _bfd_vms_slurp_eisd() 693 section->filepos = VMS_BLOCK_SIZE * (dstvbn - 1); in _bfd_vms_slurp_eihs() 711 section->filepos = VMS_BLOCK_SIZE * (dmtvbn - 1); in _bfd_vms_slurp_eihs() 719 if (bfd_seek (abfd, VMS_BLOCK_SIZE * (gstvbn - 1), SEEK_SET)) in _bfd_vms_slurp_eihs() 3052 PRIV (file_pos) += VMS_BLOCK_SIZE - 1; in alpha_vms_file_position_block() 3053 PRIV (file_pos) -= (PRIV (file_pos) % VMS_BLOCK_SIZE); in alpha_vms_file_position_block() 3120 eisd->u.gbl_eisd.common.secsize = VMS_BLOCK_SIZE; /* Must not be 0. */ in alpha_vms_create_eisd_for_shared() 3163 (sec->size + VMS_BLOCK_SIZE - 1) & ~(VMS_BLOCK_SIZE - 1); in alpha_vms_create_eisd_for_section() 3245 bfd_putl32 ((sizeof (eihd) + VMS_BLOCK_SIZE - 1) / VMS_BLOCK_SIZE, in alpha_vms_write_exec() [all …]
|
H A D | vms.h | 33 #define VMS_BLOCK_SIZE 512 macro
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | vms-lib.c | 34 #ifndef VMS_BLOCK_SIZE 35 #define VMS_BLOCK_SIZE 512 macro 173 cs->idx[cs->nbr].file_offset = (idx_vbn - 1) * VMS_BLOCK_SIZE + idx_off; in vms_add_index() 197 off = (vbn - 1) * VMS_BLOCK_SIZE + bfd_getl16 (rfa->offset); in vms_add_indexes_from_list() 218 off = (vbn - 1) * VMS_BLOCK_SIZE; in vms_read_block() 220 || bfd_bread (blk, VMS_BLOCK_SIZE, abfd) != VMS_BLOCK_SIZE) in vms_read_block() 233 off = (vbn - 1) * VMS_BLOCK_SIZE; in vms_write_block() 235 || bfd_bwrite (blk, VMS_BLOCK_SIZE, abfd) != VMS_BLOCK_SIZE) in vms_write_block() 261 BFD_ASSERT (sizeof (indexdef) == VMS_BLOCK_SIZE); in vms_traverse_index() 334 unsigned char kblk[VMS_BLOCK_SIZE]; in vms_traverse_index() [all …]
|
H A D | vms-alpha.c | 545 offset = (offset + VMS_BLOCK_SIZE) & ~(VMS_BLOCK_SIZE - 1); in _bfd_vms_slurp_eisd() 635 section->filepos = vbn ? VMS_BLOCK_SIZE * (vbn - 1) : 0; in _bfd_vms_slurp_eisd() 692 section->filepos = VMS_BLOCK_SIZE * (dstvbn - 1); in _bfd_vms_slurp_eihs() 710 section->filepos = VMS_BLOCK_SIZE * (dmtvbn - 1); in _bfd_vms_slurp_eihs() 718 if (bfd_seek (abfd, VMS_BLOCK_SIZE * (gstvbn - 1), SEEK_SET)) in _bfd_vms_slurp_eihs() 3050 PRIV (file_pos) += VMS_BLOCK_SIZE - 1; in alpha_vms_file_position_block() 3051 PRIV (file_pos) -= (PRIV (file_pos) % VMS_BLOCK_SIZE); in alpha_vms_file_position_block() 3118 eisd->u.gbl_eisd.common.secsize = VMS_BLOCK_SIZE; /* Must not be 0. */ in alpha_vms_create_eisd_for_shared() 3161 (sec->size + VMS_BLOCK_SIZE - 1) & ~(VMS_BLOCK_SIZE - 1); in alpha_vms_create_eisd_for_section() 3243 bfd_putl32 ((sizeof (eihd) + VMS_BLOCK_SIZE - 1) / VMS_BLOCK_SIZE, in alpha_vms_write_exec() [all …]
|
H A D | vms.h | 33 #define VMS_BLOCK_SIZE 512 macro
|