Lines Matching defs:pszAbsPath
147 RTDECL(int) RTPathAbs(const char *pszPath, char *pszAbsPath, size_t cchAbsPath)
154 AssertPtr(pszAbsPath);
165 LogFlow(("RTPathAbs(%p:{%s}, %p, %d): returns %Rrc\n", pszPath, pszPath, pszAbsPath, cchAbsPath, VERR_FILENAME_TOO_LONG));
181 rc = RTPathGetCurrent(pszAbsPath, cchAbsPath);
184 size_t cch = fsCleanPath(pszAbsPath);
185 char *pszTop = rtPathSkipRootSpec(pszAbsPath);
187 if ((uintptr_t)&pszAbsPath[cch] > (uintptr_t)pszTop && pszAbsPath[cch - 1] == RTPATH_SLASH)
188 pszAbsPath[cch - 1] = '\0';
191 && (uintptr_t)&pszAbsPath[cch - 1] > (uintptr_t)pszTop && pszAbsPath[cch - 1] != RTPATH_SLASH)
195 pszAbsPath[cch++] = RTPATH_SLASH;
196 pszAbsPath[cch] = '\0';
276 LogFlow(("RTPathAbs(%p:{%s}, %p, %d): returns %Rrc\n", pszPath, pszPath, pszAbsPath, cchAbsPath, rc));
348 memcpy(pszAbsPath, szTmpPath, cchTmpPath + 1);
354 LogFlow(("RTPathAbs(%p:{%s}, %p:{%s}, %d): returns %Rrc\n", pszPath, pszPath, pszAbsPath,
355 RT_SUCCESS(rc) ? pszAbsPath : "<failed>", cchAbsPath, rc));