Searched refs:wide_char (Results 1 – 3 of 3) sorted by relevance
122 smb_wchar_t wide_char; in smb_mbtowc() local141 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() local223 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 …]
1914 unsigned short wide_char; in ndr_s_wchar() local1939 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()
1077 smb_wchar_t wide_char; in mbc_marshal_put_ascii_string() local1095 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()