Home
last modified time | relevance | path

Searched refs:type_map (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/lp/lib/papi/
H A Dlpsched-misc.c144 } type_map[] = { variable
169 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()
/titanic_41/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c101 } type_map[] = { variable
126 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()
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c1392 static dhcp_message_type_t type_map[] = { in pkt_v4_match() local
1398 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()
/titanic_41/usr/src/cmd/ls/
H A Dls.c2965 } type_map[] = { in new_color_entry() local
3006 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()