Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libgen/common/
H A Dmkdirp.c143 char *mbPath; /* The copy fo the path to be returned */ in simplify() local
156 if ((mbPath = strdup(str)) == NULL) { in simplify()
165 mbPathlen = strlen(mbPath); in simplify()
168 free(mbPath); in simplify()
172 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()
173 free(mbPath); in simplify()
202 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()
203 free(mbPath); in simplify()
209 return (mbPath); in simplify()
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3143 char *mbPath; /* copy for the path to be returned */ in testPath() local
3166 mbPath = (char *)calloc(1, vres+2); in testPath()
3167 assert(mbPath != NULL); in testPath()
3172 vres = vsnprintf(mbPath, vres+1, a_format, ap); in testPath()
3177 echoDebug(DBG_TEST_PATH, mbPath, (unsigned long)a_tt); in testPath()
3201 if (lstat(mbPath, &statbuf) != 0) { in testPath()
3202 echoDebug(DBG_CANNOT_LSTAT_PATH, mbPath, in testPath()
3204 free(mbPath); in testPath()
3214 echoDebug(DBG_IS_NOT_A_SYMLINK, mbPath); in testPath()
3215 free(mbPath); in testPath()
[all …]
/illumos-gate/usr/src/cmd/mkdir/
H A Dmkdir.c322 simplify(char *mbPath) in simplify() argument
334 if (!mbPath) in simplify()
335 return (mbPath); in simplify()
342 mbPathlen = strlen(mbPath); 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()
411 return (mbPath); in simplify()