Lines Matching defs:code
1231 elf_ch_type_name (unsigned int code)
1233 if (code == 0)
1236 if (code == ELFCOMPRESS_ZLIB)
3965 dwarf_inline_string (unsigned int code)
3974 if (likely (code < sizeof (known) / sizeof (known[0])))
3975 return known[code];
3982 dwarf_encoding_string (unsigned int code)
3991 if (likely (code < sizeof (known) / sizeof (known[0])))
3992 return known[code];
3999 dwarf_access_string (unsigned int code)
4008 if (likely (code < sizeof (known) / sizeof (known[0])))
4009 return known[code];
4016 dwarf_defaulted_string (unsigned int code)
4025 if (likely (code < sizeof (known) / sizeof (known[0])))
4026 return known[code];
4033 dwarf_visibility_string (unsigned int code)
4042 if (likely (code < sizeof (known) / sizeof (known[0])))
4043 return known[code];
4050 dwarf_virtuality_string (unsigned int code)
4059 if (likely (code < sizeof (known) / sizeof (known[0])))
4060 return known[code];
4067 dwarf_identifier_case_string (unsigned int code)
4076 if (likely (code < sizeof (known) / sizeof (known[0])))
4077 return known[code];
4084 dwarf_calling_convention_string (unsigned int code)
4093 if (likely (code < sizeof (known) / sizeof (known[0])))
4094 return known[code];
4101 dwarf_ordering_string (unsigned int code)
4110 if (likely (code < sizeof (known) / sizeof (known[0])))
4111 return known[code];
4118 dwarf_discr_list_string (unsigned int code)
4127 if (likely (code < sizeof (known) / sizeof (known[0])))
4128 return known[code];
4135 dwarf_locexpr_opcode_string (unsigned int code)
4147 if (likely (code < sizeof (known) / sizeof (known[0])))
4148 return known[code];
4214 string_or_unknown (const char *known, unsigned int code,
4223 if (lo_user != 0 && code >= lo_user && code <= hi_user)
4226 code - lo_user);
4232 snprintf (unknown_buf, sizeof unknown_buf, "??? (%#x)", code);
4272 dwarf_inline_name (unsigned int code)
4274 const char *ret = dwarf_inline_string (code);
4275 return string_or_unknown (ret, code, 0, 0, false);
4280 dwarf_encoding_name (unsigned int code)
4282 const char *ret = dwarf_encoding_string (code);
4283 return string_or_unknown (ret, code, DW_ATE_lo_user, DW_ATE_hi_user, false);
4288 dwarf_access_name (unsigned int code)
4290 const char *ret = dwarf_access_string (code);
4291 return string_or_unknown (ret, code, 0, 0, false);
4296 dwarf_defaulted_name (unsigned int code)
4298 const char *ret = dwarf_defaulted_string (code);
4299 return string_or_unknown (ret, code, 0, 0, false);
4304 dwarf_visibility_name (unsigned int code)
4306 const char *ret = dwarf_visibility_string (code);
4307 return string_or_unknown (ret, code, 0, 0, false);
4312 dwarf_virtuality_name (unsigned int code)
4314 const char *ret = dwarf_virtuality_string (code);
4315 return string_or_unknown (ret, code, 0, 0, false);
4320 dwarf_identifier_case_name (unsigned int code)
4322 const char *ret = dwarf_identifier_case_string (code);
4323 return string_or_unknown (ret, code, 0, 0, false);
4328 dwarf_calling_convention_name (unsigned int code)
4330 const char *ret = dwarf_calling_convention_string (code);
4331 return string_or_unknown (ret, code, DW_CC_lo_user, DW_CC_hi_user, false);
4336 dwarf_ordering_name (unsigned int code)
4338 const char *ret = dwarf_ordering_string (code);
4339 return string_or_unknown (ret, code, 0, 0, false);
4344 dwarf_discr_list_name (unsigned int code)
4346 const char *ret = dwarf_discr_list_string (code);
4347 return string_or_unknown (ret, code, 0, 0, false);
5294 unsigned int code = dwarf_getabbrevcode (&abbrev);
5300 code, (int64_t) offset,
7216 "cannot get attribute code: %s"),
8065 unsigned int code = dwarf_getabbrevcode (dies[level].abbrev);
8071 dwarf_tag_name (tag), code);
9894 unsigned char code = *locp++;
9895 switch (code)
10342 // of arguments, for each argument 1 byte form code.
12548 code. */