Searched refs:type_map (Results 1 – 4 of 4) sorted by relevance
144 } type_map[] = { variable169 for (i = 0; type_map[i].mime_type != NULL; i++) in mime_type_to_lp_type()170 if (strcasecmp(type_map[i].mime_type, mime_type) == 0) in mime_type_to_lp_type()171 return (type_map[i].lp_type); in mime_type_to_lp_type()184 for (i = 0; type_map[i].lp_type != NULL; i++) in lp_type_to_mime_type()185 if (strcasecmp(type_map[i].lp_type, lp_type) == 0) in lp_type_to_mime_type()186 return (type_map[i].mime_type); in lp_type_to_mime_type()
101 } type_map[] = { variable126 for (i = 0; type_map[i].lp_type != NULL; i++) in lp_type_to_mime_type()127 if (strcasecmp(type_map[i].lp_type, lp_type) == 0) in lp_type_to_mime_type()128 return (type_map[i].mime_type); in lp_type_to_mime_type()
1392 static dhcp_message_type_t type_map[] = { in pkt_v4_match() local1398 if (type < (sizeof (type_map) / sizeof (*type_map))) in pkt_v4_match()1399 return ((type_map[type] & match_type) ? B_TRUE : B_FALSE); in pkt_v4_match()
2965 } type_map[] = { in new_color_entry() local3006 for (i = 0; type_map[i].s != NULL; ++i) { in new_color_entry()3007 if (strncmp(type_map[i].s, p, 2) == 0) in new_color_entry()3012 if (type_map[i].s == NULL) in new_color_entry()3015 lsc_colors[lsc_ncolors].ftype = type_map[i].stype; in new_color_entry()