/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ps/ |
H A D | tcsps.c | 119 UINT32 file_offset = 0; in psfile_get_parent_uuid_by_uuid() local 132 file_offset = TSSPS_PARENT_UUID_OFFSET(tmp); in psfile_get_parent_uuid_by_uuid() 134 rc = lseek(fd, file_offset, SEEK_SET); in psfile_get_parent_uuid_by_uuid() 162 UINT32 file_offset = 0; in psfile_get_key_by_uuid() local 175 file_offset = TSSPS_BLOB_DATA_OFFSET(tmp); in psfile_get_key_by_uuid() 177 rc = lseek(fd, file_offset, SEEK_SET); in psfile_get_key_by_uuid() 215 UINT32 file_offset = 0; in psfile_get_key_by_cache_entry() local 218 file_offset = TSSPS_BLOB_DATA_OFFSET(c); in psfile_get_key_by_cache_entry() 220 rc = lseek(fd, file_offset, SEEK_SET); in psfile_get_key_by_cache_entry() 251 UINT32 file_offset; in psfile_get_vendor_data() local [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/gold/ |
H A D | nacl.h | 44 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(file_offset, 0, 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()
|
H A D | dwp.cc | 824 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 …]
|
H A D | fileread.h | 186 off_t file_offset; member 193 : file_offset(o), size(s), buffer(b) in Read_multiple_entry() 412 page_offset(off_t file_offset) in page_offset() argument 413 { return file_offset & ~ (page_size - 1); } in page_offset()
|
H A D | fileread.cc | 656 off_t first_offset = rm[start].file_offset; in do_readv() 663 if (i_entry.file_offset > last_offset) in do_readv() 665 size_t skip = i_entry.file_offset - last_offset; in do_readv() 681 last_offset = i_entry.file_offset + i_entry.size; in do_readv() 726 off_t i_off = i_entry.file_offset; in read_multiple() 734 off_t j_off = j_entry.file_offset; in read_multiple() 759 gold_assert((convert_to_section_size_type(k_entry.file_offset in read_multiple() 765 v + (k_entry.file_offset - i_off), in read_multiple()
|
H A D | archive.cc | 312 this->armap_[i].file_offset = convert_types<off_t, Entry_type>( in read_armap() 316 if (this->armap_[i].file_offset != last_seen_offset) in read_armap() 318 last_seen_offset = this->armap_[i].file_offset; in read_armap() 806 if (this->armap_[i].file_offset == last_seen_offset) in add_symbols() 811 if (this->seen_offsets_.find(this->armap_[i].file_offset) in add_symbols() 815 last_seen_offset = this->armap_[i].file_offset; in add_symbols() 836 last_seen_offset = this->armap_[i].file_offset; in add_symbols() 1075 if (this->seen_offsets_.find(p->file_offset) in do_for_all_unused_symbols()
|
/netbsd-src/external/gpl3/binutils/dist/gold/ |
H A D | nacl.h | 44 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(file_offset, 0, 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()
|
H A D | dwp.cc | 824 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 …]
|
H A D | fileread.h | 186 off_t file_offset; member 193 : file_offset(o), size(s), buffer(b) in Read_multiple_entry() 412 page_offset(off_t file_offset) in page_offset() argument 413 { return file_offset & ~ (page_size - 1); } in page_offset()
|
H A D | fileread.cc | 656 off_t first_offset = rm[start].file_offset; in do_readv() 663 if (i_entry.file_offset > last_offset) in do_readv() 665 size_t skip = i_entry.file_offset - last_offset; in do_readv() 681 last_offset = i_entry.file_offset + i_entry.size; in do_readv() 726 off_t i_off = i_entry.file_offset; in read_multiple() 734 off_t j_off = j_entry.file_offset; in read_multiple() 759 gold_assert((convert_to_section_size_type(k_entry.file_offset in read_multiple() 765 v + (k_entry.file_offset - i_off), in read_multiple()
|
H A D | archive.cc | 312 this->armap_[i].file_offset = convert_types<off_t, Entry_type>( in read_armap() 316 if (this->armap_[i].file_offset != last_seen_offset) in read_armap() 318 last_seen_offset = this->armap_[i].file_offset; in read_armap() 806 if (this->armap_[i].file_offset == last_seen_offset) in add_symbols() 811 if (this->seen_offsets_.find(this->armap_[i].file_offset) in add_symbols() 815 last_seen_offset = this->armap_[i].file_offset; in add_symbols() 836 last_seen_offset = this->armap_[i].file_offset; in add_symbols() 1075 if (this->seen_offsets_.find(p->file_offset) in do_for_all_unused_symbols()
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | SegMem.h | 43 file_offset = fo; in set_file_offset() 49 return file_offset; in get_file_offset() 72 uint64_t file_offset;
|
H A D | Data_window.cc | 86 Data_window::bind (int64_t file_offset, int64_t minSize) in bind() argument 89 span.length = fsize - file_offset; in bind() 90 span.offset = file_offset; in bind()
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | SegMem.h | 43 file_offset = fo; in set_file_offset() 49 return file_offset; in get_file_offset() 72 uint64_t file_offset;
|
H A D | Data_window.cc | 86 Data_window::bind (int64_t file_offset, int64_t minSize) in bind() argument 89 span.length = fsize - file_offset; in bind() 90 span.offset = file_offset; in bind()
|
/netbsd-src/external/gpl3/binutils/dist/include/ |
H A D | oasys.h | 62 file_ptr file_offset; member 77 bfd_byte file_offset[4]; member 90 bfd_byte file_offset[4]; member
|
/netbsd-src/external/gpl3/binutils.old/dist/include/ |
H A D | oasys.h | 62 file_ptr file_offset; member 77 bfd_byte file_offset[4]; member 90 bfd_byte file_offset[4]; member
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | bfdwin.c | 142 file_ptr file_offset, offset2; in bfd_get_file_window() local 166 file_offset = offset - offset2; in bfd_get_file_window() 167 real_size = offset + size - file_offset; in bfd_get_file_window() 182 fd, file_offset); in bfd_get_file_window()
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | bfdwin.c | 196 file_ptr file_offset, offset2; in bfd_get_file_window() local 220 file_offset = offset - offset2; in bfd_get_file_window() 221 real_size = offset + size - file_offset; in bfd_get_file_window() 236 fd, file_offset); in bfd_get_file_window()
|
/netbsd-src/external/gpl3/binutils/dist/include/aout/ |
H A D | ranlib.h | 54 unsigned long file_offset; member 63 #define ran_off file_offset
|
/netbsd-src/external/gpl3/binutils.old/dist/include/aout/ |
H A D | ranlib.h | 54 unsigned long file_offset; member 63 #define ran_off file_offset
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ps/ |
H A D | tspps.c | 304 off_t file_offset; in psfile_get_key_by_uuid() local 312 file_offset = TSSPS_BLOB_DATA_OFFSET(&tmp); in psfile_get_key_by_uuid() 314 rc = lseek(fd, file_offset, SEEK_SET); in psfile_get_key_by_uuid() 342 off_t file_offset; in psfile_get_key_by_pub() local 350 file_offset = TSSPS_BLOB_DATA_OFFSET(&tmp); in psfile_get_key_by_pub() 352 rc = lseek(fd, file_offset, SEEK_SET); in psfile_get_key_by_pub() 497 int rc, file_offset; in psfile_write_key() local 508 file_offset = stat_buf.st_size; in psfile_write_key() 510 if (file_offset < (int)TSSPS_KEYS_OFFSET) { in psfile_write_key() 513 file_offset = TSSPS_KEYS_OFFSET; in psfile_write_key() [all …]
|
/netbsd-src/usr.sbin/ndbootd/ |
H A D | ndbootd.c | 330 off_t file_offset; in main() local 820 file_offset = ((block_number - NDBOOTD_BOOT1_BLOCK_FIRST) * NDBOOT_BSIZE) + byte_offset; in main() 821 if (lseek(boot1_fd, file_offset, SEEK_SET) < 0) { in main() 835 && file_offset + byte_count_read == boot1_byte_count) { in main() 868 file_offset = ((block_number - NDBOOTD_BOOT2_BLOCK_FIRST) * NDBOOT_BSIZE) + byte_offset; in main() 869 if (lseek(boot2_fd, file_offset, SEEK_SET) < 0) { in main() 883 && file_offset + byte_count_read == boot2_byte_count) { in main()
|
/netbsd-src/external/gpl3/binutils.old/dist/elfcpp/ |
H A D | elfcpp.h | 1096 file->view(loc.file_offset, loc.data_size).data())) 1250 file->view(loc.file_offset, loc.data_size).data())) 1365 file->view(loc.file_offset, loc.data_size).data())) 1441 file->view(loc.file_offset, loc.data_size).data())) 1539 file->view(loc.file_offset, loc.data_size).data())) 1649 file->view(loc.file_offset, loc.data_size).data())) 1699 file->view(loc.file_offset, loc.data_size).data())) 1757 file->view(loc.file_offset, loc.data_size).data())) 1835 file->view(loc.file_offset, loc.data_size).data())) 1924 file->view(loc.file_offset, loc.data_size).data())) [all …]
|
/netbsd-src/external/gpl3/binutils/dist/elfcpp/ |
H A D | elfcpp.h | 1099 file->view(loc.file_offset, loc.data_size).data())) 1253 file->view(loc.file_offset, loc.data_size).data())) 1368 file->view(loc.file_offset, loc.data_size).data())) 1444 file->view(loc.file_offset, loc.data_size).data())) 1542 file->view(loc.file_offset, loc.data_size).data())) 1652 file->view(loc.file_offset, loc.data_size).data())) 1702 file->view(loc.file_offset, loc.data_size).data())) 1760 file->view(loc.file_offset, loc.data_size).data())) 1838 file->view(loc.file_offset, loc.data_size).data())) 1927 file->view(loc.file_offset, loc.data_size).data())) [all …]
|