• Home
  • Raw
  • Download

Lines Matching refs:offset

538   unsigned long offset;  in bfd_sym_fetch_resources_table_entry()  local
569 offset = compute_offset (sdata->header.dshb_rte.dti_first_page, in bfd_sym_fetch_resources_table_entry()
573 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_resources_table_entry()
589 unsigned long offset; in bfd_sym_fetch_modules_table_entry() local
620 offset = compute_offset (sdata->header.dshb_mte.dti_first_page, in bfd_sym_fetch_modules_table_entry()
624 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_modules_table_entry()
640 unsigned long offset; in bfd_sym_fetch_file_references_table_entry() local
670 offset = compute_offset (sdata->header.dshb_frte.dti_first_page, in bfd_sym_fetch_file_references_table_entry()
674 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_file_references_table_entry()
690 unsigned long offset; in bfd_sym_fetch_contained_modules_table_entry() local
720 offset = compute_offset (sdata->header.dshb_cmte.dti_first_page, in bfd_sym_fetch_contained_modules_table_entry()
724 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_modules_table_entry()
740 unsigned long offset; in bfd_sym_fetch_contained_variables_table_entry() local
770 offset = compute_offset (sdata->header.dshb_cvte.dti_first_page, in bfd_sym_fetch_contained_variables_table_entry()
774 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_variables_table_entry()
790 unsigned long offset; in bfd_sym_fetch_contained_statements_table_entry() local
820 offset = compute_offset (sdata->header.dshb_csnte.dti_first_page, in bfd_sym_fetch_contained_statements_table_entry()
824 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_statements_table_entry()
840 unsigned long offset; in bfd_sym_fetch_contained_labels_table_entry() local
870 offset = compute_offset (sdata->header.dshb_clte.dti_first_page, in bfd_sym_fetch_contained_labels_table_entry()
874 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_labels_table_entry()
890 unsigned long offset; in bfd_sym_fetch_contained_types_table_entry() local
920 offset = compute_offset (sdata->header.dshb_ctte.dti_first_page, in bfd_sym_fetch_contained_types_table_entry()
924 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_contained_types_table_entry()
940 unsigned long offset; in bfd_sym_fetch_file_references_index_table_entry() local
970 offset = compute_offset (sdata->header.dshb_fite.dti_first_page, in bfd_sym_fetch_file_references_index_table_entry()
974 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_file_references_index_table_entry()
990 unsigned long offset; in bfd_sym_fetch_constant_pool_entry() local
1020 offset = compute_offset (sdata->header.dshb_fite.dti_first_page, in bfd_sym_fetch_constant_pool_entry()
1024 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_constant_pool_entry()
1040 unsigned long offset; in bfd_sym_fetch_type_table_entry() local
1067 offset = compute_offset (sdata->header.dshb_tte.dti_first_page, in bfd_sym_fetch_type_table_entry()
1071 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_type_table_entry()
1084 unsigned long offset) in bfd_sym_fetch_type_information_table_entry() argument
1090 if (offset == 0) in bfd_sym_fetch_type_information_table_entry()
1093 if (bfd_seek (abfd, offset, SEEK_SET) < 0) in bfd_sym_fetch_type_information_table_entry()
1110 entry->offset = offset + 10; in bfd_sym_fetch_type_information_table_entry()
1118 entry->offset = offset + 8; in bfd_sym_fetch_type_information_table_entry()
1529 unsigned long offset, in bfd_sym_fetch_long() argument
1535 if (offset >= len) in bfd_sym_fetch_long()
1538 offset += 0; in bfd_sym_fetch_long()
1541 else if (! (buf[offset] & 0x80)) in bfd_sym_fetch_long()
1543 *value = buf[offset]; in bfd_sym_fetch_long()
1544 offset += 1; in bfd_sym_fetch_long()
1547 else if (buf[offset] == 0xc0) in bfd_sym_fetch_long()
1549 if ((offset + 5) > len) in bfd_sym_fetch_long()
1552 offset = len; in bfd_sym_fetch_long()
1557 *value = bfd_getb32 (buf + offset + 1); in bfd_sym_fetch_long()
1558 offset += 5; in bfd_sym_fetch_long()
1562 else if ((buf[offset] & 0xc0) == 0xc0) in bfd_sym_fetch_long()
1564 *value = -(buf[offset] & 0x3f); in bfd_sym_fetch_long()
1565 offset += 1; in bfd_sym_fetch_long()
1568 else if ((buf[offset] & 0xc0) == 0x80) in bfd_sym_fetch_long()
1570 if ((offset + 2) > len) in bfd_sym_fetch_long()
1573 offset = len; in bfd_sym_fetch_long()
1578 *value = bfd_getb16 (buf + offset) & 0x3fff; in bfd_sym_fetch_long()
1579 offset += 2; in bfd_sym_fetch_long()
1587 *offsetptr = offset; in bfd_sym_fetch_long()
1597 unsigned long offset, in bfd_sym_print_type_information() argument
1602 if (offset >= len) in bfd_sym_print_type_information()
1607 *offsetptr = offset; in bfd_sym_print_type_information()
1611 type = buf[offset]; in bfd_sym_print_type_information()
1612 offset++; in bfd_sym_print_type_information()
1619 *offsetptr = offset; in bfd_sym_print_type_information()
1635 bfd_sym_fetch_long (buf, len, offset, &offset, &value); in bfd_sym_print_type_information()
1653 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1661 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1662 bfd_sym_fetch_long (buf, len, offset, &offset, &value); in bfd_sym_print_type_information()
1673 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1674 bfd_sym_fetch_long (buf, len, offset, &offset, &lower); in bfd_sym_print_type_information()
1675 bfd_sym_fetch_long (buf, len, offset, &offset, &upper); in bfd_sym_print_type_information()
1676 bfd_sym_fetch_long (buf, len, offset, &offset, &nelem); in bfd_sym_print_type_information()
1684 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1692 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1694 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1707 bfd_sym_fetch_long (buf, len, offset, &offset, &nrec); in bfd_sym_print_type_information()
1712 bfd_sym_fetch_long (buf, len, offset, &offset, &eloff); in bfd_sym_print_type_information()
1715 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1722 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1724 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1726 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1734 bfd_sym_fetch_long (buf, len, offset, &offset, &value); in bfd_sym_print_type_information()
1743 bfd_sym_print_type_information (abfd, f, buf, len, offset, &offset); in bfd_sym_print_type_information()
1759 bfd_sym_fetch_long (buf, len, offset, &offset, &n); in bfd_sym_print_type_information()
1760 bfd_sym_fetch_long (buf, len, offset, &offset, &width); in bfd_sym_print_type_information()
1761 bfd_sym_fetch_long (buf, len, offset, &offset, &m); in bfd_sym_print_type_information()
1766 bfd_sym_fetch_long (buf, len, offset, &offset, &l); in bfd_sym_print_type_information()
1777 bfd_sym_fetch_long (buf, len, offset, &offset, &msb); in bfd_sym_print_type_information()
1778 bfd_sym_fetch_long (buf, len, offset, &offset, &lsb); in bfd_sym_print_type_information()
1786 *offsetptr = offset; in bfd_sym_print_type_information()
1795 unsigned long offset; in bfd_sym_print_type_information_table_entry() local
1802 entry->physical_size, entry->offset, entry->logical_size); in bfd_sym_print_type_information_table_entry()
1812 if (bfd_seek (abfd, entry->offset, SEEK_SET) < 0) in bfd_sym_print_type_information_table_entry()
1835 bfd_sym_print_type_information (abfd, f, buf, entry->physical_size, 0, &offset); in bfd_sym_print_type_information_table_entry()
1837 if (offset != entry->physical_size) in bfd_sym_print_type_information_table_entry()
1838 … fprintf (f, "\n [parser used %lu bytes instead of %lu]", offset, entry->physical_size); in bfd_sym_print_type_information_table_entry()
1863 unsigned long offset; in bfd_sym_display_name_table_entry() local
1874 offset = 2 + length + 1; in bfd_sym_display_name_table_entry()
1882 offset = entry[0] + 2; in bfd_sym_display_name_table_entry()
1884 offset = entry[0] + 1; in bfd_sym_display_name_table_entry()
1887 return (entry + offset + (offset % 2)); in bfd_sym_display_name_table_entry()