Home
last modified time | relevance | path

Searched refs:MTS_MB_CHAR_MAX (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/common/smbsrv/
H A Dsmb_utf8.c84 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 Dsmb_match.c161 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 Dsmb_string.c201 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 Dsmb_oem.c201 if (oemchar & 0xff00 && nbytes >= MTS_MB_CHAR_MAX) { in ucstooem()
H A Dsmb_msgbuf.c581 MTS_MB_CHAR_MAX); in buf_encode()
/titanic_44/usr/src/uts/common/smbsrv/
H A Dsmb_share.h104 #define SMB_SHARE_CMNT_MAX (64 * MTS_MB_CHAR_MAX)
H A Dstring.h88 #define MTS_MB_CHAR_MAX MTS_MB_CUR_MAX macro
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c1052 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 Dsmb_vops.c1524 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 Dndr_process.c1291 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()