Searched refs:wcsmax (Results 1 – 1 of 1) sorted by relevance
1610 int wcsmax; // byte count in mbc_marshal_get_unicode_string() local1632 wcsmax = MALLOC_QUANTUM; in mbc_marshal_get_unicode_string()1633 wcsbuf = smb_mem_alloc(wcsmax); in mbc_marshal_get_unicode_string()1639 if (((wcslen * 2) + 4) >= wcsmax) { in mbc_marshal_get_unicode_string()1640 wcsmax += MALLOC_QUANTUM; in mbc_marshal_get_unicode_string()1641 wcsbuf = smb_mem_realloc(wcsbuf, wcsmax); in mbc_marshal_get_unicode_string()