Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libgen/common/
H A Dmkdirp.c141 size_t mbPathlen; /* length of multi-byte path */ in simplify() local
167 mbPathlen = strlen(mbPath); in simplify()
169 if ((wcPath = calloc(sizeof (wchar_t), mbPathlen+1)) == NULL) { in simplify()
174 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()
204 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()
/titanic_50/usr/src/cmd/mkdir/
H A Dmkdir.c327 size_t mbPathlen; /* length of multi-byte path */ in simplify() local
344 mbPathlen = strlen(mbPath); in simplify()
346 if ((wcPath = calloc(sizeof (wchar_t), mbPathlen+1)) == NULL) { in simplify()
351 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()
407 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()
/titanic_50/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3448 size_t mbPathlen; /* length of multi-byte path */ in resolvePath() local
3482 mbPathlen = strlen(*r_path); in resolvePath()
3485 calloc(1, sizeof (wchar_t)*(mbPathlen+1))) == NULL) { in resolvePath()
3490 if ((wcPathlen = mbstowcs(wcPath, *r_path, mbPathlen)) == -1) { in resolvePath()
3520 if (wcstombs(*r_path, wcPath, mbPathlen) == -1) { in resolvePath()