Lines Matching refs:dsh
232 int dwarf_discr_entry_u(Dwarf_Dsc_Head dsh , in dwarf_discr_entry_u() argument
241 if (entrynum >= dsh->dsh_count) { in dwarf_discr_entry_u()
244 if (!dsh->dsh_set_unsigned) { in dwarf_discr_entry_u()
247 size_t count = dsh->dsh_count; in dwarf_discr_entry_u()
249 res = get_dsc_leb_entries(dsh->dsh_debug, in dwarf_discr_entry_u()
250 dsh->dsh_block, in dwarf_discr_entry_u()
251 dsh->dsh_block_len, in dwarf_discr_entry_u()
253 dsh->dsh_array, in dwarf_discr_entry_u()
259 dsh->dsh_set_unsigned = TRUE; in dwarf_discr_entry_u()
261 if (!dsh->dsh_array) { in dwarf_discr_entry_u()
262 _dwarf_error(dsh->dsh_debug, error, DW_DLE_DISCR_ARRAY_ERROR); in dwarf_discr_entry_u()
265 dse = dsh->dsh_array + entrynum; in dwarf_discr_entry_u()
274 int dwarf_discr_entry_s(Dwarf_Dsc_Head dsh, in dwarf_discr_entry_s() argument
283 if (entrynum >= dsh->dsh_count) { in dwarf_discr_entry_s()
286 if (!dsh->dsh_set_signed) { in dwarf_discr_entry_s()
289 size_t count = dsh->dsh_count; in dwarf_discr_entry_s()
291 res = get_dsc_leb_entries(dsh->dsh_debug, in dwarf_discr_entry_s()
292 dsh->dsh_block, in dwarf_discr_entry_s()
293 dsh->dsh_block_len, in dwarf_discr_entry_s()
295 dsh->dsh_array, in dwarf_discr_entry_s()
301 dsh->dsh_set_signed = TRUE; in dwarf_discr_entry_s()
303 if (!dsh->dsh_array) { in dwarf_discr_entry_s()
304 _dwarf_error(dsh->dsh_debug, error, DW_DLE_DISCR_ARRAY_ERROR); in dwarf_discr_entry_s()
307 dse = dsh->dsh_array + entrynum; in dwarf_discr_entry_s()