Lines Matching refs:cchDir
986 * @param cchDir The length of pszDir in pszDir.
989 static RTEXITCODE processDirSub(char *pszDir, size_t cchDir, PRTDIRENTRYEX pDirEntry, int iLogDepth)
991 Assert(cchDir > 0); Assert(pszDir[cchDir] == '\0');
994 if (cchDir + 3 >= RTPATH_MAX)
1004 if (!RTPATH_IS_SEP(pszDir[cchDir - 1]))
1006 pszDir[cchDir++] = RTPATH_SLASH;
1007 pszDir[cchDir] = '\0';
1028 if (pDirEntry->cbName + cchDir + 3 >= RTPATH_MAX)
1030 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Path too long: '%s' in '%.*s'\n", pDirEntry->szName, cchDir, pszDir);
1041 memcpy(&pszDir[cchDir], pDirEntry->szName, pDirEntry->cbName + 1);
1060 memcpy(&pszDir[cchDir], pDirEntry->szName, pDirEntry->cbName + 1);
1063 RTEXITCODE rcExit2 = processDirSub(pszDir, cchDir + pDirEntry->cbName, pDirEntry, iLogDepth - 1);
1070 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "RTDirReadEx failed: %Rrc\npszDir=%.*s", rc, cchDir, pszDir);
1074 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "RTDirClose failed: %Rrc\npszDir=%.*s", rc, cchDir, pszDir);