Home
last modified time | relevance | path

Searched refs:lp_type (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-misc.c141 char *lp_type; member
169 return (type_map[i].lp_type); in mime_type_to_lp_type()
175 lp_type_to_mime_type(char *lp_type) in lp_type_to_mime_type() argument
179 if (lp_type == NULL) in lp_type_to_mime_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()
186 return (lp_type); in lp_type_to_mime_type()
H A Dpapi_impl.h135 extern char *lp_type_to_mime_type(char *lp_type);
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c100 char *lp_type; member
119 lp_type_to_mime_type(char *lp_type) in lp_type_to_mime_type() argument
123 if (lp_type == NULL) in lp_type_to_mime_type()
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()
130 return (lp_type); in lp_type_to_mime_type()
H A Dcommon.h58 extern char *lp_type_to_mime_type(char *lp_type);
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_impl.h51 dladm_datatype_t lp_type; member
H A Ddlmgmt_util.c266 attrp->lp_type = type; in linkattr_set()
297 *typep = attrp->lp_type; in linkattr_get()
H A Ddlmgmt_db.c1312 ptr += translators[cur_p->lp_type].write_func(ptr, in generate_link_line()
1371 if (attrp->lp_type == DLADM_TYPE_UINT64) { in linkattr_upgrade()
1417 attrp->lp_type = DLADM_TYPE_STR; in linkattr_upgrade()
H A Ddlmgmt_door.c905 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_writeconf()
1040 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_openconf()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdladm.c96 uint32_t lp_type; member
953 *ptype = lp->lp_type; in dladm_str2protect()
972 if (lp->lp_type == ptype) { in dladm_protect2str()