Lines Matching refs:num_entries

3088   unsigned int  num_entries, num_ids;  in rsrc_count_directory()  local
3094 num_entries = (int) bfd_get_16 (abfd, data + 12); in rsrc_count_directory()
3097 num_entries += num_ids; in rsrc_count_directory()
3101 while (num_entries --) in rsrc_count_directory()
3105 entry_end = rsrc_count_entries (abfd, num_entries >= num_ids, in rsrc_count_directory()
3118 unsigned int num_entries; member
3260 if (chain->num_entries == 0) in rsrc_parse_entries()
3272 for (i = chain->num_entries; i--;) in rsrc_parse_entries()
3317 table->names.num_entries = bfd_get_16 (abfd, data + 12); in rsrc_parse_directory()
3318 table->ids.num_entries = bfd_get_16 (abfd, data + 14); in rsrc_parse_directory()
3325 data += table->names.num_entries * 8; in rsrc_parse_directory()
3329 data += table->ids.num_entries * 8; in rsrc_parse_directory()
3455 bfd_put_16 (data->abfd, dir->names.num_entries, data->next_table + 12); in rsrc_write_directory()
3456 bfd_put_16 (data->abfd, dir->ids.num_entries, data->next_table + 14); in rsrc_write_directory()
3460 data->next_table = next_entry + (dir->names.num_entries * 8) in rsrc_write_directory()
3461 + (dir->ids.num_entries * 8); in rsrc_write_directory()
3465 for (i = dir->names.num_entries, entry = dir->names.first_entry; in rsrc_write_directory()
3476 for (i = dir->ids.num_entries, entry = dir->ids.first_entry; in rsrc_write_directory()
3831 if (chain->num_entries < 2) in rsrc_sort_entries()
3875 if (next->value.directory->names.num_entries == 0 in rsrc_sort_entries()
3876 && next->value.directory->ids.num_entries == 1 in rsrc_sort_entries()
3881 else if (entry->value.directory->names.num_entries == 0 in rsrc_sort_entries()
3882 && entry->value.directory->ids.num_entries == 1 in rsrc_sort_entries()
3904 chain->num_entries --; in rsrc_sort_entries()
3905 if (chain->num_entries < 2) in rsrc_sort_entries()
3967 chain->num_entries --; in rsrc_sort_entries()
3968 if (chain->num_entries < 2) in rsrc_sort_entries()
3990 if (bchain->num_entries == 0) in rsrc_attach_chain()
3993 achain->num_entries += bchain->num_entries; in rsrc_attach_chain()
4006 bchain->num_entries = 0; in rsrc_attach_chain()
4073 new_table.names.num_entries = 0; in rsrc_process_section()
4074 new_table.ids.num_entries = 0; in rsrc_process_section()