Searched refs:wcPath (Results 1 – 1 of 1) sorted by relevance
142 wchar_t *wcPath; /* wide-character version of the path */ in simplify() local169 if ((wcPath = calloc(mbPathlen+1, sizeof (wchar_t))) == NULL) { in simplify()174 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()176 free(wcPath); in simplify()184 for (wptr = wcPath, i = 0; i < wcPathlen; i++) { in simplify()185 *wptr++ = wcPath[i]; in simplify()187 if (wcPath[i] == '/') { in simplify()190 while (wcPath[i] == '/') { in simplify()204 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()206 free(wcPath); in simplify()[all …]