WIN_CHARS
i = (cnt - 1) * WIN_CHARS;
if (len > i + WIN_CHARS)
u_int16_t buf[WIN_CHARS];
i = ((wep->weCnt & WIN_CNT) - 1) * WIN_CHARS;
if ((wep->weCnt & WIN_LAST) && (len - i > WIN_CHARS))
if (! (utf8 ? ucs2match(&wn[i], buf, WIN_CHARS) : char8match(&wn[i], buf, WIN_CHARS)))
u_int16_t wn[WIN_CHARS], *p;
u_int8_t buf[WIN_CHARS*3];
if ((wep->weCnt & WIN_CNT) > howmany(WIN_MAXLEN, WIN_CHARS)
if (invalidname(wn, WIN_CHARS))
len = utf8 ? ucs2utf8str(wn, WIN_CHARS, buf, sizeof(buf))
: ucs2char8str(wn, WIN_CHARS, buf, sizeof(buf));
return howmany(len, WIN_CHARS);