Searched defs:mbPathlen (Results 1 - 3 of 3) sorted by relevance

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

Completed in 73 milliseconds