Home
last modified time | relevance | path

Searched refs:mbPathlen (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libgen/common/
H A Dmkdirp.c139 size_t mbPathlen; /* length of multi-byte path */ in simplify() local
165 mbPathlen = strlen(mbPath); in simplify()
167 if ((wcPath = calloc(sizeof (wchar_t), mbPathlen+1)) == NULL) { in simplify()
172 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()
202 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()
/illumos-gate/usr/src/cmd/mkdir/
H A Dmkdir.c325 size_t mbPathlen; /* length of multi-byte path */ in simplify() local
342 mbPathlen = strlen(mbPath); in simplify()
344 if ((wcPath = calloc(sizeof (wchar_t), mbPathlen+1)) == NULL) { in simplify()
349 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()
405 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3454 size_t mbPathlen; /* length of multi-byte path */ in resolvePath() local
3488 mbPathlen = strlen(*r_path); in resolvePath()
3491 calloc(1, sizeof (wchar_t)*(mbPathlen+1))) == NULL) { in resolvePath()
3496 if ((wcPathlen = mbstowcs(wcPath, *r_path, mbPathlen)) == -1) { in resolvePath()
3526 if (wcstombs(*r_path, wcPath, mbPathlen) == -1) { in resolvePath()