Lines Matching refs:wlen
58 static int process_glob(WCHAR *wstr, int wlen)
73 for (slash = 0, i = 0; i < wlen; i++)
79 for (i = slash; i < wlen; i++)
83 if (i == wlen)
86 saved_char = wstr[wlen];
87 wstr[wlen] = L'\0';
89 wstr[wlen] = saved_char;
145 int wlen, ulen, valid = 1;
162 wlen = wcslen(wcmdline);
163 p = _alloca((wlen + 1) * sizeof(WCHAR));
251 wlen = wend - warg;
253 if (wlen == 0 || !process_glob(warg, wlen)) {
260 if (wlen > 0) {
261 ulen = WideCharToMultiByte(CP_UTF8, 0, warg, wlen,
273 if (wlen > 0)
274 WideCharToMultiByte(CP_UTF8, 0, warg, wlen,