Searched defs:ucs (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_oem.c188 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid) argument
194 if (ucs == NULL || oem == NULL)
200 while (nbytes != 0 && (oemchar = ucspage->value[*ucs]) != 0) {
213 ucs++;
230 oemtoucs(smb_wchar_t *ucs, const char *oem, size_t nwchars, uint32_t cpid) argument
236 if (ucs == NULL || oem == NULL)
250 *ucs = 0;
255 *ucs = LE_IN16(&oempage->value[oemchar]);
257 *ucs = oempage->value[oemchar];
260 ucs
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlm.c569 uint16_t *ucs = NULL; local
573 ucs = convert_utf8_to_leunicode(name);
574 if (ucs)
575 nlen = unicode_strlen(ucs);
583 mb_put_mem(mbp, (char *)ucs, nlen, MB_MSYSTEM);
585 if (ucs)
586 free(ucs);

Completed in 60 milliseconds