Searched refs:oemlen (Results 1 – 3 of 3) sorted by relevance
289 int oemlen; in smb_sbequiv_strlen() local291 oemlen = smb_mbstooem(oembuf, mbsbuf, 8); in smb_sbequiv_strlen()292 if (oemlen < 0) in smb_sbequiv_strlen()294 len += oemlen; in smb_sbequiv_strlen()337 int oemlen; in smb_oemtombs() local349 oemlen = 0; in smb_oemtombs()352 oemlen++; in smb_oemtombs()362 size_t ilen = oemlen; in smb_oemtombs()388 rlen = oemlen; in smb_oemtombs()
383 int oemlen; // len of OEM string, w/o null in msgbuf_get_oem_string() local397 oemlen = 0; in msgbuf_get_oem_string()407 oemlen++; in msgbuf_get_oem_string()420 oembuf[oemlen] = '\0'; in msgbuf_get_oem_string()426 mbsmax = oemlen * 2; in msgbuf_get_oem_string()717 int oemlen; in msgbuf_put_oem_string() local724 if ((oemlen = smb_sbequiv_strlen(mbs)) == -1) in msgbuf_put_oem_string()732 repc = oemlen; in msgbuf_put_oem_string()741 oembuf = smb_msgbuf_malloc(mb, oemlen + 1); in msgbuf_put_oem_string()744 rlen = smb_mbstooem(oembuf, mbs, oemlen); in msgbuf_put_oem_string()[all …]
1098 int oemlen; in mbc_marshal_put_oem_string() local1106 if ((oemlen = smb_sbequiv_strlen(mbs)) == -1) in mbc_marshal_put_oem_string()1114 repc = oemlen + 1; in mbc_marshal_put_oem_string()1120 oembuf = smb_mem_zalloc(oemlen + 1); in mbc_marshal_put_oem_string()1122 rlen = smb_mbstooem(oembuf, mbs, oemlen); in mbc_marshal_put_oem_string()1127 if (rlen > oemlen) in mbc_marshal_put_oem_string()1128 rlen = oemlen; in mbc_marshal_put_oem_string()1537 int oemlen, oemmax; in mbc_marshal_get_oem_string() local1549 oemlen = 0; in mbc_marshal_get_oem_string()1555 if (oemlen >= max_bytes) in mbc_marshal_get_oem_string()[all …]