Lines Matching refs:abbrevs

122 struct abbrevs
124 /* The number of abbrevs in the vector. */
126 /* The abbrevs, sorted by the code field. */
127 struct abbrev *abbrevs;
332 struct abbrevs abbrevs;
732 free_abbrevs (struct backtrace_state *state, struct abbrevs *abbrevs,
737 for (i = 0; i < abbrevs->num_abbrevs; ++i)
738 backtrace_free (state, abbrevs->abbrevs[i].attrs,
739 abbrevs->abbrevs[i].num_attrs * sizeof (struct attr),
741 backtrace_free (state, abbrevs->abbrevs,
742 abbrevs->num_abbrevs * sizeof (struct abbrev),
744 abbrevs->num_abbrevs = 0;
745 abbrevs->abbrevs = NULL;
1323 /* Sort the abbrevs by the abbrev code. This function is passed to
1339 different abbrevs with the same code, and that means we don't
1352 void *data, struct abbrevs *abbrevs)
1358 abbrevs->num_abbrevs = 0;
1359 abbrevs->abbrevs = NULL;
1376 /* Count the number of abbrevs in this list. */
1408 abbrevs->abbrevs = ((struct abbrev *)
1412 if (abbrevs->abbrevs == NULL)
1414 abbrevs->num_abbrevs = num_abbrevs;
1415 memset (abbrevs->abbrevs, 0, num_abbrevs * sizeof (struct abbrev));
1484 abbrevs->abbrevs[num_abbrevs] = a;
1488 backtrace_qsort (abbrevs->abbrevs, abbrevs->num_abbrevs,
1494 free_abbrevs (state, abbrevs, error_callback, data);
1501 lookup_abbrev (struct abbrevs *abbrevs, uint64_t code,
1507 /* With GCC, where abbrevs are simply numbered in order, we should
1509 if (code - 1 < abbrevs->num_abbrevs
1510 && abbrevs->abbrevs[code - 1].code == code)
1511 return &abbrevs->abbrevs[code - 1];
1516 p = bsearch (&key, abbrevs->abbrevs, abbrevs->num_abbrevs,
1964 abbrev = lookup_abbrev (&u->abbrevs, code, error_callback, data);
2195 memset (&u->abbrevs, 0, sizeof u->abbrevs);
2200 is_bigendian, error_callback, data, &u->abbrevs))
2274 free_abbrevs (state, &pu[i]->abbrevs, error_callback, data);
3116 abbrev = lookup_abbrev (&u->abbrevs, code, error_callback, data);
3247 abbrev = lookup_abbrev (&u->abbrevs, code, error_callback, data);