Home
last modified time | relevance | path

Searched refs:wide_char (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/common/smbsrv/
H A Dsmb_utf8.c122 smb_wchar_t wide_char; in smb_mbtowc() local
141 wide_char = mbyte; in smb_mbtowc()
143 wide_char &= 0x1f; in smb_mbtowc()
146 wide_char &= 0x0f; in smb_mbtowc()
158 wide_char = (wide_char << 6) | (mbyte & 0x3f); in smb_mbtowc()
162 *wcharp = wide_char; in smb_mbtowc()
215 smb_wchar_t wide_char = 0; in smb_wcstombs() local
223 wide_char = *wcp++; in smb_wcstombs()
224 len = smb_wctomb(mbstring, wide_char); in smb_wcstombs()
226 if (wide_char == 0) in smb_wcstombs()
[all …]
/titanic_50/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_process.c1914 unsigned short wide_char; in ndr_s_wchar() local
1939 myref.datum = (char *)&wide_char; in ndr_s_wchar()
1950 count = smb_mbtowc((smb_wchar_t *)&wide_char, valp, in ndr_s_wchar()
1963 wide_char = *valp; in ndr_s_wchar()
1972 count = smb_wctomb(valp, wide_char); in ndr_s_wchar()
1981 if (!wide_char) in ndr_s_wchar()
1984 myref.pdu_offset += sizeof (wide_char); in ndr_s_wchar()
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c1077 smb_wchar_t wide_char; in mbc_marshal_put_ascii_string() local
1095 nbytes = smb_mbtowc(&wide_char, mbs, MTS_MB_CHAR_MAX); in mbc_marshal_put_ascii_string()
1099 mbc_marshal_store_byte(mbc, (uint8_t)wide_char); in mbc_marshal_put_ascii_string()
1101 if (wide_char & 0xFF00) in mbc_marshal_put_ascii_string()
1102 mbc_marshal_store_byte(mbc, wide_char >> 8); in mbc_marshal_put_ascii_string()