Searched refs:oem (Results 1 – 3 of 3) sorted by relevance
188 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid) in ucstooem() argument194 if (ucs == NULL || oem == NULL) in ucstooem()202 *oem++ = oemchar >> 8; in ucstooem()203 *oem++ = (char)oemchar; in ucstooem()206 *oem++ = (char)oemchar; in ucstooem()216 *oem = '\0'; in ucstooem()230 oemtoucs(smb_wchar_t *ucs, const char *oem, size_t nwchars, uint32_t cpid) in oemtoucs() argument236 if (ucs == NULL || oem == NULL) in oemtoucs()242 while ((oemchar = (smb_wchar_t)*oem++ & 0xff) != 0) { in oemtoucs()248 oemchar = oemchar << 8 | (*oem++ & 0xff); in oemtoucs()
201 char oem[CIS_MAX_TUPLE_DATA_LEN]; /* Vendor of software that */ member
1253 (void) strcpy(cs->oem, cis_getstr(tp));