Searched refs:wcPath (Results 1 – 1 of 1) sorted by relevance
133 wchar_t *wcPath; /* wide-character version of the path */ in simplify() local160 if ((wcPath = calloc(mbPathlen+1, sizeof (wchar_t))) == NULL) { in simplify()165 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()167 free(wcPath); in simplify()175 for (wptr = wcPath, i = 0; i < wcPathlen; i++) { in simplify()176 *wptr++ = wcPath[i]; in simplify()178 if (wcPath[i] == '/') { in simplify()181 while (wcPath[i] == '/') { in simplify()195 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()197 free(wcPath); in simplify()[all …]