Searched refs:wcPath (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libgen/common/
H A Dmkdirp.c144 wchar_t *wcPath; /* wide-character version of the path */ local
169 if ((wcPath = calloc(sizeof (wchar_t), mbPathlen+1)) == NULL) {
174 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) {
176 free(wcPath);
184 for (wptr = wcPath, i = 0; i < wcPathlen; i++) {
185 *wptr++ = wcPath[i];
187 if (wcPath[i] == '/') {
190 while (wcPath[i] == '/') {
204 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) {
206 free(wcPath);
[all...]
/illumos-gate/usr/src/cmd/mkdir/
H A Dmkdir.c330 wchar_t *wcPath; /* wide-character version of the path */ local
346 if ((wcPath = calloc(sizeof (wchar_t), mbPathlen+1)) == NULL) {
351 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) {
352 free(wcPath);
360 for (wptr = wcPath, i = 0; i < wcPathlen; i++) {
361 *wptr++ = wcPath[i];
363 if (wcPath[i] == '/') {
366 while (wcPath[i] == '/') {
380 for (wcPathlen = wcslen(wcPath), wptr = wcPath,
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3450 wchar_t *wcPath; /* wide-character version of the path */ local
3484 if ((wcPath = (wchar_t *)
3490 if ((wcPathlen = mbstowcs(wcPath, *r_path, mbPathlen)) == -1) {
3491 free(wcPath);
3499 for (wptr = wcPath, i = 0; i < wcPathlen; i++) {
3500 *wptr++ = wcPath[i];
3502 if (wcPath[i] == '/') {
3505 while (wcPath[i] == '/') {
3520 if (wcstombs(*r_path, wcPath, mbPathlen) == -1) {
3521 free(wcPath);
[all...]

Completed in 649 milliseconds