Searched refs:MTS_MB_CHAR_MAX (Results 1 – 10 of 10) sorted by relevance
/titanic_44/usr/src/common/smbsrv/ |
H A D | smb_utf8.c | 84 len = smb_mbtowc(wcstring, mbstring, MTS_MB_CHAR_MAX); in smb_mbstowcs() 222 while (nbytes > MTS_MB_CHAR_MAX) { in smb_wcstombs() 264 bytes = smb_mbtowc(&wide_char, mbs, MTS_MB_CHAR_MAX); in smb_wcequiv_strlen() 289 nbytes = smb_mbtowc(&wide_char, mbs, MTS_MB_CHAR_MAX); in smb_sbequiv_strlen() 383 if ((len = smb_mbtowc(&wc, mbstring, MTS_MB_CHAR_MAX)) < 0) { in smb_mbstos()
|
H A D | smb_match.c | 161 if ((nbstr = smb_mbtowc(NULL, str, MTS_MB_CHAR_MAX)) < 1) \ in smb_match_private() 242 nbpat = smb_mbtowc(&wcpat, pat, MTS_MB_CHAR_MAX); in smb_match_private() 243 nbstr = smb_mbtowc(&wcstr, str, MTS_MB_CHAR_MAX); in smb_match_private()
|
H A D | smb_string.c | 201 if (smb_mbtowc(&c, p, MTS_MB_CHAR_MAX) < 0) in smb_strupr() 232 if (smb_mbtowc(&c, p, MTS_MB_CHAR_MAX) < 0) in smb_strlwr() 261 if ((n = smb_mbtowc(&c, p, MTS_MB_CHAR_MAX)) < 0) in smb_isstrlwr() 292 if ((n = smb_mbtowc(&c, p, MTS_MB_CHAR_MAX)) < 0) in smb_isstrupr()
|
H A D | smb_oem.c | 201 if (oemchar & 0xff00 && nbytes >= MTS_MB_CHAR_MAX) { in ucstooem()
|
H A D | smb_msgbuf.c | 581 MTS_MB_CHAR_MAX); in buf_encode()
|
/titanic_44/usr/src/uts/common/smbsrv/ |
H A D | smb_share.h | 104 #define SMB_SHARE_CMNT_MAX (64 * MTS_MB_CHAR_MAX)
|
H A D | string.h | 88 #define MTS_MB_CHAR_MAX MTS_MB_CUR_MAX macro
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 1052 nbytes = smb_mbtowc(&wide_char, mbs, MTS_MB_CHAR_MAX); in mbc_marshal_put_ascii_string() 1086 consumed = smb_mbtowc(&wchar, ascii, MTS_MB_CHAR_MAX); in mbc_marshal_put_unicode_string() 1381 *ascii = smb_srm_zalloc(sr, length * MTS_MB_CHAR_MAX); in mbc_marshal_get_ascii_string() 1383 (size_t)length * MTS_MB_CHAR_MAX, rcvbuf, (size_t)length)); in mbc_marshal_get_ascii_string() 1404 while ((length + MTS_MB_CHAR_MAX) < max) { in mbc_marshal_get_unicode_string()
|
H A D | smb_vops.c | 1524 char mbstring[MTS_MB_CHAR_MAX]; in smb_vop_catia_v5tov4() 1536 if ((numbytes = smb_mbtowc(&wc, src, MTS_MB_CHAR_MAX)) < 0) in smb_vop_catia_v5tov4() 1581 char mbstring[MTS_MB_CHAR_MAX]; in smb_vop_catia_v4tov5() 1602 MTS_MB_CHAR_MAX)) < 0) in smb_vop_catia_v4tov5()
|
/titanic_44/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_process.c | 1291 n_alloc = (size_is + 1) * MTS_MB_CHAR_MAX; in ndr_outer_string() 1951 MTS_MB_CHAR_MAX); in ndr_s_wchar() 2008 nbytes = ndr_mbtowc(nds, wcs, mbs, MTS_MB_CHAR_MAX); in ndr_mbstowcs()
|