Lines Matching refs:pszDst

256  * @param   pszDst              Where to assemble the path.
260 static int supR3HardenedMakePath(SUPINSTDIR enmDir, char *pszDst, size_t cchDst, bool fFatal)
267 rc = supR3HardenedPathExecDir(pszDst, cchDst);
270 rc = supR3HardenedPathSharedLibs(pszDst, cchDst);
273 rc = supR3HardenedPathAppPrivateArch(pszDst, cchDst);
276 rc = supR3HardenedPathAppPrivateArch(pszDst, cchDst);
279 size_t off = suplibHardenedStrLen(pszDst);
281 suplibHardenedMemCopy(&pszDst[off], "/components", sizeof("/components"));
287 rc = supR3HardenedPathAppPrivateNoArch(pszDst, cchDst);
290 rc = supR3HardenedPathExecDir(pszDst, cchDst);
293 size_t off = suplibHardenedStrLen(pszDst);
295 suplibHardenedMemCopy(&pszDst[off], "/testcase", sizeof("/testcase"));
319 * @param pszDst Where to assemble the path.
324 static int supR3HardenedMakeFilePath(PCSUPINSTFILE pFile, char *pszDst, size_t cchDst, bool fWithFilename, bool fFatal)
329 int rc = supR3HardenedMakePath(pFile->enmDir, pszDst, cchDst, fFatal);
333 size_t off = suplibHardenedStrLen(pszDst);
336 pszDst[off++] = '/';
337 suplibHardenedMemCopy(&pszDst[off], pFile->pszFile, cchFile + 1);
1106 char *pszDst = pInfo->szPath;
1117 *pszDst++ = RT_C_TO_UPPER(pszSrc[0]);
1118 *pszDst++ = ':';
1119 *pszDst++ = RTPATH_SLASH;
1126 *pszDst++ = RTPATH_SLASH;
1161 pInfo->aoffComponents[pInfo->cComponents++] = pszDst - &pInfo->szPath[0];
1170 *pszDst++ = RTPATH_SLASH;
1175 *pszDst++ = *pszSrc++;
1176 if ((uintptr_t)(pszDst - &pInfo->szPath[0]) >= SUPR3HARDENED_MAX_PATH)
1183 pszDst[0] = '\0';
1184 pszDst[1] = '\0'; /* for aoffComponents */
1185 pInfo->cch = (uint16_t)(pszDst - &pInfo->szPath[0]);