Lines Matching refs:mh_names
28 static const struct mh_name mh_names[] = {
52 for (i = 0; i < sizeof(mh_names)/sizeof(struct mh_name); i++) {
53 if (i && mh_names[i].type == mh_names[i-1].type)
54 printf(" (%s)", mh_names[i].name);
56 printf("\n%s", mh_names[i].name);
80 unsigned int limit = sizeof(mh_names)/sizeof(struct mh_name);
85 if (strncasecmp(mh_names[i].name, name, namelen) == 0) {
86 int len = strlen(mh_names[i].name);
93 return mh_names[match].type;
163 for (i = 0; i < sizeof(mh_names)/sizeof(struct mh_name); i++) {
164 if (mh_names[i].type == type)
165 return mh_names[i].name;