Home
last modified time | relevance | path

Searched refs:wcsbytes (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_msgbuf.c781 size_t wcslen, wcsbytes; in msgbuf_put_unicode_string() local
791 wcsbytes = smb_wcequiv_strlen(mbs); in msgbuf_put_unicode_string()
792 if (wcsbytes == (size_t)-1) in msgbuf_put_unicode_string()
800 repc = (int)wcsbytes; in msgbuf_put_unicode_string()
809 wcslen = wcsbytes / 2; in msgbuf_put_unicode_string()
810 wcsbuf = smb_msgbuf_malloc(mb, wcsbytes + 2); in msgbuf_put_unicode_string()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c1167 size_t wcslen, wcsbytes; in mbc_marshal_put_unicode_string() local
1182 wcsbytes = smb_wcequiv_strlen(mbs); in mbc_marshal_put_unicode_string()
1183 if (wcsbytes == (size_t)-1) in mbc_marshal_put_unicode_string()
1191 repc = wcsbytes + 2; in mbc_marshal_put_unicode_string()
1197 wcslen = wcsbytes / 2; in mbc_marshal_put_unicode_string()
1198 wcsbuf = smb_mem_zalloc(wcsbytes + 2); in mbc_marshal_put_unicode_string()