Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libgen/common/
H A Dmkdirp.c145 char *mbPath; /* The copy fo the path to be returned */ in simplify() local
158 if ((mbPath = strdup(str)) == NULL) { in simplify()
167 mbPathlen = strlen(mbPath); in simplify()
170 free(mbPath); in simplify()
174 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()
175 free(mbPath); in simplify()
204 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) { in simplify()
205 free(mbPath); in simplify()
211 return (mbPath); in simplify()
/titanic_50/usr/src/cmd/mkdir/
H A Dmkdir.c324 simplify(char *mbPath) in simplify() argument
336 if (!mbPath) in simplify()
337 return (mbPath); in simplify()
344 mbPathlen = strlen(mbPath); 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()
413 return (mbPath); in simplify()
/titanic_50/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3138 char *mbPath; /* copy for the path to be returned */ in testPath() local
3161 mbPath = (char *)calloc(1, vres+2); in testPath()
3162 assert(mbPath != NULL); in testPath()
3167 vres = vsnprintf(mbPath, vres+1, a_format, ap); in testPath()
3172 echoDebug(DBG_TEST_PATH, mbPath, (unsigned long)a_tt); in testPath()
3196 if (lstat(mbPath, &statbuf) != 0) { in testPath()
3197 echoDebug(DBG_CANNOT_LSTAT_PATH, mbPath, in testPath()
3199 free(mbPath); in testPath()
3209 echoDebug(DBG_IS_NOT_A_SYMLINK, mbPath); in testPath()
3210 free(mbPath); in testPath()
[all …]