Searched refs:type_map (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-misc.c | 142 } type_map[] = { variable 167 for (i = 0; type_map[i].mime_type != NULL; i++) in mime_type_to_lp_type() 168 if (strcasecmp(type_map[i].mime_type, mime_type) == 0) in mime_type_to_lp_type() 169 return (type_map[i].lp_type); in mime_type_to_lp_type() 182 for (i = 0; type_map[i].lp_type != NULL; i++) in lp_type_to_mime_type() 183 if (strcasecmp(type_map[i].lp_type, lp_type) == 0) in lp_type_to_mime_type() 184 return (type_map[i].mime_type); in lp_type_to_mime_type()
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | common.c | 101 } 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()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.c | 1425 static dhcp_message_type_t type_map[] = { in pkt_v4_match() local 1431 if (type < (sizeof (type_map) / sizeof (*type_map))) in pkt_v4_match() 1432 return ((type_map[type] & match_type) ? B_TRUE : B_FALSE); in pkt_v4_match()
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 2970 } type_map[] = { in new_color_entry() local 3011 for (i = 0; type_map[i].s != NULL; ++i) { in new_color_entry() 3012 if (strncmp(type_map[i].s, p, 2) == 0) in new_color_entry() 3017 if (type_map[i].s == NULL) in new_color_entry() 3020 lsc_colors[lsc_ncolors].ftype = type_map[i].stype; in new_color_entry()
|
/illumos-gate/usr/src/lib/libjedec/common/ |
H A D | libjedec_spd_ddr5.c | 924 const char *type_key, const spd_value_map_t *type_map, size_t ntypes) in spd_parse_ddr5_dev_common() argument 932 spd_insert_map(si, type_key, type, type_map, ntypes); in spd_parse_ddr5_dev_common()
|